Go to the first, previous, next, last section, table of contents.
#include <libc/fd_props.h> int __clear_fd_properties(int fd);
This internal function is called when the file descriptor fd is
no longer valid. The usage count of the associated fd_properties
struct
is decremented. And if it becomes zero, this function performs cleanup
and releases the memory used by the fd_properties
struct.
For more information, see section __set_fd_properties and section __dup_fd_properties.
Always returns 0 for success.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.