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

/freebsd-11-stable/lib/libc/stdio/
H A Dfdopen.c53 int flags, oflags, fdflags, tmp; local
71 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0)
74 tmp = fdflags & (O_ACCMODE | O_EXEC);
94 if (fdflags & O_APPEND)
/freebsd-11-stable/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-11-stable/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)
731 int fdflags; local
895 if ((fdflags = fcntl(connfd, F_GETFD, 0)) == -1 ||
896 fcntl(connfd, F_SETFD, fdflags | FD_CLOEXEC) == -1)
/freebsd-11-stable/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-11-stable/contrib/libpcap/
H A Dpcap.c3316 int fdflags;
3318 fdflags = fcntl(p->fd, F_GETFL, 0);
3319 if (fdflags == -1) {
3324 if (fdflags & O_NONBLOCK)
3362 int fdflags;
3364 fdflags = fcntl(p->fd, F_GETFL, 0);
3365 if (fdflags == -1) {
3371 fdflags |= O_NONBLOCK;
3373 fdflags &= ~O_NONBLOCK;
3374 if (fcntl(p->fd, F_SETFL, fdflags)
[all...]
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_vnops.c1530 uint32_t tdflags, fflags, fdflags; local
1585 fdflags = fdnode->nn_inode.i_flags;
1588 (fdflags & APPEND)) {
/freebsd-11-stable/contrib/sendmail/src/
H A Ddaemon.c1078 int fdflags; local
1183 if ((fdflags = fcntl(d->d_socket, F_GETFD, 0)) == -1 ||
1185 fdflags | FD_CLOEXEC) == -1)
1190 fdflags == -1 ? "get" : "set",

Completed in 272 milliseconds