Home
last modified time | relevance | path

Searched refs:fcntl (Results 151 – 175 of 320) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dlib24 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 Dsvc_run.c778 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 Ddhcpagent_ipc.c507 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 DSyscalls.c169 while ((n = fcntl(i, j, k)) == -1 && errno == EINTR)
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dpopen.c156 if (fcntl(curr->fd, F_GETFD) >= 0) { in popen()
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmyrcmd.c173 (void) fcntl(s, F_SETOWN, pid); in myrcmd()
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_pr.c185 if (fcntl(fileno(pvt->fp), F_SETFD, 1) < 0) { in pr_rewind()
/illumos-gate/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c140 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 Dapptrace.c278 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 Drandom.c72 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in open_nointr()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c439 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0)
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSPosix.c529 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 Dos.c61 # 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 Dumount.c998 (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 Dlib33 #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 Dlib33 #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 Dsyslog.c274 fcntl(log.fd, F_SETFD, FD_CLOEXEC);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelGeneral.c215 (void) fcntl(kernel_fd, F_SETFD, FD_CLOEXEC); in C_Initialize()
/illumos-gate/usr/src/cmd/bhyve/
H A Dnet_backends.c525 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 Dsyseventd.c1571 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 Dcpustat.c304 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 Dmain.c353 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 Dlib33 #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 Dlib33 #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 Dreadbuf.c184 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()

12345678910>>...13