Searched refs:fdflags (Results 1 - 3 of 3) sorted by relevance

/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap.c592 int fdflags; local
594 fdflags = fcntl(p->fd, F_GETFL, 0);
595 if (fdflags == -1) {
600 if (fdflags & O_NONBLOCK)
623 int fdflags; local
625 fdflags = fcntl(p->fd, F_GETFL, 0);
626 if (fdflags == -1) {
632 fdflags |= O_NONBLOCK;
634 fdflags &= ~O_NONBLOCK;
635 if (fcntl(p->fd, F_SETFL, fdflags)
[all...]
/haiku-fatelf/src/bin/gdb/bfd/
H A Dopncls.c217 int fdflags; local
221 fdflags = O_RDWR; /* Assume full access. */
223 fdflags = fcntl (fd, F_GETFL, NULL);
225 if (fdflags == -1)
243 switch (fdflags & (O_ACCMODE))
265 switch (fdflags & (O_ACCMODE))
/haiku-fatelf/src/bin/coreutils/src/
H A Dstty.c837 int fdflags; local
841 if ((fdflags = fcntl (STDIN_FILENO, F_GETFL)) == -1
842 || fcntl (STDIN_FILENO, F_SETFL, fdflags & ~O_NONBLOCK) < 0)

Completed in 60 milliseconds