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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/
H A Dsocket.c57 int fdflags; local
59 if ((fdflags = ofdflags = fcntl(fd, F_GETFL, 0)) == -1)
63 fdflags |= O_NONBLOCK;
65 fdflags &= ~O_NONBLOCK;
67 if (fdflags != ofdflags)
68 if (fcntl(fd, F_SETFL, fdflags) == -1)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/
H A Dpcap.c1245 int fdflags; local
1247 fdflags = fcntl(p->fd, F_GETFL, 0);
1248 if (fdflags == -1) {
1253 if (fdflags & O_NONBLOCK)
1287 int fdflags; local
1289 fdflags = fcntl(p->fd, F_GETFL, 0);
1290 if (fdflags == -1) {
1296 fdflags |= O_NONBLOCK;
1298 fdflags &= ~O_NONBLOCK;
1299 if (fcntl(p->fd, F_SETFL, fdflags)
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/
H A Dtty.c446 int fdflags; local
491 fdflags = fcntl(0, F_GETFL);
492 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR)
516 int fdflags; local
587 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1
588 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/pppd/
H A Dtty.c395 int fdflags; local
435 fdflags = fcntl(0, F_GETFL);
436 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR)
460 int fdflags; local
525 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1
526 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/coreutils/
H A Dstty.c1050 int fd, fdflags; local
1057 fdflags = fcntl(STDIN_FILENO, F_GETFL);
1058 if (fdflags < 0 ||
1059 fcntl(STDIN_FILENO, F_SETFL, fdflags & ~O_NONBLOCK) < 0)

Completed in 278 milliseconds