OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:O_NONBLOCK
(Results
1 - 25
of
148
) sorted by relevancy
1
2
3
4
5
6
/src/sys/sys/
eventfd.h
46
#define EFD_NONBLOCK
O_NONBLOCK
timerfd.h
47
#define TFD_NONBLOCK
O_NONBLOCK
fcntl.h
81
#define
O_NONBLOCK
0x00000004 /* no delay */
137
#define O_MASK (O_ACCMODE|
O_NONBLOCK
|O_APPEND|O_SHLOCK|O_EXLOCK|\
166
#define FNDELAY
O_NONBLOCK
/* compat */
167
#define O_NDELAY
O_NONBLOCK
/* compat */
171
#define FNONBLOCK
O_NONBLOCK
/* kernel */
/src/lib/libc/compat/sys/
compat_dup3.c
52
if (flags & (
O_NONBLOCK
|O_NOSIGPIPE)) {
56
e |= flags & (
O_NONBLOCK
|O_NOSIGPIPE);
/src/tests/lib/libc/sys/
t_pipe2.c
87
if (flags &
O_NONBLOCK
) {
88
ATF_REQUIRE((fcntl(fd[0], F_GETFL) &
O_NONBLOCK
) != 0);
89
ATF_REQUIRE((fcntl(fd[1], F_GETFL) &
O_NONBLOCK
) != 0);
91
ATF_REQUIRE((fcntl(fd[0], F_GETFL) &
O_NONBLOCK
) == 0);
92
ATF_REQUIRE((fcntl(fd[1], F_GETFL) &
O_NONBLOCK
) == 0);
160
run(
O_NONBLOCK
);
t_socketpair.c
100
ATF_REQUIRE((fcntl(fd[0], F_GETFL) &
O_NONBLOCK
) != 0);
101
ATF_REQUIRE((fcntl(fd[1], F_GETFL) &
O_NONBLOCK
) != 0);
103
ATF_REQUIRE((fcntl(fd[0], F_GETFL) &
O_NONBLOCK
) == 0);
104
ATF_REQUIRE((fcntl(fd[1], F_GETFL) &
O_NONBLOCK
) == 0);
t_mkfifo.c
156
atf_tc_set_md_var(tc, "descr", "Test
O_NONBLOCK
with FIFOs");
175
* If we open the FIFO as
O_NONBLOCK
, the O_RDONLY
179
fd = open(path, O_RDONLY |
O_NONBLOCK
);
190
ATF_REQUIRE_ERRNO(ENXIO, open(path, O_WRONLY |
O_NONBLOCK
) == -1);
196
atf_tc_fail("FIFO blocked for
O_NONBLOCK
open(2)");
/src/tests/kernel/kqueue/read/
t_fifo.c
84
ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY |
O_NONBLOCK
)) >= 0);
85
ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY |
O_NONBLOCK
)) >= 0);
127
ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY |
O_NONBLOCK
)) >= 0);
/src/usr.bin/tip/
hunt.c
75
FD = open(cp, (O_RDWR | (DC ?
O_NONBLOCK
: 0)));
/src/sys/compat/linux/common/
linux_mqueue.c
56
O_NONBLOCK
);
66
lmp->mq_flags = cvtto_linux_mask(bmp->mq_flags,
O_NONBLOCK
,
275
nonblock = (attr.mq_flags &
O_NONBLOCK
);
287
/* Ignore everything, except
O_NONBLOCK
*/
289
mq->mq_attrib.mq_flags |=
O_NONBLOCK
;
291
mq->mq_attrib.mq_flags &= ~
O_NONBLOCK
;
linux_pipe.c
91
if ((flags & ~(O_CLOEXEC|
O_NONBLOCK
)) != 0)
/src/lib/libutil/
pidfile.c
150
if ((fd = open(path, O_RDONLY | O_CLOEXEC |
O_NONBLOCK
)) == -1)
200
O_WRONLY | O_CREAT | O_CLOEXEC |
O_NONBLOCK
| O_EXLOCK,
/src/tests/kernel/kqueue/write/
t_fifo.c
84
ATF_REQUIRE((rfd = open(fifo_path, O_RDONLY |
O_NONBLOCK
)) >= 0);
85
ATF_REQUIRE((wfd = open(fifo_path, O_WRONLY |
O_NONBLOCK
)) >= 0);
/src/distrib/utils/libhack/
opendir.c
64
if ((fd = open(name, O_RDONLY |
O_NONBLOCK
)) == -1)
/src/sys/arch/atari/stand/msconfig/
msconfig.c
70
if ((fd = open(mousedev,O_RDONLY |
O_NONBLOCK
)) < 0) {
/src/sys/compat/linux/arch/alpha/
linux_pipe.c
86
if ((flags & ~(O_CLOEXEC|
O_NONBLOCK
)) != 0)
/src/lib/libc/db/db/
db.c
65
(O_CREAT | O_EXCL | O_EXLOCK |
O_NONBLOCK
| O_RDONLY | \
/src/tests/net/net/
t_tcp.c
194
ok = fcntl(srvr, F_SETFL, fl & ~
O_NONBLOCK
);
232
if (fl != (O_RDWR|
O_NONBLOCK
))
233
FAIL("fl 0x%x != 0x%x\n", fl, O_RDWR|
O_NONBLOCK
);
234
ok = fcntl(acpt, F_SETFL, fl & ~
O_NONBLOCK
);
239
if (fl &
O_NONBLOCK
)
/src/tests/lib/libc/ttyio/
t_ptm.c
173
"applies
O_NONBLOCK
, O_CLOEXEC, and O_CLOFORK");
180
if ((fdm = posix_openpt(O_RDWR|
O_NONBLOCK
|O_CLOEXEC|O_CLOFORK)) == -1) {
187
ATF_CHECK_EQ(O_RDWR|
O_NONBLOCK
, fcntl(fdm, F_GETFL));
/src/sys/compat/netbsd32/
netbsd32_mqueue.c
142
nonblock = (attr.mq_flags &
O_NONBLOCK
);
152
/* Ignore everything, except
O_NONBLOCK
*/
154
mq->mq_attrib.mq_flags |=
O_NONBLOCK
;
156
mq->mq_attrib.mq_flags &= ~
O_NONBLOCK
;
/src/bin/stty/
stty.c
86
if ((i.fd = open(optarg, O_RDONLY |
O_NONBLOCK
)) < 0)
/src/lib/libc/gen/
opendir.c
81
if ((fd = open(name, O_RDONLY|O_DIRECTORY|
O_NONBLOCK
|O_CLOEXEC)) == -1)
/src/tests/kernel/tty/
t_pr.c
111
slave = rump_sys_open("/dev/ttyp1", O_RDWR|
O_NONBLOCK
);
/src/usr.sbin/tpctl/
tp.c
79
flags |=
O_NONBLOCK
;
/src/usr.bin/ktrace/
ktrace.c
368
fclear(pi[1],
O_NONBLOCK
);
394
fclear(pi[1],
O_NONBLOCK
);
Completed in 46 milliseconds
1
2
3
4
5
6
Indexes created Mon Oct 27 17:09:47 GMT 2025