Searched refs:fdflags (Results 1 – 7 of 7) sorted by relevance
/freebsd/lib/libcasper/services/cap_fileargs/ |
H A D | cap_fileargs.h | 62 fileargs_t *fileargs_wrap(cap_channel_t *chan, int fdflags); 63 cap_channel_t *fileargs_unwrap(fileargs_t *fa, int *fdflags); 133 fileargs_wrap(cap_channel_t *chan, int fdflags) 137 return (fileargs_init(0, NULL, fdflags, 0, NULL, 0)); 141 fileargs_unwrap(fileargs_t *fa, int *fdflags) 144 if (fdflags != NULL) { 145 *fdflags = fa->fa_flags;
|
H A D | cap_fileargs.c | 197 fileargs_create(cap_channel_t *chan, int fdflags) in fileargs_create() argument 205 fa->fa_fdflags = fdflags; in fileargs_create() 486 fileargs_wrap(cap_channel_t *chan, int fdflags) in fileargs_wrap() argument 493 return (fileargs_create(chan, fdflags)); in fileargs_wrap()
|
/freebsd/lib/libc/stdio/ |
H A D | fdopen.c | 49 int flags, oflags, fdflags, tmp; in fdopen() local 67 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0) in fdopen() 70 tmp = fdflags & (O_ACCMODE | O_EXEC); in fdopen() 90 if (fdflags & O_APPEND) in fdopen()
|
/freebsd/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/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/contrib/libpcap/ |
H A D | pcap.c | 3609 int fdflags; local 3611 fdflags = fcntl(p->fd, F_GETFL, 0); 3612 if (fdflags == -1) { 3617 if (fdflags & O_NONBLOCK) 3655 int fdflags; local 3657 fdflags = fcntl(p->fd, F_GETFL, 0); 3658 if (fdflags == -1) { 3664 fdflags |= O_NONBLOCK; 3666 fdflags &= ~O_NONBLOCK; 3667 if (fcntl(p->fd, F_SETFL, fdflags) == -1) {
|
/freebsd/contrib/sendmail/src/ |
H A D | daemon.c | 1085 int fdflags; local 1190 if ((fdflags = fcntl(d->d_socket, F_GETFD, 0)) == -1 || 1192 fdflags | FD_CLOEXEC) == -1) 1197 fdflags == -1 ? "get" : "set",
|