HomeSort by: relevance | last modified time | path
    Searched refs:fcntl (Results 1 - 25 of 3186) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/gpl3/gdb/dist/gnulib/import/
dup-safer.c 24 #include <fcntl.h>
33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
dup-safer-flag.c 26 #include <fcntl.h>
31 fcntl(F_DUPFD_CLOEXEC) rather than fcntl(F_DUPFD). */
36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD,
cloexec.c 25 #include <fcntl.h>
43 int flags = fcntl (desc, F_GETFD, 0);
50 || fcntl (desc, F_SETFD, newflags) != -1)
82 return fcntl (fd, F_DUPFD_CLOEXEC, 0);
  /src/external/gpl3/gdb.old/dist/gnulib/import/
dup-safer.c 24 #include <fcntl.h>
33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
dup-safer-flag.c 26 #include <fcntl.h>
31 fcntl(F_DUPFD_CLOEXEC) rather than fcntl(F_DUPFD). */
36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD,
cloexec.c 25 #include <fcntl.h>
43 int flags = fcntl (desc, F_GETFD, 0);
50 || fcntl (desc, F_SETFD, newflags) != -1)
82 return fcntl (fd, F_DUPFD_CLOEXEC, 0);
  /src/external/bsd/mdocml/dist/
test-O_DIRECTORY.c 1 #include <fcntl.h>
  /src/lib/libc/gen/
closefrom.c 37 #include <fcntl.h>
44 return (fcntl(fd, F_CLOSEM));
  /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/
fcntl1.c 1 /* Check that we get the expected message for unsupported fcntl calls.
4 #output: Unimplemented fcntl*
7 #include <fcntl.h>
14 int err = fcntl (1, 42);
  /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/
fcntl1.c 1 /* Check that we get the expected message for unsupported fcntl calls.
4 #output: Unimplemented fcntl*
7 #include <fcntl.h>
14 int err = fcntl (1, 42);
  /src/sys/external/bsd/libnv/dist/
common_impl.h 39 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
  /src/external/ibm-public/postfix/dist/src/util/
close_on_exec.c 37 #include <fcntl.h>
55 if ((flags = fcntl(fd, F_GETFD, 0)) < 0)
56 msg_fatal("fcntl: get flags: %m");
57 if (fcntl(fd, F_SETFD, on ? flags | PATTERN : flags & ~PATTERN) < 0)
58 msg_fatal("fcntl: set close-on-exec flag %s: %m", on ? "on" : "off");
non_blocking.c 41 #include <fcntl.h>
61 if ((flags = fcntl(fd, F_GETFL, 0)) < 0)
62 msg_fatal("fcntl: get flags: %m");
63 if (fcntl(fd, F_SETFL, on ? flags | PATTERN : flags & ~PATTERN) < 0)
64 msg_fatal("fcntl: set non-blocking flag %s: %m", on ? "on" : "off");
dup2_pass_on_exec.c 14 /* as: close(n); n = fcntl(o, F_DUPFD, n); as long as o is a valid
17 /* successful fcntl(o, F_DUPFD, n) is cleared.
34 #include <fcntl.h>
45 DO(fcntl(0, F_SETFD, 1));
51 DO((res = fcntl(3, F_GETFD, 0)));
open_lock.h 19 #include <fcntl.h>
  /src/tests/compat/linux/
h_inotify_init.c 48 REQUIRE(fcntl(fd, LINUX_F_GETFD) == 0);
49 REQUIRE((fcntl(fd, LINUX_F_GETFL) & LINUX_O_NONBLOCK) == 0);
54 REQUIRE(fcntl(fd, LINUX_F_GETFD) == 0);
55 REQUIRE((fcntl(fd, LINUX_F_GETFL) & LINUX_O_NONBLOCK) != 0);
60 REQUIRE(fcntl(fd, LINUX_F_GETFD) != 0);
61 REQUIRE((fcntl(fd, LINUX_F_GETFL) & LINUX_O_NONBLOCK) == 0);
  /src/lib/libc/stdlib/
posix_openpt.c 38 #include <fcntl.h>
  /src/tools/compat/
fpurge.c 43 #include <fcntl.h>
  /src/external/cddl/osnet/include/
fcntl.h 1 /* $NetBSD: fcntl.h,v 1.4 2018/05/28 21:05:08 chs Exp $ */
28 * $FreeBSD: head/cddl/compat/opensolaris/include/fcntl.h 219089 2011-02-27 19:41:40Z pjd $
35 #include_next <fcntl.h>
libproc.h 35 #include <fcntl.h>
solaris.h 39 #include <fcntl.h>
  /src/tests/kernel/
h_cloexec.c 33 #include <fcntl.h>
43 if (fcntl(fd, F_GETFL, &flags) == 0)
  /src/external/gpl2/xcvs/dist/lib/
dup-safer.c 29 #include <fcntl.h>
43 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
  /src/external/gpl3/binutils/dist/libiberty/
filedescriptor.c 27 #include <fcntl.h>
43 return fcntl (fd, F_GETFD) >= 0;
  /src/external/gpl3/binutils.old/dist/libiberty/
filedescriptor.c 27 #include <fcntl.h>
43 return fcntl (fd, F_GETFD) >= 0;

Completed in 36 milliseconds

1 2 3 4 5 6 7 8 91011>>