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

/external/strace/
H A Ddesc.c166 static const struct xlat fdflags[] = { variable in typeref:struct:xlat
318 printflags(fdflags, tcp->u_arg[2], "FD_???");
386 tcp->auxstr = sprintflags("flags ", fdflags, tcp->u_rval);
/external/libpcap/
H A Dpcap.c596 int fdflags; local
598 fdflags = fcntl(p->fd, F_GETFL, 0);
599 if (fdflags == -1) {
604 if (fdflags & O_NONBLOCK)
627 int fdflags; local
629 fdflags = fcntl(p->fd, F_GETFL, 0);
630 if (fdflags == -1) {
636 fdflags |= O_NONBLOCK;
638 fdflags &= ~O_NONBLOCK;
639 if (fcntl(p->fd, F_SETFL, fdflags)
[all...]
/external/ppp/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
583 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1
584 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)

Completed in 549 milliseconds