Home | History | Annotate | Download | only in lib

Lines Matching defs:fcntl

23 #include <fcntl.h>
31 # define rpl_fcntl fcntl
33 #undef fcntl
152 native fcntl. An unrecognized ACTION returns -1 with errno set to
194 int flags = fcntl (fd, F_GETFD);
200 result = fcntl (fd, action, target);
201 if (0 <= result && fcntl (fd, F_SETFD, flags) == -1)
235 result = fcntl (fd, action, target);
256 int flags = fcntl (result, F_GETFD);
257 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1)
302 result = fcntl (fd, action, p);