| cvs.gedasymbols.org/djgpp/doc/libc/libc_377.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#include <libc/fd_props.h> unsigned long __get_fd_flags(int fd);  | 
This internal functions gets the flags associated with file descriptor fd, if any. The flags are some properties that may be associated with a file descriptor (see section __set_fd_properties).
This function will return zero, if no flags are associated
with fd.  The caller should first check that there are flags
associated with fd using __has_fd_properties
(see section __has_fd_properties), before calling __get_fd_flags.
This will allow the cases of no flags and the flags being zero
to be distinguished.
The flags, if any; otherwise zero.
| ANSI/ISO C | No | 
| POSIX | No | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |