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

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libc/gen/
closefrom.c 37 #include <fcntl.h>
44 return (fcntl(fd, F_CLOSEM));
lockf.c 39 #include <fcntl.h>
72 if (fcntl(filedes, F_GETLK, &fl) == -1)
85 return (fcntl(filedes, cmd, &fl));
  /src/sys/external/bsd/libnv/dist/
common_impl.h 39 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
  /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>
flock.c 33 * Emulate flock() with fcntl(), where available.
41 #include <fcntl.h>
68 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl);
  /src/tests/kernel/
h_cloexec.c 33 #include <fcntl.h>
43 if (fcntl(fd, F_GETFL, &flags) == 0)
h_fexecve.c 35 #include <fcntl.h>
46 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
47 err(EXIT_FAILURE, "fcntl");
  /src/tests/lib/libc/sys/
t_socketpair.c 42 #include <fcntl.h>
84 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
85 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
87 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
88 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
92 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) != 0);
93 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) != 0);
95 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) == 0);
96 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) == 0);
100 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0)
    [all...]
t_pipe2.c 42 #include <fcntl.h>
72 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
73 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
75 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
76 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
80 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) != 0);
81 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) != 0);
83 ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) == 0);
84 ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) == 0);
88 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0)
    [all...]
  /src/usr.sbin/sysinst/arch/amiga/
md.h 41 #include <fcntl.h>
  /src/usr.sbin/sysinst/arch/hpcmips/
md.h 41 #include <fcntl.h>
  /src/usr.sbin/sysinst/arch/hpcsh/
md.h 41 #include <fcntl.h>
  /src/lib/libc/compat/sys/
compat_dup3.c 38 #include <fcntl.h>
53 int e = fcntl(newfd, F_GETFL, 0);
57 e = fcntl(newfd, F_SETFL, e);
75 return fcntl(newfd, F_SETFD, fdflags);
  /src/bin/dd/
dd_hostops.c 37 #include <fcntl.h>
45 .op_fcntl = fcntl,
  /src/usr.sbin/powerd/
powerd_hostops.c 38 #include <fcntl.h>
47 .op_fcntl = fcntl,
  /src/lib/libc/compat-43/
creat.c 43 #include <fcntl.h>
  /src/lib/libc/sys/
posix_fadvise.c 32 #include <sys/fcntl.h>
posix_fallocate.c 41 #include <fcntl.h>
  /src/sbin/cgdconfig/
cgdconfig_hostops.c 37 #include <fcntl.h>
  /src/sbin/fsck_lfs/
kernelops.h 7 #include <fcntl.h>
  /src/sbin/raidctl/
raidctl_hostops.c 38 #include <fcntl.h>
  /src/sys/sys/
eventfd.h 35 #include <sys/fcntl.h>
  /src/usr.sbin/envstat/
envstat_hostops.c 37 #include <fcntl.h>

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 91011>>