Home
last modified time | relevance | path

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

12345678910>>...70

/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_stdio.c56 (void) close(cached_stdout_fd); in proc_initstdio()
61 (void) close(cached_stdout_fd); in proc_initstdio()
62 (void) close(cached_stderr_fd); in proc_initstdio()
69 (void) close(fd); in proc_initstdio()
70 (void) close(cached_stdout_fd); in proc_initstdio()
71 (void) close(cached_stderr_fd); in proc_initstdio()
75 (void) close(fd); in proc_initstdio()
80 (void) close(cached_stdout_fd); in proc_initstdio()
81 (void) close(cached_stderr_fd); in proc_initstdio()
88 (void) close(fd); in proc_initstdio()
[all …]
H A Dproc_get_info.c69 (void) close(fd); in proc_get_cred()
90 (void) close(fd); in proc_get_secflags()
121 (void) close(fd); in proc_get_priv()
151 (void) close(fd); in proc_get_ldt()
161 (void) close(fd); in proc_get_ldt()
178 (void) close(fd); in proc_get_psinfo()
195 (void) close(fd); in proc_get_status()
218 (void) close(fd); in proc_get_auxv()
235 (void) close(fd); in proc_get_lwpsinfo()
252 (void) close(fd); in proc_get_lwpstatus()
/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()
81 (void) close(fromcmd[1]); in __p2open()
86 (void) close(tocmd[1]); in __p2open()
87 (void) close(0); in __p2open()
89 (void) close(tocmd[0]); in __p2open()
90 (void) close(fromcmd[0]); in __p2open()
91 (void) close(1); in __p2open()
93 (void) close(fromcmd[1]); in __p2open()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_unix.c289 close(pvec[0]);
290 close(pvec[1]);
299 close(0);
301 close(newstdin);
304 close(pvec[0]);
305 close(1);
308 close(2);
311 close(pvec[1]);
314 close(io);
316 close(tfile);
[all …]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dcmd.c104 close(output[0]); in cmd_execute_command()
105 close(error[0]); in cmd_execute_command()
110 if (close(STDOUT) == -1) { in cmd_execute_command()
118 close(output[1]); in cmd_execute_command()
123 if (close(STDERR) == -1) { in cmd_execute_command()
131 close(error[1]); in cmd_execute_command()
148 close(output[1]); in cmd_execute_command()
149 close(error[1]); in cmd_execute_command()
203 close(output[0]); in cmd_execute_command_and_retrieve_string()
208 if (close(STDOUT) == -1) { in cmd_execute_command_and_retrieve_string()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Drefer3.c16 #define move(x, y) close(y); dup(x); close(x);
33 close(fw1); in corout()
34 close(fr2); in corout()
40 close(fw2); in corout()
41 close(fr1); in corout()
43 close(fw1); in corout()
47 close(fr2); in corout()
H A Dglue3.c17 #define move(x, y) close(y); dup(x); close(x);
48 close(fw1); in corout()
49 close(fr2); in corout()
57 close(fw2); in corout()
58 close(fr1); in corout()
61 close(fw1); in corout()
65 close(fr2); in corout()
/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()
194 (void) close(sattrfd); in mv_xattrs()
196 (void) close(tattrfd); in mv_xattrs()
198 (void) close(asfd); in mv_xattrs()
200 (void) close(atfd); in mv_xattrs()
237 (void) close(sattrfd); in mv_xattrs()
239 (void) close(tattrfd); 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.c87 (void) close(pcpipe0[0]); in fork_tmchild()
88 (void) close(pcpipe0[1]); in fork_tmchild()
123 (void) close(pmptr->p_fd); in fork_tmchild()
177 (void) close(pmptr->p_fd); in got_data()
200 (void) close(pmptr->p_fd); in got_hup()
338 (void) close(PCpipe[0]); in state_change()
339 (void) close(PCpipe[1]); in state_change()
350 (void) close(pmptr->p_fd); in state_change()
443 (void) close(pmptr->p_fd); in kill_subprocesses()
546 (void) close(fd); in sigalarm()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c156 close(fd);
213 close(fd);
372 close(fd);
383 close(fd);
439 close(wfd);
446 close(wfd);
450 close(wfd);
483 close(sfd);
491 close(sfd);
529 close(sfd);
[all …]
/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()
216 (void) close(fd); in SUN_IMA_GetDiscoveryAddressPropertiesList()
229 (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()
434 (void) close(fd); in SUN_IMA_AddStaticTarget()
442 (void) close(fd); in SUN_IMA_AddStaticTarget()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dxqt.c66 (void) close(0);
67 (void) close(1);
68 (void) close(2);
105 (void) close(0);
106 (void) close(1);
107 (void) close(2);
125 (void) close(i);
H A Dcallers.c288 (void) close(nullfd = open("/", O_RDONLY));
290 (void) close(nullfd);
310 (void) close(nullfd);
403 (void)close(dcf);
422 close(ndcf);
533 close(fd);
657 (void) close(ret);
742 (void)close(dcr);
756 (void) close(nullfd = open("/", O_RDONLY));
760 (void) close(nullfd);
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c32 close(fd); in safechown()
38 close(fd); in safechown()
43 close(fd); in safechown()
51 close(fd); in safechown()
57 close(fd); in safechown()
63 close(fd); in safechown()
68 close(fd); in safechown()
/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()
322 (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()
[all …]
/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/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c279 (void) close(fd); in get_dev_list()
291 (void) close(fd); in get_dev_list()
299 (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()
486 (void) close(fd); in get_soft_info()
[all …]
/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/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/cmd/tip/aculib/
H A Ddn11.c40 (void) close(dn); in dn_dialer()
67 (void) close(dn); in dn_dialer()
78 (void) close(dn); in dn_dialer()
80 (void) close(FD); in dn_dialer()
106 (void) close(FD); in dn_disconnect()
118 (void) close(dn); in dn_abort()
121 (void) close(FD); in dn_abort()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c373 (void) close(fd); in create_keystore()
383 (void) close(fd); in create_keystore()
393 (void) close(fd); in create_keystore()
473 (void) close(fd); in create_keystore()
480 (void) close(fd); in create_keystore()
555 (void) close(*fd); in acquire_file_lock()
615 (void) close(fd); in open_and_lock_keystore_desc()
669 (void) close(desc_fd); in lock_desc_file()
705 (void) close(fd); in open_and_lock_object_file()
782 (void) close(tmp_fd); in create_updated_keystore_version()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/common/
H A Dopenpty.c42 (void) close(mfd); in openpty()
49 (void) close(mfd); in openpty()
56 (void) close(mfd); in openpty()
63 (void) close(mfd); in openpty()
64 (void) close(sfd); in openpty()
/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()
242 (void) close(ipipe[0]); /* close out pipe reader side */ in z_ExecCmdArray()
265 (void) close(stdinfile); in z_ExecCmdArray()
266 (void) close(ipipe[1]); /* Close write side of pipe */ 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()
[all …]

12345678910>>...70