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

/freebsd-9.3-release/lib/libc/stdio/
H A Dfdopen.c55 int flags, oflags, fdflags, tmp; local
73 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0)
75 tmp = fdflags & O_ACCMODE;
95 if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dstdio.c410 int oflags, tmp, fdflags, fd = *((int *) info); local
439 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0)
441 tmp = fdflags & O_ACCMODE;
/freebsd-9.3-release/contrib/libpcap/
H A Dpcap.c1246 int fdflags; local
1248 fdflags = fcntl(p->fd, F_GETFL, 0);
1249 if (fdflags == -1) {
1254 if (fdflags & O_NONBLOCK)
1288 int fdflags; local
1290 fdflags = fcntl(p->fd, F_GETFL, 0);
1291 if (fdflags == -1) {
1297 fdflags |= O_NONBLOCK;
1299 fdflags &= ~O_NONBLOCK;
1300 if (fcntl(p->fd, F_SETFL, fdflags)
[all...]
/freebsd-9.3-release/contrib/sendmail/libmilter/
H A Dlistener.c130 int fdflags; local
455 if ((fdflags = fcntl(sock, F_GETFD, 0)) == -1 ||
456 fcntl(sock, F_SETFD, fdflags | FD_CLOEXEC) == -1)
/freebsd-9.3-release/contrib/binutils/bfd/
H A Dopncls.c302 int fdflags; local
308 fdflags = fcntl (fd, F_GETFL, NULL);
309 if (fdflags == -1)
316 switch (fdflags & (O_ACCMODE))
/freebsd-9.3-release/contrib/sendmail/src/
H A Ddaemon.c1049 int fdflags; local
1156 if ((fdflags = fcntl(d->d_socket, F_GETFD, 0)) == -1 ||
1158 fdflags | FD_CLOEXEC) == -1)
1163 fdflags == -1 ? "get" : "set",

Completed in 145 milliseconds