2 ms·
People know they need to find out whether and when they can or must free a pointer. If it looks enough like a file descriptor, they know they might need to call
by ncmncm 5y ago
People know they need to find out whether and when they can or must free a pointer. If it looks enough like a file descriptor, they know they might need to call close() on it. For other types, there are no standard conventions.