Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/libproc-tests/tests/syscall/
H A Dpr_target.c46 pr_target_check_fd(const char *desc, int fd, int fflag, int fdflags, in pr_target_check_fd() argument
70 } else if (val != fdflags) { in pr_target_check_fd()
72 "expected 0x%x", desc, val, fdflags); in pr_target_check_fd()
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c323 show_fdflags(int fdflags) in show_fdflags() argument
325 if (fdflags <= 0) in show_fdflags()
333 if ((fdflags & FD_CLOEXEC) != 0) { in show_fdflags()
337 if ((fdflags & FD_CLOFORK) != 0) { in show_fdflags()
348 int fdflags; in dofcntl() local
351 fdflags = info->pr_fdflags; in dofcntl()
353 if (fileflags != -1 || fdflags != -1) { in dofcntl()
357 if (fdflags != -1) in dofcntl()
358 show_fdflags(fdflags); in dofcntl()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c410 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/sendmail/libmilter/
H A Dlistener.c130 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 Dmain.c296 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 Dilbd_hc.c1272 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 Ddaemon.c1048 int fdflags; local
1155 if ((fdflags = fcntl(d->d_socket, F_GETFD, 0)) == -1 ||
1157 fdflags | FD_CLOEXEC) == -1)
1162 fdflags == -1 ? "get" : "set",
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dcorenote.c1693 uint32_t fileflags, mode, fdflags; in dump_prfdinfo() local
1721 fdflags = extract_as_word(state, &layout->pr_fdflags); in dump_prfdinfo()
1723 conv_cnote_fdflags(fdflags, 0, buf, sizeof (buf))); in dump_prfdinfo()
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcorenote.c2614 static const Val_desc fdflags[] = { in conv_cnote_fdflags() local
2628 (void) conv_expn_field(&arg, fdflags, fmt_flags); in conv_cnote_fdflags()