/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | lib | 24 lib fchmod,fcntl,fmtmsg,fnmatch,fork,fsync 250 #include <fcntl.h> 447 tst lib_memccpy string.h unistd.h stdlib.h fcntl.h signal.h sys/types.h sys/stat.h sys/mman.h fcntl…
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_run.c | 778 if (fcntl(svc_pipe[0], F_SETFL, O_NONBLOCK) == -1) { in create_pipe() 783 if (fcntl(svc_pipe[1], F_SETFL, O_NONBLOCK) == -1) { in create_pipe()
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 507 if ((sockflags = fcntl(*fd, F_GETFL, 0)) == -1) { in dhcp_ipc_accept() 512 if (fcntl(*fd, F_SETFL, sockflags | O_NONBLOCK) == -1) { in dhcp_ipc_accept()
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | Syscalls.c | 169 while ((n = fcntl(i, j, k)) == -1 && errno == EINTR)
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 156 if (fcntl(curr->fd, F_GETFD) >= 0) { in popen()
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 173 (void) fcntl(s, F_SETOWN, pid); in myrcmd()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_pr.c | 185 if (fcntl(fileno(pvt->fp), F_SETFD, 1) < 0) { in pr_rewind()
|
/illumos-gate/usr/src/lib/libvrrpadm/common/ |
H A D | libvrrpadm.c | 140 flags = fcntl(sock, F_GETFL, 0); in vrrp_cmd_request() 141 (void) fcntl(sock, F_SETFL, (flags | O_NONBLOCK)); in vrrp_cmd_request()
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptrace.c | 278 if ((newfd = fcntl(fd, F_DUPFD, targetfd)) != -1) in la_version() 291 if (fcntl(newfd, F_SETFD, FD_CLOEXEC) == -1) { in la_version()
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | random.c | 72 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in open_nointr()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 439 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0)
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/ |
H A D | mDNSPosix.c | 529 result = fcntl(sock->events.fd, F_GETFL, 0); in mDNSPlatformTCPConnect() 536 result = fcntl(sock->events.fd, F_SETFL, result | O_NONBLOCK); in mDNSPlatformTCPConnect() 1176 err = fcntl(*sktPtr, F_GETFL, 0); in SetupSocket() 1180 err = fcntl(*sktPtr, F_SETFL, err | O_NONBLOCK); in SetupSocket() 1414 (void) fcntl(sock, F_SETFL, O_NONBLOCK); in OpenIfNotifySocket() 1527 (void) fcntl(*pFD, F_SETFL, O_NONBLOCK); in OpenIfNotifySocket()
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | os.c | 61 # define fcntl(A,B,C) 0 macro 1333 s = fcntl(id->fd, F_SETLK, &lock); 1444 s = fcntl(id->fd, F_SETLK, &lock); 1559 s = fcntl(id->fd, F_SETLK, &lock);
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | umount.c | 998 (void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe() 999 (void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK); in setup_iopipe()
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | lib | 33 #define _lib_fcntl 1 /* fcntl() in default lib(s) */ 153 #define _hdr_fcntl 1 /* #include <fcntl.h> ok */
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | lib | 33 #define _lib_fcntl 1 /* fcntl() in default lib(s) */ 153 #define _hdr_fcntl 1 /* #include <fcntl.h> ok */
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | syslog.c | 274 fcntl(log.fd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelGeneral.c | 215 (void) fcntl(kernel_fd, F_SETFD, FD_CLOEXEC); in C_Initialize()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | net_backends.c | 525 flags = fcntl(be->fd, F_GETFL); in ng_init() 532 if (fcntl(be->fd, F_SETFL, flags | O_NONBLOCK) < 0) { in ng_init() 1076 if (fcntl(be->fd, F_SETFL, O_NONBLOCK) < 0) { in be_dlpi_init()
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 1571 if (fcntl(daemon_lock_fd, F_SETLK, &lock) == -1) { in enter_daemon_lock() 1572 if (fcntl(daemon_lock_fd, F_GETLK, &lock) == -1) { in enter_daemon_lock() 1597 if (fcntl(daemon_lock_fd, F_SETLK, &lock) == -1) { in exit_daemon_lock()
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 304 if (fcntl(1, F_SETFL, fcntl(1, F_GETFL) | O_APPEND) == -1) { in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | main.c | 353 if (fcntl(rt_sock, F_SETFL, O_NONBLOCK) == -1) in main() 683 if (fcntl(sock, F_SETFL, O_NONBLOCK) == -1) in fix_sock()
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | lib | 33 #define _lib_fcntl 1 /* fcntl() in default lib(s) */ 164 #define _hdr_fcntl 1 /* #include <fcntl.h> ok */
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | lib | 33 #define _lib_fcntl 1 /* fcntl() in default lib(s) */ 164 #define _hdr_fcntl 1 /* #include <fcntl.h> ok */
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | readbuf.c | 184 if (fcntl(lbp->fd, F_SETLKW, &lbp->fl) == -1) { in nfslog_init_buf() 338 if (fcntl(lbp->fd, F_SETLK, &lbp->fl) == -1) { in nfslog_free_buf()
|