Searched refs:fdflags (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/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;
|
/illumos-gate/usr/src/cmd/ptools/pfiles/ |
H A D | pfiles.c | 327 int fdflags; in dofcntl() local 330 fdflags = info->pr_fdflags; in dofcntl() 332 if (fileflags != -1 || fdflags != -1) { in dofcntl() 336 if (fdflags != -1 && (fdflags & FD_CLOEXEC)) in dofcntl()
|
/illumos-gate/usr/src/cmd/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)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 296 int i, fdflags, t; local 479 fdflags = fcntl(0, F_GETFL); 480 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR) 690 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1 691 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_hc.c | 1272 int fdflags; in ilbd_run_probe() local 1291 if ((fdflags = fcntl(fds[0], F_GETFL, 0)) == -1) { in ilbd_run_probe() 1295 if (fcntl(fds[0], F_SETFL, fdflags | O_NONBLOCK) == -1) { in ilbd_run_probe()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | daemon.c | 1048 int fdflags; local 1155 if ((fdflags = fcntl(d->d_socket, F_GETFD, 0)) == -1 || 1157 fdflags | FD_CLOEXEC) == -1) 1162 fdflags == -1 ? "get" : "set",
|