Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 1589) sorted by relevance

12345678910>>...64

/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_stdio.c58 (void) close(cached_stdout_fd); in proc_initstdio()
63 (void) close(cached_stdout_fd); in proc_initstdio()
64 (void) close(cached_stderr_fd); in proc_initstdio()
71 (void) close(fd); in proc_initstdio()
72 (void) close(cached_stdout_fd); in proc_initstdio()
73 (void) close(cached_stderr_fd); in proc_initstdio()
77 (void) close(fd); in proc_initstdio()
82 (void) close(cached_stdout_fd); in proc_initstdio()
90 (void) close(fd); in proc_initstdio()
95 (void) close(fd); in proc_initstdio()
[all …]
H A Dproc_get_info.c68 (void) close(fd); in proc_get_cred()
89 (void) close(fd); in proc_get_secflags()
120 (void) close(fd); in proc_get_priv()
150 (void) close(fd); in proc_get_ldt()
160 (void) close(fd); in proc_get_ldt()
177 (void) close(fd); in proc_get_psinfo()
194 (void) close(fd); in proc_get_status()
217 (void) close(fd); in proc_get_auxv()
234 (void) close(fd); in proc_get_lwpsinfo()
/illumos-gate/usr/src/lib/libgen/common/
H A Dp2open.c78 (void) close(tocmd[0]); in __p2open()
79 (void) close(tocmd[1]); in __p2open()
80 (void) close(fromcmd[0]); in __p2open()
86 (void) close(tocmd[1]); in __p2open()
87 (void) close(0); in __p2open()
89 (void) close(tocmd[0]); in __p2open()
91 (void) close(1); in __p2open()
101 (void) close(tocmd[0]); in __p2open()
102 (void) close(fromcmd[1]); in __p2open()
138 (void) close(fds[0]); in __p2close()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_unix.c299 close(0);
305 close(1);
308 close(2);
314 close(io);
316 close(tfile);
400 close(tfile); in vi_filter()
426 close(io); in vi_filter()
458 close(2); in recover()
460 close(1); in recover()
471 close(1); in recover()
[all …]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dcmd.c106 close(output[0]); in cmd_execute_command()
107 close(error[0]); in cmd_execute_command()
112 if (close(STDOUT) == -1) { in cmd_execute_command()
120 close(output[1]); in cmd_execute_command()
125 if (close(STDERR) == -1) { in cmd_execute_command()
133 close(error[1]); in cmd_execute_command()
150 close(output[1]); in cmd_execute_command()
151 close(error[1]); in cmd_execute_command()
205 close(output[0]); in cmd_execute_command_and_retrieve_string()
233 close(output[1]); in cmd_execute_command_and_retrieve_string()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Drefer3.c18 #define move(x, y) close(y); dup(x); close(x);
35 close(fw1); in corout()
36 close(fr2); in corout()
42 close(fw2); in corout()
43 close(fr1); in corout()
45 close(fw1); in corout()
49 close(fr2); in corout()
H A Dglue3.c20 #define move(x, y) close(y); dup(x); close(x);
51 close(fw1); in corout()
52 close(fr2); in corout()
60 close(fw2); in corout()
61 close(fr1); in corout()
64 close(fw1); in corout()
68 close(fr2); in corout()
H A Dglue4.c48 close(0); in grepcall()
52 close(1); in grepcall()
56 close(0); in grepcall()
58 close(sv0); in grepcall()
59 close(1); in grepcall()
61 close(sv1); in grepcall()
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Dopenchild.c76 (void) close(0); in _openchild()
78 (void) close(1); in _openchild()
100 (void) close(pdto[0]); in _openchild()
102 (void) close(pdfrom[1]); in _openchild()
112 (void) close(pdfrom[0]); in _openchild()
113 (void) close(pdfrom[1]); in _openchild()
116 (void) close(pdto[0]); in _openchild()
117 (void) close(pdto[1]); in _openchild()
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c47 (void) close(pwdfd); in get_attrdirs()
53 (void) close(pwdfd); in get_attrdirs()
59 (void) close(pwdfd); in get_attrdirs()
65 (void) close(pwdfd); in get_attrdirs()
198 (void) close(asfd); in mv_xattrs()
200 (void) close(atfd); in mv_xattrs()
237 (void) close(sattrfd); in mv_xattrs()
241 (void) close(asfd); in mv_xattrs()
243 (void) close(atfd); in mv_xattrs()
245 (void) close(indfd); in mv_xattrs()
[all …]
H A Dwritefile.c138 (void) close(fi); in writefile()
139 (void) close(fo); in writefile()
162 (void) close(fi); in writefile()
163 (void) close(fo); in writefile()
182 (void) close(fi); in writefile()
183 (void) close(fo); in writefile()
202 (void) close(fi); in writefile()
203 (void) close(fo); in writefile()
212 (void) close(fi); in writefile()
213 (void) close(fo); in writefile()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmhandler.c338 (void) close(PCpipe[0]); in state_change()
546 (void) close(fd); in sigalarm()
563 (void) close(fd); in sigalarm()
613 (void) close(p0[1]); in pcsync_close()
614 (void) close(p1[0]); in pcsync_close()
617 (void) close(p0[0]); in pcsync_close()
618 (void) close(p1[1]); in pcsync_close()
620 (void) close(p0[0]); in pcsync_close()
621 (void) close(p1[1]); in pcsync_close()
624 (void) close(p0[1]); in pcsync_close()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c156 close(fd);
213 close(fd);
372 close(fd);
383 close(fd);
450 close(wfd);
529 close(sfd);
662 close(nfd);
777 close(nfd);
801 close(fd);
824 close(fd);
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dxqt.c69 (void) close(0);
70 (void) close(1);
71 (void) close(2);
108 (void) close(0);
109 (void) close(1);
110 (void) close(2);
128 (void) close(i);
H A Dcallers.c407 (void)close(dcf);
426 close(ndcf);
537 close(fd);
661 (void) close(ret);
746 (void)close(dcr);
767 (void) close(dcr);
775 (void) close(dcr);
783 (void)close(dcr2);
948 (void)close(dnf);
958 (void)close(dcf);
[all …]
H A Din.uucpd.c106 close(1); close(2);
131 close(s);
164 close(0); close(1); close(2);
166 close(tcp_socket); close(s);
170 close(s);
185 close(s);
192 close(0); close(1); close(2);
194 close(s);
415 (void) close(wtmp);
498 (void) close(wtmp);
/illumos-gate/usr/src/cmd/iscsiadm/
H A Dsun_ima.c183 (void) close(fd); in SUN_IMA_GetDiscoveryAddressPropertiesList()
196 (void) close(fd); in SUN_IMA_GetDiscoveryAddressPropertiesList()
243 (void) close(fd); in SUN_IMA_GetDiscoveryAddressPropertiesList()
279 (void) close(fd); in SUN_IMA_GetDiscoveryAddressPropertiesList()
303 (void) close(fd); in SUN_IMA_GetStaticTargetProperties()
312 (void) close(fd); in SUN_IMA_GetStaticTargetProperties()
442 (void) close(fd); in SUN_IMA_AddStaticTarget()
524 (void) close(fd); in SUN_IMA_GetTargetProperties()
654 (void) close(fd); in SUN_IMA_SetInitiatorRadiusConfig()
706 (void) close(fd); in SUN_IMA_GetInitiatorRadiusConfig()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c34 close(fd); in safechown()
40 close(fd); in safechown()
45 close(fd); in safechown()
53 close(fd); in safechown()
59 close(fd); in safechown()
65 close(fd); in safechown()
70 close(fd); in safechown()
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c76 (*net_data->gr->close)(net_data->gr); in net_data_destroy()
80 (*net_data->pw->close)(net_data->pw); in net_data_destroy()
84 (*net_data->sv->close)(net_data->sv); in net_data_destroy()
88 (*net_data->pr->close)(net_data->pr); in net_data_destroy()
92 (*net_data->ho->close)(net_data->ho); in net_data_destroy()
96 (*net_data->nw->close)(net_data->nw); in net_data_destroy()
100 (*net_data->ng->close)(net_data->ng); in net_data_destroy()
112 (*net_data->irs->close)(net_data->irs); in net_data_destroy()
181 (*net_data->irs->close)(net_data->irs); in net_data_create()
188 (*net_data->irs->close)(net_data->irs); in net_data_create()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dselfcheck.c79 (void) close(s); in self_check()
98 (void) close(s); in self_check()
143 (void) close(sock); in getmyaddrs()
150 (void) close(sock); in getmyaddrs()
162 (void) close(sock); in getmyaddrs()
168 (void) close(sock); in getmyaddrs()
186 close(sock); in Is_ipv6present()
189 close(sock); in Is_ipv6present()
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Ddiag.c247 (void) close(fd); in l_bp_bypass_enable()
251 (void) close(fd); in l_bp_bypass_enable()
260 (void) close(fd); in l_bp_bypass_enable()
267 (void) close(fd); in l_bp_bypass_enable()
282 (void) close(fd); in l_bp_bypass_enable()
296 (void) close(fd); in l_bp_bypass_enable()
351 (void) close(fd); in l_bp_bypass_enable()
375 (void) close(fd); in l_bp_bypass_enable()
381 (void) close(fd); in l_bp_bypass_enable()
533 (void) close(fd); in l_dev_bypass_enable()
[all …]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Ddn11.c42 (void) close(dn); in dn_dialer()
69 (void) close(dn); in dn_dialer()
80 (void) close(dn); in dn_dialer()
82 (void) close(FD); in dn_dialer()
108 (void) close(FD); in dn_disconnect()
120 (void) close(dn); in dn_abort()
123 (void) close(FD); in dn_abort()
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c279 (void) close(fd); in get_dev_list()
291 (void) close(fd); in get_dev_list()
308 (void) close(fd); in get_dev_list()
313 (void) close(fd); in get_dev_list()
361 (void) close(fd); in get_dev_info()
369 (void) close(fd); in get_dev_info()
397 (void) close(fd); in get_dev_info()
475 (void) close(fd); in get_soft_info()
500 (void) close(fd); in get_soft_info()
559 (void) close(fd); in get_soft_list()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Dpoll32 close(0);
42 close(pfd[1]);
43 close(sfd[1]);
51 close(pfd[0]);
52 close(sfd[0]);
57 close(pfd[0]);
58 close(sfd[0]);
64 close(sfd[0]);
80 close(0);
84 close(n);
[all …]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_exec.c196 (void) close(stdinfile); in z_ExecCmdArray()
205 (void) close(stdinfile); in z_ExecCmdArray()
265 (void) close(stdinfile); in z_ExecCmdArray()
317 (void) close(ipipe[0]); /* Close read side of pipe */ in z_ExecCmdArray()
538 (void) close(fd); in _zexec_init_template()
763 (void) close(stdinfile); in _z_zone_exec()
771 (void) close(stdinfile); in _z_zone_exec()
808 (void) close(tmpl_fd); in _z_zone_exec()
829 (void) close(tmpl_fd); in _z_zone_exec()
904 (void) close(tmpl_fd); in _z_zone_exec()
[all …]

12345678910>>...64