/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_files.c | 773 if (fcntl(fd, cmd, &fl) != 0) { in nwam_write_object_to_files_backend() 802 (void) fcntl(fd, F_SETLKW, &fu); in nwam_write_object_to_files_backend() 809 (void) fcntl(fd, F_SETLKW, &fu); in nwam_write_object_to_files_backend()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | shiocmd_solaris.c | 577 fcntl(fd, F_SETFL, 0); in b_open() 700 fcntl(fd, F_SETFL, 0); in b_tmpfile() 775 fcntl(fd,F_SETFL,0); in b_dup()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | uart_emul.c | 751 if (fcntl(connfd, F_SETFL, O_NONBLOCK) < 0) { in uart_sock_accept() 904 if (fcntl(sc->tty.rfd, F_SETFL, O_NONBLOCK) != 0) in uart_stdio_backend() 906 if (fcntl(sc->tty.wfd, F_SETFL, O_NONBLOCK) != 0) in uart_stdio_backend()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | name_to_sysnum | 60 fcntl 62
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | name_to_sysnum | 59 fcntl 62
|
/illumos-gate/usr/src/man/man3head/ |
H A D | Makefile | 33 fcntl.h.3head \ 221 fcntl.3head \ 407 fcntl.3head := LINKSRC = fcntl.h.3head
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | mount.c | 1347 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe() 1348 (void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe() 1352 (void) fcntl(mp->sopipe[RDPIPE], F_SETFD, FD_CLOEXEC); in setup_iopipe() 1353 (void) fcntl(mp->sepipe[RDPIPE], F_SETFD, FD_CLOEXEC); in setup_iopipe()
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | callers.c | 274 if (fcntl(dcf, F_SETFL, in processdev() 275 (fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0) { in processdev()
|
/illumos-gate/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 207 int flags = fcntl(fd, F_GETFD, 0); in close_on_exec() 208 if ((flags != -1) && (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) != -1)) in close_on_exec()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getxby_door.c | 280 (void) fcntl(dp->doorfd, F_SETFD, FD_CLOEXEC); in _nsc_initdoor_fp() 558 (void) fcntl(backd->doorfd, F_SETFD, FD_CLOEXEC); in _nsc_trydoorcall_ext()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_sv.c | 266 if (fcntl((*pvt->dbh->fd)(pvt->dbh), F_SETFD, 1) < 0) { in sv_rewind() 275 if (fcntl(fileno(pvt->sv.fp), F_SETFD, 1) < 0) { in sv_rewind()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | shell.h | 239 # define fcntl(a,b,c) sh_fcntl(a,b,c) macro
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | io.sed.in | 37 #include <sys/fcntl.h>
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | lslog.c | 268 fcntl(fileno(Logfp), F_SETFD, 1); /* reset close-on-exec */ in logmessage()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 159 if (fcntl(fd, F_FREESP, &fl) != 0) { in main()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | xec.c | 118 fcntl(subpipe[0],F_SETFD,FD_CLOEXEC); in iousepipe() 119 subpipe[2] = fcntl(1,F_DUPFD,10); in iousepipe() 122 fcntl(subpipe[2],F_SETFD,FD_CLOEXEC); in iousepipe() 125 fcntl(subpipe[1],F_DUPFD,1); in iousepipe() 133 fcntl(1,F_DUPFD,i); in iousepipe() 145 fcntl(subpipe[2], F_DUPFD, 1); in iounpipe() 154 fcntl(1, F_DUPFD, n); in iounpipe() 3645 int fd=fcntl(shp->cpipe[1],F_DUPFD,10); in coproc_init() 3659 if(fcntl(*shp->cpipe,F_SETFD,FD_CLOEXEC)>=0) in coproc_init() 3722 fcntl(i,F_SETFD,0); in run_subshell() [all …]
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 894 dfd = fcntl(fd, F_DUPFD, EXTRA_MARGIN); in proc_to_fd() 903 (void) fcntl(fd, F_SETFD, 1); in proc_to_fd()
|
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 475 if ((flags = fcntl(fd, F_GETFL, 0)) < 0) { in set_fdfl() 495 if (fcntl(fd, F_SETFL, flags) == -1) { in set_fdfl()
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | conf.c | 363 if (fcntl(Conffd, F_SETLKW, &flock) < 0) in conf_open() 393 if (fcntl(Timesfd, F_SETLKW, &flock) < 0) in conf_open()
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 272 fcntl(memfd, F_SETFD, in main() 273 fcntl(memfd, F_GETFD, 0) | FD_CLOEXEC); in main()
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | call_labeld.c | 152 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __call_labeld()
|
/illumos-gate/usr/src/lib/brand/shared/brand/common/ |
H A D | brand_util.c | 294 fd_new = fcntl(fd, F_DUPFD, 0); in brand_close_fh()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | omitted | 3 #include <fcntl.h>
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 77 return (fcntl(fd, F_SETLKW, &lock)); in lock_op()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_mac.c | 722 sfxge_mac_fcntl_set(sfxge_t *sp, unsigned int fcntl) in sfxge_mac_fcntl_set() argument 729 if (smp->sm_fcntl == fcntl) in sfxge_mac_fcntl_set() 732 smp->sm_fcntl = fcntl; in sfxge_mac_fcntl_set()
|