/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_quota.c | 1150 (void) close(dirfd); 1159 (void) close(dirfd); 1180 (void) close(dirfd); 1189 (void) close(dirfd); 1197 (void) close(newfd); 1208 (void) close(afd);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSUNP.c | 206 assert(close(sockfd) == 0); 512 (void) close(sockfd); 517 (void) close(sockfd); 789 junk = close(sockfd); 793 junk = close(sockf6); 1032 (void)close (fd);
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 594 * we have numbers that are very close to an order of magnitude. 630 (void) close(hdl->libzfs_fd); 638 (void) close(hdl->libzfs_fd); 656 (void) close(hdl->libzfs_fd); 1538 (void) close(fd); 1544 (void) close(fd); 1554 if (close(fd) == -1) {
|
/illumos-gate/usr/src/lib/libadt_jni/ |
H A D | auditxml_jni | 748 close Sfile; 763 close Cfile; 764 close Jfile; 765 close MapFile; 1139 close Event;
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 380 (void) close(i); 474 #define MAPDEF(name, ext, flags, parse, open, close, lookup, store) \ 478 extern void close __P((MAP *)); \ 487 s->s_mapclass.map_close = close; \ 1518 (void) close(kmem); 1603 (void) close(kmem); 1841 (void) close(kmem); 1912 /* kstat_close(kc); /o do not close for fast access */ 2551 (void) close(kmem); 2558 (void) close(kme [all...] |
H A D | map.c | 465 ** will close already open rebuildable map. 499 /* if already open, close it (for nested open) */ 597 ** CLOSEMAPS -- close all open maps opened by the current pid. 600 ** bogus -- only close bogus maps. 613 ** MAP_CLOSE -- close a map opened by the current pid. 616 ** s -- STAB entry: if map: try to close 617 ** bogus -- only close bogus maps or MCF_NOTPERSIST maps. 638 ** close the map iff: 1522 (void) close(dirfd); 1524 (void) close(pagf [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 123 (void) close(mapfd); 127 (void) close(mapfd); 170 (void) close(fd); 411 (void) close(fd); 415 * Mark it close-on-exec so any created process doesn't inherit it. 669 * Set run-on-last-close so the controlled process 792 (void) close(P->ctlfd); 794 (void) close(P->asfd); 796 (void) close(P->statfd); 981 * to stop via /proc, do not set run-on-last-close [all...] |
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 766 (void) close(Gen.g_dirfd); 804 (void) close(Gen.g_passdirfd); 808 (void) close(Gen.g_dirfd); 822 if (close(Ofile) != 0) 823 msg(EXTN, "close error"); 826 if (close(Archive) != 0) 827 msg(EXTN, "close error"); 1028 * close the current medium and prompt the user for the next medium. 1052 if ((close(Archive) != 0) && (dir == OUTPUT)) 1053 msg(EXTN, "close erro [all...] |
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 323 httpClose(http_t *http) /* I - Connection to close */ 344 close(http->fd); 543 close(http->fd); 619 close(http->fd); 642 close(http->fd); 1604 close(http->fd); 1943 * If there is no content-length then the connection must close 2267 close(http->fd); 2396 close(http->fd);
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | os.c | 176 ** If you close a file descriptor that points to a file that has locks, 181 ** openCnt. When an attempt is made to close an OsFile, if there are 183 ** to close() the file descriptor is deferred until all of the locks clear. 191 ** separate processes in this respect. But, if you close a file 200 ** key because close() clears lock on all threads, not just the current 246 ** inode. If a close is attempted against an inode that is holding 247 ** locks, the close is deferred until all locks clear by adding the 254 int nPending; /* Number of pending close() operations */ 255 int *aPending; /* Malloced space holding fd's awaiting a close() */ 487 close(i [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 291 (void) close(fd); 294 (void) close(fd); 925 (void) close(fd); 996 (void) close(fd); 1129 (void) close(fd); 1133 (void) close(fd); 1674 (void) close(fd);
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 323 (void) close(fd); 373 (void) close(fd); 399 (void) close(fd); 439 (void) close(fd); 483 fatal("failed to close output file '%s'", g_ofile); 1301 (void) close(fd); 1307 (void) close(fd); 1312 (void) close(fd); 1653 fatal("failed to close output file '%s'", g_ofile);
|
/illumos-gate/usr/src/cmd/ed/ |
H A D | ed.c | 806 close(io); 832 if (close(open(file, O_WRONLY)) < 0) 1264 #ifdef NULLS /* Not really nulls, but close enough */ 1582 close(tfile); 1785 (void) close(tfile); 2689 close(w_or_r(pf[1], pf[0])); 2690 close(w_or_r(0, 1)); 2692 close(w_or_r(pf[0], pf[1])); 2698 close(w_or_r(pf[0], pf[1])); 2706 close( [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/ |
H A D | volcopy.c | 551 close(In.f_des); 552 close(Out.f_des); 911 (void) close(In.f_des); 971 (void) close(Out.f_des); 1413 close(fd); 1529 (void) close(f_p->f_des); 1580 close(f_p->f_des);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_open.c | 774 (void) close(fd); 896 * we have the DTrace driver open, we can safely close all the providers 908 (void) close(df.df_fds[df.df_ents]); 1372 (void) close(dtp->dt_fd); 1374 (void) close(dtp->dt_ftfd); 1376 (void) close(dtp->dt_cdefs_fd); 1378 (void) close(dtp->dt_ddefs_fd); 1380 (void) close(dtp->dt_stdout_fd);
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 1802 * If we have reached the end of inittab, then close it 2231 * Always close the previous pipe descriptor as the mounted filesystems 2235 (void) close(Pfd); 2611 * notify_pam_dead(): calls into the PAM framework to close the given session. 3010 (void) close(fd); 3953 (void) close(st_fd); 3966 (void) close(st_fd); 4042 (void) close(st_fd); 4054 (void) close(st_fd); 4138 (void) close(legacy_tmp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 262 (void) close(t); 271 (void) close(t); 1347 (void) close(sock); 1355 (void) close(sock); 1391 (void) close(sock); 1441 (void) close(sock); 1617 (void) close(sock); 1620 (void) close(sock); 2218 (void) close(sock);
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_net.c | 231 (void) close(sockfd); 305 (void) close(sockfd); 392 /* close all fds in pfd */ 538 (void) close(tcp_sockfd); 544 (void) close(tcp_sockfd); 1113 (void) close(pfds[i].fd);
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ctx.c | 401 close(ctx->ct_dev_fd); 405 close(ctx->ct_door_fd); 409 close(ctx->ct_tran_fd); 1174 close(ctx->ct_dev_fd); 1195 close(fd);
|
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 610 (void) close(fcoe_fd); 710 (void) close(fcoe_fd); 761 (void) close(fcoe_fd); 774 (void) close(fcoe_fd); 825 (void) close(fcoe_fd);
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 628 (void) close(s); 632 (void) close(s); 703 (void) close(tmp_fd); 711 (void) close(tmp_fd); 726 (void) close(tmp_fd);
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_bind.c | 414 (void) fcntl(fd, F_SETFD, 1); /* make it "close on exec" */ 562 * descriptor is okay (application did not close it). 1093 (void) close(fd); 1099 (void) close(fd); 1103 (void) close(fd); 1161 (void) close(fd); 1165 (void) close(fd); 1196 /* it's not our file descriptor, so don't try to close it */ 1204 /* it's not our file descriptor, so don't try to close it */
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones.c | 256 /* close admin file and return success */ 557 /* close the index file */ 1063 /* close the index file */ 2087 (void) close(tmpl_fd); 2108 (void) close(tmpl_fd); 2117 * close all file descriptors not in the a_fds list 2139 (void) close(stdoutfd); 2159 (void) close(stderrfd); 2216 (void) close(tmpl_fd);
|
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | transport.c | 86 #define NP_CLOSE -1 /* notification pipe - close message */ 283 (void) close(sock); 1034 case NP_CLOSE: /* close and remove recv_fd */ 1319 (void) close(sockfd); 1371 (void) close(sockfd); 1399 (void) close(notify_pipe[0]); 1400 (void) close(notify_pipe[1]);
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ucbps.c | 430 (void) close(psfd); 432 (void) close(asfd); 440 (void) close(psfd); 482 (void) close(asfd); 524 (void) close(asfd);
|