/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
fdopen.c | 53 int flags, oflags, fdflags, tmp; local 71 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0) 73 tmp = fdflags & O_ACCMODE; 93 if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
|
/external/libpcap/ |
pcap.c | 596 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) == -1) [all...] |
/external/ppp/pppd/ |
tty.c | 446 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) [all...] |
/external/strace/ |
desc.c | 166 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);
|