/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | read_pause.c | 116 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
|
H A D | read_disable.c | 116 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_connect.c | 116 if ((fctlflg = fcntl(fd, F_GETFL, 0)) < 0) { in _tx_connect()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 85 (void) fcntl(zfd, F_SETFD, FD_CLOEXEC); in mdb_context_create()
|
H A D | mdb_shell.c | 76 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in closefd_walk()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | block_if.c | 426 if (fcntl(bc->bc_fd, F_FREESP, &fl)) in blockif_proc() 748 if ((flags = fcntl(fd, F_GETFL)) >= 0) { in blockif_open() 750 if (fcntl(fd, F_SETFL, flags) != -1) { in blockif_open() 1199 if ((flags = fcntl(bc->bc_fd, F_GETFL)) >= 0) { in blockif_set_wce() 1205 if (fcntl(bc->bc_fd, F_SETFL, flags) == -1) { in blockif_set_wce()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp.c | 213 flags = fcntl(pvt->fdCxn, F_GETFL, 0); in irs_irp_connect() 222 if (fcntl(pvt->fdCxn, F_SETFL, flags) < 0) { in irs_irp_connect()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 1513 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 || in getla() 1514 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0) in getla() 1598 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 || in getla() 1836 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 || in getla() 2556 if ((j = fcntl(kmem, F_GETFD, 0)) < 0 || 2938 return fcntl(fd, F_SETFL, O_SYNC); 3596 int omode = fcntl(fd, F_GETFL, 0); 3626 int omode = fcntl(fd, F_GETFL, 0); 5244 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); 5270 if ((j = fcntl(i, F_GETFD, 0)) != -1) [all …]
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 235 extern int fcntl(int, int, ...);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 479 fdflags = fcntl(0, F_GETFL); 690 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1 691 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0) 2708 flags = fcntl(pty_master, F_GETFL); 2710 || fcntl(pty_master, F_SETFL, flags | O_NONBLOCK) == -1) 2712 flags = fcntl(ifd, F_GETFL); 2714 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1) 2717 flags = fcntl(ofd, F_GETFL); 2719 || fcntl(ofd, F_SETFL, flags | O_NONBLOCK) == -1)
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | iod_cl.c | 120 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in smb_iod_open_door()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_cache_door.c | 137 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __ns_ldap_trydoorcall_getfd()
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | mnt.c | 93 (void) fcntl(fileno(mpt), F_SETLKW, &lb); in do_mnttab()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | msgs.c | 180 if (fcntl(fd, F_GETFL, 0) != -1) in calculate_nopen()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | mkservice.c | 287 fd = fcntl(accept_fd, F_DUPFD, 10); in Accept() 449 if((sp->fd = fcntl(fd, F_DUPFD, 10))>=10) in b_mkservice()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | tvlib | 5 #include <fcntl.h>
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdev.c | 345 while ((fcntl(fileno(oam_devtab), F_SETLK, &lockinfo) == -1) && in lkdevtab() 348 if (fcntl(fileno(oam_devtab), F_SETLKW, &lockinfo) == -1) in lkdevtab() 392 noerr = (fcntl(fileno(oam_devtab), F_SETLK, &lockinfo) != -1); in unlkdevtab()
|
H A D | devreserv.c | 271 if (fcntl(lkfilefd, F_SETLK, &lkinfo) != -1) locked = TRUE; in locklkfile() 617 noerr = (fcntl(lkfilefd, F_SETLK, &lkinfo) != -1); in freelkfile()
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | listener.c | 455 if ((fdflags = fcntl(sock, F_GETFD, 0)) == -1 || 456 fcntl(sock, F_SETFD, fdflags | FD_CLOEXEC) == -1) 879 dupfd = fcntl(connfd, F_DUPFD, 256);
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 105 if (fcntl(lf->lf_fd, cmd, fl) == -1) { in flock_fcntl() 414 VERIFY3S(fcntl(lf->lf_fd, cmd, &fl), ==, -1); in flock_test_invalid() 432 VERIFY3S(fcntl(lf->lf_fd, cmd, &fl), ==, -1); in flock_test_invalid64()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_simple.c | 146 (void) fcntl(fd, F_SETFD, 1); /* close on exec */ in rpc_call()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 318 int fcntl(int, int, ...);
|
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/ |
H A D | ip.c | 477 (void) fcntl(ipx->ipx_fd, F_SETFL, in ip_xprt_thread() 478 fcntl(ipx->ipx_fd, F_GETFL, 0) & ~O_NONBLOCK); in ip_xprt_thread() 629 oflags = fcntl(fd, F_GETFL, 0); in ip_xprt_setup() 630 (void) fcntl(fd, F_SETFL, oflags | O_NONBLOCK); in ip_xprt_setup()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | callers.c | 326 if ( fcntl(dcf, F_SETFL, 327 (fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0 ) { 984 (void) fcntl(dcf,F_SETFL, fcntl(dcf, F_GETFL, 0) & ~O_NDELAY);
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 243 flag = fcntl(getfd(), F_GETFL, 0); in SetBlocking() 252 if (fcntl(getfd(), F_SETFL, flag) < 0) { in SetBlocking()
|