Searched refs:fdflags (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/lib/libcasper/services/cap_fileargs/ |
| H A D | cap_fileargs.h | 64 fileargs_t *fileargs_wrap(cap_channel_t *chan, int fdflags); 65 cap_channel_t *fileargs_unwrap(fileargs_t *fa, int *fdflags); 135 fileargs_wrap(cap_channel_t *chan, int fdflags) 139 return (fileargs_init(0, NULL, fdflags, 0, NULL, 0)); 143 fileargs_unwrap(fileargs_t *fa, int *fdflags) 146 if (fdflags != NULL) { 147 *fdflags = fa->fa_flags;
|
| H A D | cap_fileargs.c | 200 fileargs_create(cap_channel_t *chan, int fdflags) in fileargs_create() argument 208 fa->fa_fdflags = fdflags; in fileargs_create() 490 fileargs_wrap(cap_channel_t *chan, int fdflags) in fileargs_wrap() argument 497 return (fileargs_create(chan, fdflags)); in fileargs_wrap()
|
| /freebsd-13.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-13.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-13.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-13.1/contrib/libpcap/ |
| H A D | pcap.c | 3316 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-13.1/contrib/sendmail/src/ |
| H A D | daemon.c | 1078 int fdflags; local 1183 if ((fdflags = fcntl(d->d_socket, F_GETFD, 0)) == -1 || 1185 fdflags | FD_CLOEXEC) == -1) 1190 fdflags == -1 ? "get" : "set",
|