Home
last modified time | relevance | path

Searched refs:fcntl (Results 201 – 225 of 320) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c622 fcntl(int fildes, int cmd, ...) in fcntl() function
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c2009 int dfd = fcntl(fd, F_DUPFD, 3); in xcreat()
2018 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in xcreat()
2028 (void) fcntl(2, F_DUPFD, 1); in setoutput()
2031 (void) fcntl(ofd, F_DUPFD, 1); in setoutput()
2035 (void) fcntl(1, F_DUPFD, 2); in setoutput()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdladm.c623 if (fcntl(lock_fd, F_SETLKW, &lock) < 0) { in i_dladm_lock_db()
647 (void) fcntl(fd, F_SETLKW, &lock); in i_dladm_unlock_db()
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c287 flags = fcntl(fd, F_GETFL, 0); in get_connection()
288 (void) fcntl(fd, F_SETFL, flags & ~O_NONBLOCK); in get_connection()
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c345 if (fcntl(fileno(fp), F_SETFD, FD_CLOEXEC) < 0) { in main()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c215 if (fcntl(t->bt_fd, F_SETFD, 1) == -1)
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c275 flags = fcntl(sockfd, F_GETFL, 0);
276 fcntl(sockfd, F_SETFL, flags | O_NONBLOCK);
430 fcntl(sockfd, F_SETFL, flags);
/illumos-gate/usr/src/uts/common/syscall/
H A DSYSCALL.README256 fcntl vncalls.c common/syscall/fcntl.c
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_srvr.c244 if (fcntl(ctx->sock, F_SETFD, 1) < 0) { in ctl_server()
429 if (fcntl(fd, F_SETFD, 1) < 0) { in ctl_accept()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c57 #pragma weak _fcntl = fcntl
741 fcntl(int fildes, int cmd, ...) in fcntl() function
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Drcmd.c171 fcntl(s, F_SETOWN, pid); in rcmd()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c690 fcntl(fileno(logfile), F_SETFD, FD_CLOEXEC) == -1) in log_init()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_vc.c792 (void) fcntl(destfd, F_SETFD, FD_CLOEXEC); in do_accept()
1109 if ((nn = fcntl(fdconn, F_GETFL, 0)) < 0) { in svc_vc_nonblock()
1115 if (fcntl(fdconn, F_SETFL, nn|O_NONBLOCK) != 0) { in svc_vc_nonblock()
H A Dclnt_vc.c190 if ((flag = fcntl(ct->ct_fd, F_GETFL, 0)) < 0) { in set_blocking_connection()
197 if (fcntl(ct->ct_fd, F_SETFL, flag) != 0) { in set_blocking_connection()
288 if ((flag = fcntl(fd, F_GETFL, 0)) < 0) { in _clnt_vc_create_timed()
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c516 flags = fcntl(sockfd, F_GETFL, 0); in connect_timeout()
517 if (fcntl(sockfd, F_SETFL, flags | O_NONBLOCK) == -1) { in connect_timeout()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c151 return (fcntl(fd, cmd, &lock)); in lock_register()
/illumos-gate/usr/src/head/
H A DMakefile81 fcntl.h \
/illumos-gate/usr/src/lib/libpthread/common/
H A Dmapfile-vers129 fcntl { TYPE = FUNCTION };
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_files.c576 if (fcntl(p[1], F_DUPFD, 1) != 1) { in read_execout()
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c156 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in vn_open()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/without_structs/
H A Dimplicit_dependencies_verbose.pretty977 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
1047 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
1117 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
1147 'fcntl': [{'call': 'syncfs', 'reason': set([('fd', 'flags')])},
1302 {'call': 'fcntl',
1561 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
2924 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
3155 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
3224 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
6821 {'call': 'fcntl', 'reason': set([('fd', 'flags')])},
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c901 if ((flags = fcntl(pii->pii_probe_sock, F_GETFL, 0)) == -1) { in phyint_inst_v6_sockinit()
906 if (fcntl(pii->pii_probe_sock, F_SETFL, in phyint_inst_v6_sockinit()
1024 if ((flags = fcntl(pii->pii_probe_sock, F_GETFL, 0)) == -1) { in phyint_inst_v4_sockinit()
1029 if (fcntl(pii->pii_probe_sock, F_SETFL, in phyint_inst_v4_sockinit()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsigev_thread.c487 fcntl(tcdp->tcd_port, FD_CLOEXEC) == -1) { in setup_sigev_handler()
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ho.c434 if (fcntl(fileno(pvt->fp), F_SETFD, 1) < 0) { in ho_rewind()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_hc.c1291 if ((fdflags = fcntl(fds[0], F_GETFL, 0)) == -1) { in ilbd_run_probe()
1295 if (fcntl(fds[0], F_SETFL, fdflags | O_NONBLOCK) == -1) { in ilbd_run_probe()

12345678910>>...13