OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FD_CLOFORK
(Results
1 - 8
of
8
) sorted by relevancy
/src/tests/lib/libc/sys/
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);
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);
/src/lib/libc/compat/sys/
compat_dup3.c
64
fdflags = FD_CLOEXEC|
FD_CLOFORK
;
70
fdflags =
FD_CLOFORK
;
/src/tests/lib/libc/ttyio/
t_ptm.c
188
ATF_CHECK_EQ(FD_CLOEXEC|
FD_CLOFORK
, fcntl(fdm, F_GETFD));
/src/tests/kernel/
t_clofork.c
152
RL(fcntl(fd, F_SETFD,
FD_CLOFORK
));
/src/sys/sys/
fcntl.h
221
#define
FD_CLOFORK
2 /* close-on-fork flag */
/src/sys/kern/
sys_descrip.c
413
(dt->dt_ff[fd]->ff_foclose ?
FD_CLOFORK
: 0);
419
fd_set_foclose(l, fd, (tmp &
FD_CLOFORK
) != 0);
kern_descrip.c
1830
*
FD_CLOFORK
should not be preserved across exec
2451
(ff->ff_foclose ?
FD_CLOFORK
: 0);
Completed in 17 milliseconds
Indexes created Sat Oct 25 10:09:55 GMT 2025