OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:F_GETFD
(Results
1 - 17
of
17
) sorted by relevancy
/src/tests/lib/libc/sys/
t_socketpair.c
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);
t_pipe2.c
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);
t_eventfd.c
795
ATF_REQUIRE((fcntl(efd,
F_GETFD
) & FD_CLOEXEC) == 0);
808
ATF_REQUIRE((fcntl(efd,
F_GETFD
) & FD_CLOEXEC) != 0);
810
ATF_REQUIRE((fcntl(efd,
F_GETFD
) & FD_CLOEXEC) == 0);
812
ATF_REQUIRE((fcntl(efd,
F_GETFD
) & FD_CLOEXEC) != 0);
t_timerfd.c
775
ATF_REQUIRE((fcntl(tfd,
F_GETFD
) & FD_CLOEXEC) == 0);
788
ATF_REQUIRE((fcntl(tfd,
F_GETFD
) & FD_CLOEXEC) != 0);
790
ATF_REQUIRE((fcntl(tfd,
F_GETFD
) & FD_CLOEXEC) == 0);
792
ATF_REQUIRE((fcntl(tfd,
F_GETFD
) & FD_CLOEXEC) != 0);
/src/tests/kernel/
t_epoll.c
76
ATF_REQUIRE_MSG((fcntl(fd,
F_GETFD
) & FD_CLOEXEC) == 0,
80
ATF_REQUIRE_MSG((fcntl(fd,
F_GETFD
) & FD_CLOEXEC) != 0,
/src/tests/lib/libc/ttyio/
t_ptm.c
188
ATF_CHECK_EQ(FD_CLOEXEC|FD_CLOFORK, fcntl(fdm,
F_GETFD
));
/src/games/atc/
log.c
137
flags = fcntl(score_fd,
F_GETFD
);
139
err(1, "fcntl
F_GETFD
");
/src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/
randombytes_sysrandom.c
191
(void) fcntl(fd, F_SETFD, fcntl(fd,
F_GETFD
) | FD_CLOEXEC);
/src/bin/sh/
redir.c
88
(fcntl_int)(fcntl((fd),
F_GETFD
) | FD_CLOEXEC)))
314
cloexec = fcntl(fd,
F_GETFD
);
648
(fcntl_int)(fcntl(newfd,
F_GETFD
) | FD_CLOEXEC));
990
if ((c = fcntl(fd,
F_GETFD
)) == -1) {
/src/sys/sys/
fcntl.h
185
#define
F_GETFD
1 /* get file descriptor flags */
219
/* file descriptor flags (
F_GETFD
, F_SETFD) */
/src/libexec/atrun/
atrun.c
236
if ((fflags = fcntl(fd_in,
F_GETFD
)) < 0)
/src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/
randombytes_salsa20_random.c
232
(void) fcntl(fd, F_SETFD, fcntl(fd,
F_GETFD
) | FD_CLOEXEC);
/src/games/cribbage/
crib.c
92
flags = fcntl(fd,
F_GETFD
);
94
err(1, "fcntl
F_GETFD
");
/src/sys/kern/
sys_descrip.c
410
case
F_GETFD
:
/src/usr.bin/make/
main.c
389
if (fcntl(tokenPoolReader,
F_GETFD
, 0) < 0 ||
390
fcntl(tokenPoolWriter,
F_GETFD
, 0) < 0) {
/src/sys/compat/linux/common/
linux_file.c
316
cmd =
F_GETFD
;
/src/usr.bin/kdump/
kdump.c
562
CASERETURN(
F_GETFD
);
Completed in 106 milliseconds
Indexes created Wed Oct 22 13:09:56 GMT 2025