fcntl 58 gnulib-tests/test-dup2.c return 0 <= fcntl (fd, F_GETFL); fcntl 80 gnulib-tests/test-dup2.c int i = fcntl (fd, F_GETFD); fcntl 62 gnulib-tests/test-fcntl.c return 0 <= fcntl (fd, F_GETFL); fcntl 83 gnulib-tests/test-fcntl.c int i = fcntl (fd, F_GETFD); fcntl 234 gnulib-tests/test-fcntl.c ASSERT (fcntl (-1, F_DUPFD, 0) == -1); fcntl 237 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd + 1, F_DUPFD, 0) == -1); fcntl 240 gnulib-tests/test-fcntl.c ASSERT (fcntl (10000000, F_DUPFD, 0) == -1); fcntl 243 gnulib-tests/test-fcntl.c ASSERT (fcntl (-1, F_DUPFD_CLOEXEC, 0) == -1); fcntl 246 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd + 1, F_DUPFD_CLOEXEC, 0) == -1); fcntl 249 gnulib-tests/test-fcntl.c ASSERT (fcntl (10000000, F_DUPFD_CLOEXEC, 0) == -1); fcntl 255 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd, F_DUPFD, -1) == -1); fcntl 258 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd, F_DUPFD, 10000000) == -1); fcntl 262 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, -1) == -1); fcntl 265 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, 10000000) == -1); fcntl 277 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd, F_DUPFD, fd) == fd + 1); fcntl 286 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd, F_DUPFD_CLOEXEC, fd + 2) == fd + 2); fcntl 297 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd + 2, F_DUPFD, fd + 1) == fd + 1); fcntl 307 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd + 2, F_DUPFD_CLOEXEC, 0) == fd); fcntl 319 gnulib-tests/test-fcntl.c ASSERT (fcntl (-1, F_GETFD) == -1); fcntl 322 gnulib-tests/test-fcntl.c ASSERT (fcntl (fd + 1, F_GETFD) == -1); fcntl 325 gnulib-tests/test-fcntl.c ASSERT (fcntl (10000000, F_GETFD) == -1); fcntl 328 gnulib-tests/test-fcntl.c int result = fcntl (fd, F_GETFD); fcntl 332 gnulib-tests/test-fcntl.c result = fcntl (fd + 1, F_GETFD); fcntl 65 lib/dup2.c return fcntl (fd, F_GETFL) == -1 ? -1 : fd; fcntl 115 lib/dup2.c int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; fcntl 120 lib/dup2.c result = fcntl (fd, F_DUPFD, desired_fd); fcntl 134 lib/error.c return 0 <= fcntl (fd, F_GETFL); fcntl 31 lib/fcntl.c # define rpl_fcntl fcntl fcntl 191 lib/fcntl.c int flags = fcntl (fd, F_GETFD); fcntl 197 lib/fcntl.c result = fcntl (fd, action, target); fcntl 198 lib/fcntl.c if (0 <= result && fcntl (fd, F_SETFD, flags) == -1) fcntl 232 lib/fcntl.c result = fcntl (fd, action, target); fcntl 253 lib/fcntl.c int flags = fcntl (result, F_GETFD); fcntl 254 lib/fcntl.c if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) fcntl 299 lib/fcntl.c result = fcntl (fd, action, p);