Home
last modified time | relevance | path

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

/freebsd-11-stable/lib/libc/stdio/
HDfdopen.c53 int flags, oflags, fdflags, tmp; in fdopen() local
71 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0) in fdopen()
74 tmp = fdflags & (O_ACCMODE | O_EXEC); in fdopen()
94 if (fdflags & O_APPEND) in fdopen()
/freebsd-11-stable/contrib/sendmail/libsm/
HDstdio.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/
HDlistener.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/
HDopncls.c302 int fdflags; in bfd_fdopenr() local
308 fdflags = fcntl (fd, F_GETFL, NULL); in bfd_fdopenr()
309 if (fdflags == -1) in bfd_fdopenr()
316 switch (fdflags & (O_ACCMODE)) in bfd_fdopenr()
/freebsd-11-stable/contrib/libpcap/
HDpcap.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) == -1) {
/freebsd-11-stable/contrib/sendmail/src/
HDdaemon.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",
/freebsd-11-stable/sys/fs/nandfs/
HDnandfs_vnops.c1530 uint32_t tdflags, fflags, fdflags; in nandfs_rename() local
1585 fdflags = fdnode->nn_inode.i_flags; in nandfs_rename()
1588 (fdflags & APPEND)) { in nandfs_rename()