Searched refs:fdflags (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/lib/libc/stdio/ |
| H A D | fdopen.c | 55 int flags, oflags, fdflags, tmp; in fdopen() local 73 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0) in fdopen() 76 tmp = fdflags & (O_ACCMODE | O_EXEC); in fdopen() 96 if (fdflags & O_APPEND) in fdopen()
|
| /freebsd-12.1/contrib/sendmail/libsm/ |
| H A D | stdio.c | 410 int oflags, tmp, fdflags, fd = *((int *) info); local 439 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0) 441 tmp = fdflags & O_ACCMODE;
|
| /freebsd-12.1/contrib/sendmail/libmilter/ |
| H A D | listener.c | 130 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-12.1/contrib/binutils/bfd/ |
| H A D | opncls.c | 302 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-12.1/contrib/libpcap/ |
| H A D | pcap.c | 3166 int fdflags; 3168 fdflags = fcntl(p->fd, F_GETFL, 0); 3169 if (fdflags == -1) { 3174 if (fdflags & O_NONBLOCK) 3212 int fdflags; 3214 fdflags = fcntl(p->fd, F_GETFL, 0); 3215 if (fdflags == -1) { 3221 fdflags |= O_NONBLOCK; 3223 fdflags &= ~O_NONBLOCK; 3224 if (fcntl(p->fd, F_SETFL, fdflags) == -1) {
|
| /freebsd-12.1/contrib/sendmail/src/ |
| H A D | daemon.c | 1058 int fdflags; local 1163 if ((fdflags = fcntl(d->d_socket, F_GETFD, 0)) == -1 || 1165 fdflags | FD_CLOEXEC) == -1) 1170 fdflags == -1 ? "get" : "set",
|
| /freebsd-12.1/sys/fs/nandfs/ |
| H A D | nandfs_vnops.c | 1533 uint32_t tdflags, fflags, fdflags; in nandfs_rename() local 1588 fdflags = fdnode->nn_inode.i_flags; in nandfs_rename() 1591 (fdflags & APPEND)) { in nandfs_rename()
|