O_NONBLOCK
#define O_NDELAY O_NONBLOCK
result = Open(fNonBlocking ? O_NONBLOCK : 0);
fNonBlocking = (flags & O_NONBLOCK) == O_NONBLOCK;
fNonBlocking = (flags & O_NONBLOCK) == O_NONBLOCK;
result = Open(fNonBlocking ? O_NONBLOCK : 0);
info->nonblocking = (openMode & O_NONBLOCK) != 0;
if ((cookie->fMode & O_NONBLOCK) == 0) {
if ((cookie->fMode & O_NONBLOCK) == 0) {
cookie->fMode = (cookie->fMode & ~(O_APPEND | O_NONBLOCK)) | flags;
const int settableFlags = O_APPEND | O_NONBLOCK | O_SYNC | O_RSYNC
bool dontBlock = (mode & O_NONBLOCK) != 0;
bool dontBlock = (mode & O_NONBLOCK) != 0;
bool dontBlock = (mode & O_NONBLOCK) != 0;
cookie->open_mode &= ~O_NONBLOCK;
cookie->open_mode |= O_NONBLOCK;
cookie->flags |= O_NONBLOCK;
cookie->flags &= ~O_NONBLOCK;
flags |= O_NONBLOCK;
flags |= O_NONBLOCK;
FLAG_INFO_ENTRY(O_NONBLOCK),
fcntl(pdata, F_SETFL, flags | O_NONBLOCK) == -1)
fcntl(pdata, F_SETFL, flags & ~O_NONBLOCK) == -1)
fcntl(STDIN_FILENO, F_SETFL, flags | O_NONBLOCK);
fFD = open(nameBuffer, O_RDWR | O_NONBLOCK | O_EXCL);
ffd = open(buf, O_RDWR | O_NONBLOCK | O_EXCL);
fcntl(ffd, F_SETFL, flags & ~O_NONBLOCK);
flags |= O_NONBLOCK;
flags &= ~O_NONBLOCK;
if (fcntl(fSocket->Socket(), F_SETFL, flags | O_NONBLOCK) != 0)
fd = open(pfh->pf_path, O_WRONLY | O_CREAT | O_NONBLOCK, mode);
fd = open("/dev/random", O_RDONLY | O_NONBLOCK);
flags & O_NONBLOCK ? B_SET_NONBLOCKING_IO : B_SET_BLOCKING_IO, NULL, 0);
size_t argument = descriptor->open_mode & ~O_NONBLOCK;
argument |= (value ? O_NONBLOCK : 0);
(cookie->open_mode & O_NONBLOCK) != 0, is_called_via_syscall(),
(cookie->open_mode & O_NONBLOCK) != 0, is_called_via_syscall());
cookie->open_mode = (cookie->open_mode & ~(O_APPEND | O_NONBLOCK)) | flags;
open_mode |= O_NONBLOCK;
open_mode &= ~(int)O_NONBLOCK;
if ((openMode & O_NONBLOCK) != 0)
&& (openMode & O_NONBLOCK) == 0) {
uint32 op = (flags & O_NONBLOCK) != 0
oflags |= O_NONBLOCK;
const int32 modifiableFlags = O_APPEND | O_NONBLOCK;
if ((flags & ~(O_NONBLOCK | O_CLOEXEC | O_CLOFORK)) != 0)
fds[0] = open_vnode(vnode, O_RDONLY | O_NONBLOCK | flags, false);
if ((flags & O_NONBLOCK) == 0)
common_fcntl(fds[0], F_SETFL, flags & O_NONBLOCK, false);
if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) {
cookie->openFlags &= ~O_NONBLOCK;
cookie->openFlags |= O_NONBLOCK;
fcntl(fFDs[1], F_SETFL, O_NONBLOCK);
fcntl(fClientSocket, F_SETFL, O_NONBLOCK);
int rfd = open(filename, O_RDONLY | O_NONBLOCK);
fcntl(fd, F_SETFL, O_NONBLOCK);
status = fcntl(sock, F_SETFL, O_NONBLOCK);
status = fcntl(sock1, F_SETFL, O_NONBLOCK);
status = fcntl(sock, F_SETFL, flags1 | O_NONBLOCK);
status = fcntl(sock1, F_SETFL, flags1 | O_NONBLOCK);
SET_OPEN_MODE_FLAG(O_NONBLOCK, FSSH_O_NONBLOCK)