Home
last modified time | relevance | path

Searched refs:fcntl (Results 126 – 150 of 320) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c773 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 Dshiocmd_solaris.c577 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 Duart_emul.c751 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 Dname_to_sysnum60 fcntl 62
/illumos-gate/usr/src/uts/sparc/os/
H A Dname_to_sysnum59 fcntl 62
/illumos-gate/usr/src/man/man3head/
H A DMakefile33 fcntl.h.3head \
221 fcntl.3head \
407 fcntl.3head := LINKSRC = fcntl.h.3head
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c1347 (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 Dcallers.c274 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 Dctrun.c207 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 Dgetxby_door.c280 (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 Dlcl_sv.c266 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 Dshell.h239 # define fcntl(a,b,c) sh_fcntl(a,b,c) macro
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.sed.in37 #include <sys/fcntl.h>
/illumos-gate/usr/src/cmd/listen/
H A Dlslog.c268 fcntl(fileno(Logfp), F_SETFD, 1); /* reset close-on-exec */ in logmessage()
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c159 if (fcntl(fd, F_FREESP, &fl) != 0) { in main()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dxec.c118 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 Dutmpd.c894 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 Daudit_remote.c475 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 Dconf.c363 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 Dsysdef.c272 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 Dcall_labeld.c152 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __call_labeld()
/illumos-gate/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c294 fd_new = fcntl(fd, F_DUPFD, 0); in brand_close_fh()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Domitted3 #include <fcntl.h>
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c77 return (fcntl(fd, F_SETLKW, &lock)); in lock_op()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_mac.c722 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()

12345678910>>...13