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

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/
H A Dsocket.c65 int fdflags; local
67 if ((fdflags = ofdflags = fcntl(fd, F_GETFL, 0)) == -1)
71 fdflags |= O_NONBLOCK;
73 fdflags &= ~O_NONBLOCK;
75 if (fdflags != ofdflags)
76 if (fcntl(fd, F_SETFL, fdflags) == -1)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppd/
H A Dtty.c401 int fdflags; local
441 fdflags = fcntl(0, F_GETFL);
442 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR)
466 int fdflags; local
531 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1
532 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/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-WNDR4500-V1.0.1.40_1.0.68/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 101 milliseconds