HomeSort by: relevance | last modified time | path
    Searched defs:FD_CLOFORK (Results 1 - 3 of 3) sorted by relevancy

  /src/tests/lib/libc/sys/
t_pipe2.c 48 #ifndef FD_CLOFORK
49 #define FD_CLOFORK 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);
t_socketpair.c 52 #ifndef FD_CLOFORK
53 #define FD_CLOFORK 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);
  /src/sys/sys/
fcntl.h 221 #define FD_CLOFORK 2 /* close-on-fork flag */

Completed in 35 milliseconds