Searched refs:F_GETFD (Results 1 – 6 of 6) sorted by relevance
37 if (fcntl(old_fd, F_GETFD) == -1) { in dup2()
84 #define F_GETFD 1 macro
36 MACRO(F_GETFD); in fcntl_h()
38 int flags = fcntl(fd, F_GETFD); in TEST()45 flags = fcntl(fd, F_GETFD); in TEST()
179 int flags = fcntl(fd, F_GETFD); in AssertCloseOnExec()
297 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()