Symbol: close
bin/cat/cat.c
254
close(fd);
bin/cat/cat.c
258
close(fd);
bin/cat/cat.c
277
(void)close(fd);
bin/chio/chio.c
839
(void)close(changer_fd);
bin/cp/utils.c
144
(void)close(from_fd);
bin/cp/utils.c
153
(void)close(from_fd);
bin/cp/utils.c
175
(void)close(from_fd);
bin/cp/utils.c
266
(void)close(from_fd);
bin/cp/utils.c
269
(void)close(to_fd);
bin/cp/utils.c
292
if (close(to_fd)) {
bin/csh/csh.c
1354
return close(DESC(oreo));
bin/csh/csh.c
664
(void)close(SHIN);
bin/csh/csh.c
796
(void)close(unit);
bin/csh/csh.c
856
(void)close(SHIN), SHIN = oSHIN;
bin/csh/csh.c
914
(void)close(fp);
bin/csh/exec.c
294
(void)close(fd);
bin/csh/exec.c
305
(void)close(fd);
bin/csh/exec.c
408
(void)close(SHIN);
bin/csh/exec.c
409
(void)close(SHOUT);
bin/csh/exec.c
410
(void)close(SHERR);
bin/csh/exec.c
411
(void)close(OLDSTD);
bin/csh/func.c
1426
(void)close(SHIN);
bin/csh/func.c
1428
(void)close(SHOUT);
bin/csh/func.c
1430
(void)close(SHERR);
bin/csh/func.c
389
(void) close(SHIN);
bin/csh/glob.c
667
(void)close(pvec[0]);
bin/csh/glob.c
709
(void)close(pvec[1]);
bin/csh/glob.c
761
(void)close(pvec[0]);
bin/csh/misc.c
243
(void) close(f);
bin/csh/misc.c
249
(void)close(0);
bin/csh/misc.c
250
(void)close(1);
bin/csh/misc.c
251
(void)close(2);
bin/csh/misc.c
269
(void)close(i);
bin/csh/misc.c
274
(void)close(i);
bin/csh/misc.c
302
(void)close(k);
bin/csh/sem.c
101
(void)close(0);
bin/csh/sem.c
104
(void)close(0);
bin/csh/sem.c
350
(void)close(pipein[0]);
bin/csh/sem.c
351
(void)close(pipein[1]);
bin/csh/sem.c
365
(void)close(pipeout[0]);
bin/csh/sem.c
366
(void)close(pipeout[1]);
bin/csh/sem.c
386
(void) close(SHIN);
bin/csh/sem.c
552
(void)close(0);
bin/csh/sem.c
554
(void)close(pipein[0]);
bin/csh/sem.c
555
(void)close(pipein[1]);
bin/csh/sem.c
558
(void)close(0);
bin/csh/sem.c
562
(void)close(0);
bin/csh/sem.c
601
(void)close(1);
bin/csh/sem.c
605
(void)close(1);
bin/csh/sem.c
610
(void)close(2);
bin/date/netdate.c
185
(void)close(s);
bin/date/netdate.c
198
(void)close(s);
bin/dd/dd.c
102
.op_close = close,
bin/dd/dd_hostops.c
44
.op_close = close,
bin/ed/buf.c
233
close(fd);
bin/ksh/c_sh.c
850
close(e->savefd[i]);
bin/ksh/eval.c
886
close(pv[1]);
bin/ksh/exec.c
1221
close(iop->unit);
bin/ksh/exec.c
1229
close(u);
bin/ksh/exec.c
1233
close(u);
bin/ksh/exec.c
1292
close(fd);
bin/ksh/exec.c
1310
close(fd);
bin/ksh/exec.c
234
close(pv[0]);
bin/ksh/exec.c
414
close(i);
bin/ksh/history.c
1166
(void) close(histfd);
bin/ksh/history.c
583
(void) close(histfd);
bin/ksh/history.c
970
close(fd);
bin/ksh/history.c
975
close(fd);
bin/ksh/history.c
984
close(fd);
bin/ksh/io.c
264
close(fd);
bin/ksh/io.c
278
close(fd);
bin/ksh/io.c
281
close(ofd);
bin/ksh/io.c
299
close(pv[0]);
bin/ksh/io.c
300
close(pv[1]);
bin/ksh/io.c
365
close(coproc.read);
bin/ksh/io.c
378
close(coproc.readw);
bin/ksh/io.c
391
close(coproc.write);
bin/ksh/io.c
423
close(coproc.read);
bin/ksh/io.c
427
close(coproc.readw);
bin/ksh/io.c
432
close(coproc.write);
bin/ksh/jobs.c
544
close(j_sync_pipe[ischild]);
bin/ksh/jobs.c
577
close(j_sync_pipe[0]);
bin/ksh/jobs.c
587
close(close_fd);
bin/ksh/jobs.c
620
close(fd);
bin/ksh/main.c
734
close(ep->savefd[fd]);
bin/ksh/shf.c
227
if (close(shf->fd) < 0)
bin/ksh/shf.c
247
if (close(shf->fd) < 0)
bin/ksh/shf.c
63
close(fd);
bin/ksh/tty.c
107
close(tty_fd);
bin/ksh/tty.c
138
close(tty_fd);
bin/ksh/tty.c
143
close(tfd);
bin/ksh/tty.c
150
close(tty_fd);
bin/mv/mv.c
289
(void)close(from_fd);
bin/mv/mv.c
295
(void)close(from_fd);
bin/mv/mv.c
296
(void)close(to_fd);
bin/mv/mv.c
318
(void)close(from_fd);
bin/mv/mv.c
319
(void)close(to_fd);
bin/mv/mv.c
326
(void)close(from_fd);
bin/mv/mv.c
361
if (close(to_fd)) {
bin/pax/ar_io.c
137
(void)close(arfd);
bin/pax/ar_io.c
1595
close(fds[0]);
bin/pax/ar_io.c
1596
close(fds[1]);
bin/pax/ar_io.c
1607
close(fds[0]);
bin/pax/ar_io.c
1608
close(fds[1]);
bin/pax/ar_io.c
213
(void)close(arfd);
bin/pax/ar_io.c
221
(void)close(arfd);
bin/pax/ar_io.c
418
(void)close(arfd);
bin/pax/dumptar.c
122
(void)close(fd);
bin/pax/file_subs.c
1120
(void)close(*fd);
bin/pax/file_subs.c
197
if (close(fd) < 0)
bin/pax/file_subs.c
232
if (close(fd) < 0)
bin/pax/tables.c
1273
(void)close(dirfd);
bin/pax/tty_subs.c
89
(void)close(ttyfd);
bin/rcp/rcp.c
325
(void)close(rem);
bin/rcp/rcp.c
389
next: (void)close(fd);
bin/rcp/rcp.c
419
if (close(fd) && !haderr)
bin/rcp/rcp.c
656
(void)close(ofd);
bin/rcp/rcp.c
719
(void)close(ofd);
bin/rm/rm.c
506
if (close(fd) == -1) {
bin/rm/rm.c
516
close(fd);
bin/sh/cd.c
521
(void) close(pip[0]);
bin/sh/cd.c
526
(void) close(pip[1]);
bin/sh/cd.c
534
(void) close(pip[0]);
bin/sh/eval.c
1241
close(pip[0]);
bin/sh/eval.c
1543
close(pip[1]);
bin/sh/eval.c
162
close(fds[0]);
bin/sh/eval.c
170
close(fds[1]);
bin/sh/eval.c
724
close(prevfd);
bin/sh/eval.c
734
close(pip[0]);
bin/sh/eval.c
740
close(prevfd);
bin/sh/eval.c
742
close(pip[1]);
bin/sh/eval.c
800
close(pip[0]);
bin/sh/eval.c
805
close(pip[1]);
bin/sh/expand.c
734
close(in.fd);
bin/sh/histedit.c
450
close(fd);
bin/sh/histedit.c
458
close(fd);
bin/sh/histedit.c
547
close(fd);
bin/sh/histedit.c
812
close(fd);
bin/sh/input.c
509
(void)close(fd);
bin/sh/input.c
514
(void)close(fd);
bin/sh/input.c
521
(void) close(fd);
bin/sh/jobs.c
1475
close(0);
bin/sh/jobs.c
1486
close(0);
bin/sh/redir.c
199
close(rl->orig);
bin/sh/redir.c
215
close(rl->into);
bin/sh/redir.c
306
(void)close(fd);
bin/sh/redir.c
417
close(f);
bin/sh/redir.c
421
close(f);
bin/sh/redir.c
459
(void) close(fd);
bin/sh/redir.c
527
close(pip[0]);
bin/sh/redir.c
541
close(pip[1]);
bin/sh/redir.c
623
close(rl->into);
bin/sh/redir.c
654
close(from);
bin/sh/redir.c
661
close(newfd);
bin/sh/redir.c
692
(void)close(to);
bin/sh/redir.c
696
(void) close(from);
bin/sh/redir.c
716
close(fd);
bin/sh/redir.c
749
close(fd);
bin/sh/redir.c
797
(void)close(fd);
bin/sh/redir.c
859
(void)close(fp->fd);
bin/sh/show.c
155
(void) close(fd);
bin/sh/show.c
174
(void) close(tracedata.tfd); /* usually done by fclose() */
bin/sh/var.c
1748
close(fd);
bin/stty/key.c
215
close(f);
common/dist/zlib/examples/gun.c
574
close(infile);
common/dist/zlib/examples/gun.c
583
if (outfile > 2) close(outfile);
common/dist/zlib/examples/gun.c
584
if (infile > 2) close(infile);
common/dist/zlib/examples/gzappend.c
453
close(gd);
common/dist/zlib/examples/gzappend.c
459
if (fd > 0) close(fd);
common/dist/zlib/examples/gzjoin.c
91
close(in->fd);
common/dist/zlib/examples/gzlog.c
1020
if (ret | close(fd))
common/dist/zlib/examples/gzlog.c
363
close(fd);
common/dist/zlib/examples/gzlog.c
632
close(fd);
common/dist/zlib/examples/gzlog.c
764
close(fd);
common/dist/zlib/examples/gzlog.c
801
close(log->fd);
common/dist/zlib/examples/gzlog.c
822
close(log->fd);
common/dist/zlib/examples/gzlog.c
959
if (ret | close(fd))
common/dist/zlib/examples/gzlog.c
970
if (ret | close(fd))
common/dist/zlib/gzread.c
665
ret = close(state->fd);
common/dist/zlib/gzwrite.c
698
if (close(state->fd) == -1)
common/lib/libc/cdb/cdbr.c
133
close(fd);
common/lib/libc/cdb/cdbr.c
138
close(fd);
common/lib/libc/cdb/cdbr.c
146
close(fd);
common/lib/libprop/prop_extern.c
627
(void) close(fd);
common/lib/libprop/prop_intern.c
1010
(void) close(fd);
common/lib/libprop/prop_intern.c
1016
(void) close(fd);
common/lib/libprop/prop_intern.c
1031
(void) close(fd);
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1856
(void)close(so);
crypto/dist/ipsec-tools/src/racoon/admin.c
161
(void)close(so2);
crypto/dist/ipsec-tools/src/racoon/admin.c
723
(void)close(lcconf->sock_admin);
crypto/dist/ipsec-tools/src/racoon/admin.c
732
(void)close(lcconf->sock_admin);
crypto/dist/ipsec-tools/src/racoon/admin.c
740
(void)close(lcconf->sock_admin);
crypto/dist/ipsec-tools/src/racoon/admin.c
748
(void)close(lcconf->sock_admin);
crypto/dist/ipsec-tools/src/racoon/admin.c
763
close(lcconf->sock_admin);
crypto/dist/ipsec-tools/src/racoon/dump.c
120
close(fd);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
569
close(fd);
crypto/dist/ipsec-tools/src/racoon/evt.c
251
close(l->fd);
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
316
close(lcconf->rtsock);
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
651
close(fd);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1716
close(fd);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1724
close(fd);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
139
close(fd);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
142
close(fd);
crypto/dist/ipsec-tools/src/racoon/kmpstat.c
113
(void)close(so);
crypto/dist/ipsec-tools/src/racoon/kmpstat.c
125
(void)close(so);
crypto/dist/ipsec-tools/src/racoon/main.c
317
close(0);
crypto/dist/ipsec-tools/src/racoon/pfkey.c
378
close(s);
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
267
close(fd);
crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c
285
close(fdin);
crypto/dist/ipsec-tools/src/racoon/privsep.c
234
(void)close(privsep_sock[0]);
crypto/dist/ipsec-tools/src/racoon/privsep.c
295
(void)close((int)sc);
crypto/dist/ipsec-tools/src/racoon/privsep.c
578
close(s);
crypto/dist/ipsec-tools/src/racoon/privsep.c
582
close(s);
crypto/dist/ipsec-tools/src/racoon/privsep.c
623
close(bind_args.s);
crypto/dist/ipsec-tools/src/racoon/privsep.c
633
close(bind_args.s);
crypto/dist/ipsec-tools/src/racoon/privsep.c
687
close(sockopt_args.s);
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
318
close(so);
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
322
close(so);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
170
close(s);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
177
close(s);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
181
close(s);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
529
close(sendsock);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
539
close(sendsock);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
544
close(sendsock);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
552
close(sendsock);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
564
close(sendsock);
crypto/dist/ipsec-tools/src/racoon/sockmisc.c
575
close(sendsock);
crypto/dist/ipsec-tools/src/setkey/setkey.c
847
close(fd);
crypto/dist/ipsec-tools/src/setkey/setkey.c
855
close(fd);
crypto/dist/ipsec-tools/src/setkey/setkey.c
859
close(fd);
dist/pf/libexec/tftp-proxy/tftp-proxy.c
199
close(fd);
dist/pf/libexec/tftp-proxy/tftp-proxy.c
200
close(1);
dist/pf/sbin/pfctl/pfctl_altq.c
1102
if (close(s) == -1)
dist/pf/sbin/pfctl/pfctl_altq.c
1119
if (close(s))
dist/pf/sbin/pfctl/pfctl_altq.c
1139
if (close(s) == -1)
dist/pf/sbin/pfctl/pfctl_parser.c
1246
close(s);
dist/pf/sbin/pfctl/pfctl_parser.c
1249
close(s);
dist/pf/sbin/pfctl/pfctl_parser.c
1278
close(s);
dist/pf/sbin/pfctl/pfctl_parser.c
1301
close(s);
dist/pf/sbin/pflogd/pflogd.c
241
if (close(s))
dist/pf/sbin/pflogd/pflogd.c
339
close(fd);
dist/pf/sbin/pflogd/privsep.c
124
close(socks[0]);
dist/pf/sbin/pflogd/privsep.c
139
close(socks[1]);
dist/pf/sbin/pflogd/privsep.c
174
close(fd);
dist/pf/sbin/pflogd/privsep.c
226
close(fd);
dist/pf/usr.sbin/authpf/authpf.c
204
close(pidfd);
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
308
close(s->client_fd);
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
310
close(s->server_fd);
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
415
close(client_fd);
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
423
close(client_fd);
distrib/utils/edlabel/edlabel.c
375
close(fd);
distrib/utils/edlabel/edlabel.c
399
close(fd);
distrib/utils/libhack/opendir.c
68
close(fd);
distrib/utils/libhack/opendir.c
73
close(fd);
distrib/utils/libhack/opendir.c
86
close (fd);
distrib/utils/more/main.c
139
(void)close(f);
distrib/utils/more/main.c
149
(void)close(file);
distrib/utils/more/os.c
117
(void)close(0);
distrib/utils/more/os.c
146
(void)close(0);
distrib/utils/more/os.c
148
(void)close(inp);
distrib/utils/ssh/ssh.c
568
close(setfd);
distrib/utils/ssh/ssh.c
575
close(newfd);
distrib/utils/zcat/zcat.c
71
if (close(out))
games/backgammon/common_source/save.c
108
close(fdesc);
games/backgammon/common_source/save.c
134
close(fdesc);
games/backgammon/common_source/save.c
165
close(fdesc);
games/canfield/canfield/canfield.c
1656
close(dbfd);
games/canfield/canfield/canfield.c
1662
close(dbfd);
games/canfield/canfield/canfield.c
1719
close(dbfd);
games/fortune/fortune/fortune.c
1084
(void) close(fd);
games/fortune/fortune/fortune.c
1118
(void) close(fd);
games/fortune/fortune/fortune.c
229
close(fd);
games/fortune/fortune/fortune.c
695
(void) close(fp->fd);
games/hack/hack.bones.c
146
(void) close(fd);
games/hack/hack.bones.c
166
(void) close(fd);
games/hack/hack.bones.c
92
(void) close(fd);
games/hack/hack.do.c
231
(void) close(fd);
games/hack/hack.do.c
247
(void) close(fd);
games/hack/hack.main.c
111
close(fd);
games/hack/hack.main.c
574
(void) close(fd);
games/hack/hack.pager.c
390
(void) close(0);
games/hack/hack.pager.c
401
(void) close(fd);
games/hack/hack.save.c
139
(void) close(fd);
games/hack/hack.save.c
146
(void) close(ofd);
games/hack/hack.save.c
151
(void) close(fd);
games/hack/hack.save.c
177
(void) close(fd);
games/hack/hack.save.c
202
(void) close(nfd);
games/hack/hack.save.c
206
(void) close(fd);
games/hack/hack.unix.c
258
(void) close(fd);
games/hack/hack.unix.c
317
(void) close(fd);
games/hack/hack.unix.c
334
if (close(fd) == -1) {
games/hunt/hunt/hunt.c
315
} while (close(huntsocket) == 0);
games/hunt/hunt/hunt.c
339
(void) close(huntsocket);
games/hunt/hunt/hunt.c
451
(void) close(s);
games/hunt/hunt/hunt.c
485
(void) close(huntsocket);
games/hunt/hunt/hunt.c
589
(void) close(huntsocket);
games/hunt/hunt/playit.c
192
(void) close(huntsocket);
games/hunt/hunt/playit.c
453
(void) close(huntsocket);
games/hunt/hunt/server.c
343
(void) close(contactsock);
games/hunt/huntd/answer.c
170
(void) close(newsock);
games/hunt/huntd/answer.c
183
(void) close(newsock);
games/hunt/huntd/answer.c
195
(void) close(newsock);
games/hunt/huntd/driver.c
940
(void) close(huntsock);
games/hunt/huntd/driver.c
975
(void) close(s);
games/larn/bill.c
155
close(fd);
games/larn/io.c
534
close(io_infd);
games/larn/io.c
549
close(io_outfd);
games/larn/scores.c
827
close(fd7);
games/mille/save.c
123
close(outfd);
games/mille/save.c
165
close(inf);
games/phantasia/setup.c
123
close(fd); /* close newly created file */
games/robots/main.c
123
close(score_wfd);
games/robots/score.c
234
close(inf);
games/rogue/init.c
97
close(fd);
games/rogue/machdep.c
457
(void)close(fd);
games/sail/dr_3.c
336
struct ship *close;
games/sail/dr_3.c
345
close = closestenemy(sp, 0, 0);
games/sail/dr_3.c
346
if (close != 0) {
games/sail/dr_3.c
347
if (range(sp, close) > 9)
games/sail/dr_main.c
102
close(driver_wait_fd);
games/sail/dr_main.c
146
close(fds[0]);
games/sail/dr_main.c
152
close(fds[0]);
games/sail/dr_main.c
153
close(fds[1]);
games/sail/dr_main.c
158
close(fds[1]);
games/sail/dr_main.c
160
close(fds[0]);
games/sail/main.c
75
close(fd);
games/tetris/scores.c
557
close(sd);
games/tetris/scores.c
562
close(sd);
games/tetris/scores.c
647
close(sd);
games/tetris/tetris.c
149
close(fd);
games/trek/dumpgame.c
104
close(fd);
games/trek/dumpgame.c
131
close(fd);
games/trek/dumpgame.c
135
close(fd);
include/db.h
117
int (*close) (struct __db *);
include/unistd.h
96
int close(int);
lib/libarch/alpha/alpha_bus_window.c
98
(void) close(fd);
lib/libarch/alpha/alpha_pci_mem.c
116
(void) close(fd);
lib/libbluetooth/bluetooth.h
133
#define bt_devclose(s) close(s)
lib/libbluetooth/bt_dev.c
102
close(s);
lib/libbluetooth/bt_dev.c
135
close(s);
lib/libbluetooth/bt_dev.c
172
close(s);
lib/libbluetooth/bt_dev.c
178
close(s);
lib/libbluetooth/bt_dev.c
183
close(s);
lib/libbluetooth/bt_dev.c
189
close(s);
lib/libbluetooth/bt_dev.c
258
close(kq);
lib/libbluetooth/bt_dev.c
262
close(kq);
lib/libbluetooth/bt_dev.c
612
close(s);
lib/libbluetooth/bt_dev.c
626
close(s);
lib/libbluetooth/bt_dev.c
683
close(s);
lib/libbluetooth/bt_dev.c
770
close(s);
lib/libbluetooth/bt_dev.c
840
close(s);
lib/libbluetooth/bt_dev.c
867
close(s);
lib/libbluetooth/bt_dev.c
872
close(fd);
lib/libbluetooth/bt_dev.c
873
close(s);
lib/libbluetooth/bt_dev.c
885
close(fd);
lib/libbluetooth/bt_dev.c
886
close(s);
lib/libbluetooth/bt_dev.c
892
close(fd);
lib/libbluetooth/bt_dev.c
897
close(s);
lib/libbluetooth/sdp_session.c
152
close(ss->s);
lib/libc/citrus/citrus_mmap.c
85
(void)close(fd);
lib/libc/db/btree/bt_close.c
107
return (close(fd) ? RET_ERROR : RET_SUCCESS);
lib/libc/db/btree/bt_open.c
182
dbp->close = __bt_close;
lib/libc/db/btree/bt_open.c
337
(void)close(t->bt_fd);
lib/libc/db/db/dbfile.c
117
close(fd);
lib/libc/db/db/dbfile.c
72
close(fd);
lib/libc/db/hash/hash.c
203
dbp->close = hash_close;
lib/libc/db/hash/hash.c
238
(void)close(hashp->fp);
lib/libc/db/hash/hash.c
430
(void)close(hashp->fp);
lib/libc/db/hash/ndbm.c
86
(void)(db->close)(db);
lib/libc/db/recno/rec_close.c
89
if (close(t->bt_rfd))
lib/libc/db/recno/rec_open.c
191
dbp->close = __rec_close;
lib/libc/db/recno/rec_open.c
220
(void)close(rfd);
lib/libc/gen/closedir.c
84
return(close(fd));
lib/libc/gen/daemon.c
76
(void)close(fd);
lib/libc/gen/fts.c
1238
(void)close(fd);
lib/libc/gen/fts.c
275
(void)close(sp->fts_cur->fts_symfd);
lib/libc/gen/fts.c
295
(void)close(sp->fts_rfd);
lib/libc/gen/fts.c
386
(void)close(p->fts_symfd);
lib/libc/gen/fts.c
517
(void)close(p->fts_symfd);
lib/libc/gen/fts.c
522
(void)close(p->fts_symfd);
lib/libc/gen/fts.c
618
(void)close(fd);
lib/libc/gen/fts.c
621
(void)close(fd);
lib/libc/gen/getcap.c
331
(void)capdbp->close(capdbp);
lib/libc/gen/getcap.c
337
(void)capdbp->close(capdbp);
lib/libc/gen/getcap.c
342
if (capdbp->close(capdbp) < 0) {
lib/libc/gen/getcap.c
397
(void)close(fd);
lib/libc/gen/getcap.c
464
(void)close(fd);
lib/libc/gen/getcap.c
561
(void)close(fd);
lib/libc/gen/getcap.c
610
(void)close(fd);
lib/libc/gen/getcap.c
644
(void)close(fd);
lib/libc/gen/getnetgrent.c
698
(void)(*_ng_db->close)(_ng_db);
lib/libc/gen/getpass.c
302
(void)close(fd[0]);
lib/libc/gen/getpwent.c
1740
(void)(state->db->close)(state->db);
lib/libc/gen/getpwent.c
1748
(void)(state->exclude->close)(state->exclude);
lib/libc/gen/getpwent.c
439
(void)(state->db->close)(state->db);
lib/libc/gen/initdir.c
155
(void) close(fd);
lib/libc/gen/nlist.c
126
(void)close(fd);
lib/libc/gen/opendir.c
87
(void)close(fd);
lib/libc/gen/popen.c
113
(void)close(pdes[0]);
lib/libc/gen/popen.c
114
(void)close(pdes[1]);
lib/libc/gen/popen.c
129
(void)close(old->fd); /* don't allow a flush */
lib/libc/gen/popen.c
131
(void)close(fileno(old->fp)); /* don't allow a flush */
lib/libc/gen/popen.c
135
(void)close(pdes[0]);
lib/libc/gen/popen.c
138
(void)close(pdes[1]);
lib/libc/gen/popen.c
143
(void)close(pdes[1]);
lib/libc/gen/popen.c
146
(void)close(pdes[0]);
lib/libc/gen/popen.c
162
(void)close(pdes[1]);
lib/libc/gen/popen.c
168
(void)close(pdes[0]);
lib/libc/gen/popen.c
182
(void)close(pdes[0]);
lib/libc/gen/popen.c
183
(void)close(pdes[1]);
lib/libc/gen/utmpx.c
359
if (close(fd) == -1)
lib/libc/gen/utmpx.c
365
(void) close(fd);
lib/libc/gen/utmpx.c
460
(db->close)(db);
lib/libc/gen/utmpx.c
486
(db->close)(db);
lib/libc/gen/wordexp.c
125
close(pdes[1]);
lib/libc/gen/wordexp.c
135
close(pdes[0]);
lib/libc/gen/wordexp.c
139
close(pdes[1]);
lib/libc/gen/wordexp.c
146
close(devnull);
lib/libc/gen/wordexp.c
160
close(pdes[1]);
lib/libc/gen/xsyslog.c
122
(void)close(data->log_file);
lib/libc/gen/xsyslog.c
359
(void)close(fd);
lib/libc/gen/xsyslog.c
70
(void)close(data->log_file);
lib/libc/gen/xsyslog.c
96
(void)close(data->log_file);
lib/libc/gmon/gmon.c
455
(void)close(fd);
lib/libc/gmon/gmon.c
495
(void)close(fd);
lib/libc/gmon/gmon.c
497
(void)close(logfd);
lib/libc/hash/hashhl.c
103
close(fd);
lib/libc/hash/hashhl.c
109
close(fd);
lib/libc/hash/hashhl.c
121
close(fd);
lib/libc/md/mdXhl.c
90
close(f);
lib/libc/net/getaddrinfo.c
1249
close(s);
lib/libc/net/getaddrinfo.c
940
close(s);
lib/libc/net/if_nametoindex.c
86
close(s);
lib/libc/net/if_nametoindex.c
89
close(s);
lib/libc/net/rcmd.c
236
(void)close(s);
lib/libc/net/rcmd.c
291
(void)close(s2);
lib/libc/net/rcmd.c
306
(void)close(s2);
lib/libc/net/rcmd.c
310
(void)close(s2);
lib/libc/net/rcmd.c
356
(void)close(*fd2p);
lib/libc/net/rcmd.c
358
(void)close(s);
lib/libc/net/rcmd.c
419
(void)close(sp[0]);
lib/libc/net/rcmd.c
424
(void)close(sp[1]);
lib/libc/net/rcmd.c
430
(void)close(ep[0]);
lib/libc/net/rcmd.c
431
(void)close(ep[1]);
lib/libc/net/rcmd.c
492
(void)close(sp[1]);
lib/libc/net/rcmd.c
494
(void)close(ep[1]);
lib/libc/net/rcmd.c
567
(void)close(s);
lib/libc/net/rcmd.c
583
(void)close(s);
lib/libc/net/rcmd.c
588
(void)close(s);
lib/libc/nls/catopen.c
171
close (fd);
lib/libc/nls/catopen.c
177
close (fd);
lib/libc/resolv/res_init.c
813
(void) close(statp->_vcsock);
lib/libc/resolv/res_init.c
819
(void) close(statp->_u._ext.nssocks[ns]);
lib/libc/resolv/res_init.c
832
(void)close(ext->kq);
lib/libc/resolv/res_init.c
834
(void)close(ext->resfd);
lib/libc/resolv/res_send.c
489
close(kq);
lib/libc/resolv/res_send.c
588
close(kq);
lib/libc/resolv/res_send.c
596
close(kq);
lib/libc/resolv/res_send.c
609
close(kq);
lib/libc/rpc/clnt_bcast.c
364
close(fd);
lib/libc/rpc/clnt_bcast.c
661
(void) close(fdlist[i].fd);
lib/libc/rpc/clnt_dg.c
713
(void) close(cu_fd);
lib/libc/rpc/clnt_generic.c
381
(void) close(fd);
lib/libc/rpc/clnt_vc.c
307
(void)close(fd);
lib/libc/rpc/clnt_vc.c
674
(void)close(ct->ct_fd);
lib/libc/rpc/rpc_soc.c
177
(void) close(fd);
lib/libc/rpc/rpc_soc.c
279
(void) close(fd);
lib/libc/rpc/rpcb_clnt.c
470
close(sock);
lib/libc/rpc/rpcb_clnt.c
505
close(fd);
lib/libc/rpc/svc_dg.c
296
(void)close(xprt->xp_fd);
lib/libc/rpc/svc_generic.c
324
(void) close(fd);
lib/libc/rpc/svc_vc.c
375
(void)close(sock);
lib/libc/rpc/svc_vc.c
405
(void)close(xprt->xp_fd);
lib/libc/stdio/fopen.c
77
(void)close(f);
lib/libc/stdio/freopen.c
151
(void) close(f);
lib/libc/stdio/freopen.c
164
(void)close(f);
lib/libc/stdio/stdio.c
126
return close(__sfileno(fp));
lib/libc/stdio/tmpfile.c
80
(void)close(fd);
lib/libc/time/localtime.c
1146
close(dd);
lib/libc/time/localtime.c
1167
close(fid);
lib/libc/time/zic.c
1661
close(fd);
lib/libc/yp/yplib.c
121
(void)close(fd);
lib/libc/yp/yplib.c
124
(void)close(fd);
lib/libc/yp/yplib.c
179
(void)close(fd);
lib/libc/yp/yplib.c
196
(void)close(fd);
lib/libc/yp/yplib.c
200
(void)close(fd);
lib/libcompat/4.3/rexec.c
104
(void)close(s);
lib/libcompat/4.3/rexec.c
124
(void)close(s);
lib/libcompat/4.3/rexec.c
132
(void)close(s2);
lib/libcompat/4.3/rexec.c
141
(void)close(s2);
lib/libcompat/4.3/rexec.c
168
(void)close(*fd2p);
lib/libcompat/4.3/rexec.c
169
(void)close(s);
lib/libdm/libdm_ioctl.c
129
return close(fd);
lib/libedit/readline.c
1307
close(fd);
lib/libedit/vi.c
1043
close(fd);
lib/libedit/vi.c
1068
close(fd);
lib/libedit/vi.c
1075
close(fd);
lib/libexecinfo/backtrace.c
239
(void)close(fd);
lib/libexecinfo/backtrace.c
92
close(self_fd);
lib/libintl/gettext.c
606
close(fd);
lib/libintl/gettext.c
610
close(fd);
lib/libintl/gettext.c
621
close(fd);
lib/libintl/gettext.c
627
close(fd);
lib/libintl/gettext.c
630
close(fd);
lib/libisns/isns_socketio.c
82
return close(s);
lib/libisns/isns_util.c
143
close(cfg_p->kq);
lib/libisns/isns_util.c
145
close(cfg_p->pipe_fds[0]);
lib/libisns/isns_util.c
147
close(cfg_p->pipe_fds[1]);
lib/libkvm/kvm.c
759
error |= close(kd->pmfd);
lib/libkvm/kvm.c
761
error |= close(kd->vmfd);
lib/libkvm/kvm.c
763
error |= close(kd->nlfd);
lib/libkvm/kvm.c
765
error |= close(kd->swfd);
lib/libnpf/npf.c
1268
close(fd);
lib/libnvmm/libnvmm.c
167
close(nvmm_fd);
lib/libnvmm/libnvmm.c
172
close(nvmm_fd);
lib/libnvmm/libnvmm.c
190
close(nvmm_fd);
lib/libnvmm/libnvmm.c
195
close(nvmm_fd);
lib/libossaudio/oss4_mixer.c
118
close(newfd);
lib/libossaudio/oss4_mixer.c
124
close(newfd);
lib/libossaudio/oss4_mixer.c
166
close(newfd);
lib/libossaudio/oss4_mixer.c
186
close(newfd);
lib/libossaudio/oss4_mixer.c
238
close(newfd);
lib/libossaudio/oss4_mixer.c
269
close(newfd);
lib/libossaudio/oss4_mixer.c
284
close(newfd);
lib/libossaudio/oss4_mixer.c
314
close(newfd);
lib/libossaudio/oss4_mixer.c
380
close(newfd);
lib/libossaudio/oss4_mixer.c
398
close(newfd);
lib/libossaudio/oss4_mixer.c
457
close(newfd);
lib/libossaudio/oss4_mixer.c
465
close(newfd);
lib/libossaudio/oss4_mixer.c
473
close(newfd);
lib/libossaudio/oss4_mixer.c
505
close(newfd);
lib/libossaudio/oss4_mixer.c
509
close(newfd);
lib/libossaudio/oss4_mixer.c
528
close(newfd);
lib/libossaudio/oss4_mixer.c
539
close(newfd);
lib/libossaudio/oss4_mixer.c
543
close(newfd);
lib/libossaudio/oss4_mixer.c
602
close(tmpfd);
lib/libossaudio/oss4_mixer.c
622
close(tmpfd);
lib/libp2k/p2k.c
298
PUFFSOP_SET(pops, p2k, node, close);
lib/libpam/modules/pam_lastlog/pam_lastlog.c
381
(void)close(fd);
lib/libpam/modules/pam_nologin/pam_nologin.c
131
close(fd);
lib/libpam/modules/pam_nologin/pam_nologin.c
143
close(fd);
lib/libpam/modules/pam_ssh/pam_ssh.c
299
close(agent_pipe[0]);
lib/libpam/modules/pam_ssh/pam_ssh.c
300
close(agent_pipe[1]);
lib/libpam/modules/pam_ssh/pam_ssh.c
324
(void)close(STDIN_FILENO);
lib/libpam/modules/pam_ssh/pam_ssh.c
332
(void)close(fd);
lib/libpam/modules/pam_ssh/pam_ssh.c
342
close(agent_pipe[1]);
lib/libperfuse/perfuse.c
272
(void)close(sv[0]);
lib/libperfuse/perfuse.c
284
(void)close(sv[1]);
lib/libperfuse/perfuse.c
500
PUFFSOP_SET(pops, perfuse, node, close);
lib/libpthread/pthread_cancelstub.c
113
__typeof(close) _sys_close;
lib/libpthread/pthread_cancelstub.c
793
__strong_alias(_close, close)
lib/libpuffs/null.c
345
close(fd);
lib/libpuffs/null.c
448
close(fd);
lib/libpuffs/null.c
653
close(fd);
lib/libpuffs/null.c
686
close(fd);
lib/libpuffs/puffs.c
465
close(pu->pu_dpipe[1]);
lib/libpuffs/puffs.c
492
close(fd);
lib/libpuffs/puffs.c
512
close(pu->pu_dpipe[0]);
lib/libpuffs/puffs.c
513
close(pu->pu_dpipe[1]);
lib/libpuffs/puffs.c
80
FILLOP(close, CLOSE);
lib/libquota/quota_oldfiles.c
451
close(qh->qh_userfile);
lib/libquota/quota_oldfiles.c
455
close(qh->qh_groupfile);
lib/libquota/quota_open.c
147
close(qh->qh_userfile);
lib/libquota/quota_open.c
150
close(qh->qh_groupfile);
lib/libradius/radlib.c
392
close(h->fd);
lib/libradius/radlib.c
729
close(h->fd);
lib/librefuse/refuse.c
1246
PUFFSOP_SET(pops, puffs_fuse, node, close);
lib/librmt/rmtlib.c
341
close(0);
lib/librmt/rmtlib.c
343
close(Ptc[i][0]); close(Ptc[i][1]);
lib/librmt/rmtlib.c
344
close(1);
lib/librmt/rmtlib.c
346
close(Ctp[i][0]); close(Ctp[i][1]);
lib/librmt/rmtlib.c
373
close(Ptc[i][0]); close(Ctp[i][1]);
lib/librmt/rmtlib.c
738
return close(fildes);
lib/librmt/rmtlib.c
93
close(READ(fildes));
lib/librmt/rmtlib.c
94
close(WRITE(fildes));
lib/librt/shm.c
88
close(fd);
lib/librumpclient/rumpclient.c
1249
close(fd);
lib/librumpclient/rumpclient.c
423
close(fd);
lib/librumpclient/rumpclient.c
914
FINDSYM(close)
lib/librumpuser/rumpuser_daemonize.c
108
(void)close(daemonpipe[0]);
lib/librumpuser/rumpuser_daemonize.c
109
(void)close(daemonpipe[1]);
lib/librumpuser/rumpuser_daemonize.c
124
close(daemonpipe[1]);
lib/librumpuser/rumpuser_daemonize.c
161
close(fd);
lib/librumpuser/rumpuser_daemonize.c
174
close(daemonpipe[0]);
lib/librumpuser/rumpuser_daemonize.c
175
close(daemonpipe[1]);
lib/librumpuser/rumpuser_daemonize.c
66
(void)close(fd);
lib/librumpuser/rumpuser_daemonize.c
72
(void)close(fd);
lib/librumpuser/rumpuser_file.c
181
close(fd);
lib/librumpuser/rumpuser_file.c
230
close(fd);
lib/librumpuser/rumpuser_sp.c
1283
close(spclist[0].spc_fd);
lib/librumpuser/rumpuser_sp.c
1337
close(s);
lib/librumpuser/rumpuser_sp.c
550
close(spc->spc_fd);
lib/librumpuser/rumpuser_sp.c
623
close(newfd); /* EBUSY */
lib/librumpuser/rumpuser_sp.c
629
close(newfd);
lib/librumpuser/rumpuser_sp.c
634
close(newfd);
lib/librumpuser/rumpuser_sp.c
641
close(newfd);
lib/libskey/skeylogin.c
494
close(fd);
lib/libskey/skeylogin.c
506
close(fd);
lib/libukfs/ukfs.c
359
close(devfd);
lib/libukfs/ukfs.c
492
close(devfd);
lib/libukfs/ukfs.c
500
close(devfd);
lib/libukfs/ukfs.c
651
close(devfd);
lib/libukfs/ukfs.c
721
close(fs->ukfs_devfd);
lib/libutil/compat/compat_login.c
72
(void)close(fd);
lib/libutil/compat/compat_login.c
76
(void)close(fd);
lib/libutil/getfsspecname.c
148
(void)close(fd);
lib/libutil/getfsspecname.c
151
(void)close(fd);
lib/libutil/getfsspecname.c
161
close(fd);
lib/libutil/getfsspecname.c
99
close(fd);
lib/libutil/login.c
64
(void)close(fd);
lib/libutil/login.c
68
(void)close(fd);
lib/libutil/login_tty.c
62
(void) close(fd);
lib/libutil/logout.c
75
(void)close(fd);
lib/libutil/logwtmp.c
74
(void) close(fd);
lib/libutil/pidfile.c
121
error = close(pf_fd);
lib/libutil/pidfile.c
215
(void)close(fd);
lib/libutil/pidfile.c
271
(void)close(fd);
lib/libutil/pidfile.c
280
(void)close(fd);
lib/libutil/pidfile.c
317
(void)close(pf_fd);
lib/libutil/pidlock.c
112
(void)close(f);
lib/libutil/pidlock.c
137
(void)close(f);
lib/libutil/pidlock.c
175
(void)close(f);
lib/libutil/pty.c
131
(void)close(master);
lib/libutil/pty.c
158
(void)close(master);
lib/libutil/pty.c
166
(void)close(slave);
lib/libutil/pty.c
83
(void)close(master);
lib/libutil/pty.c
89
(void)close(master);
lib/libutil/ttymsg.c
122
(void)close(fd);
lib/libutil/ttymsg.c
155
(void) close(fd);
lib/libutil/ttymsg.c
164
(void)close(fd);
lib/libutil/ttymsg.c
172
(void)close(fd);
lib/libutil/ttymsg.c
176
(void)close(fd);
lib/libutil/ttymsg.c
195
(void) close(fd);
lib/libutil/ttymsg.c
204
(void) close(fd);
lib/libwrap/options.c
396
#define maybe_dup2(from, to) ((from == to) ? to : (close(to), dup(from)))
lib/libwrap/options.c
404
close(request->fd);
lib/libwrap/rfc931.c
64
close(s);
lib/libwrap/shell_cmd.c
86
(void) close(tmp_fd);
lib/lua/gpio/gpio.c
91
close(*fd);
lib/npf/ext_log/npfext_log.c
105
close(s);
lib/npf/ext_log/npfext_log.c
108
close(s);
lib/npf/ext_log/npfext_log.c
90
close(s);
lib/npf/ext_log/npfext_log.c
98
close(s);
libexec/atrun/atrun.c
287
(void)close(STDIN_FILENO);
libexec/atrun/atrun.c
288
(void)close(STDOUT_FILENO);
libexec/atrun/atrun.c
289
(void)close(STDERR_FILENO);
libexec/atrun/atrun.c
315
(void)close(fd_in);
libexec/atrun/atrun.c
316
(void)close(fd_out);
libexec/atrun/atrun.c
334
(void)close(fd_in);
libexec/atrun/atrun.c
335
(void)close(fd_out);
libexec/fingerd/fingerd.c
201
(void) close(p[0]);
libexec/fingerd/fingerd.c
204
(void) close(p[1]);
libexec/fingerd/fingerd.c
212
(void) close(p[1]);
libexec/ftpd/conf.c
952
close(fd);
libexec/ftpd/ftpcmd.y
1869
(void) close(pdata);
libexec/ftpd/ftpd.c
1832
(void)close(stderrfd);
libexec/ftpd/ftpd.c
1993
(void) close(s);
libexec/ftpd/ftpd.c
2022
(void) close(pdata);
libexec/ftpd/ftpd.c
2026
(void) close(pdata);
libexec/ftpd/ftpd.c
2107
(void)close(pdata);
libexec/ftpd/ftpd.c
2928
close(xferlogfd);
libexec/ftpd/ftpd.c
3055
close(pdata);
libexec/ftpd/ftpd.c
3091
(void) close(pdata);
libexec/ftpd/ftpd.c
3193
close(pdata);
libexec/ftpd/ftpd.c
3257
(void) close(pdata);
libexec/ftpd/ftpd.c
556
(void)close(socks[n]);
libexec/ftpd/ftpd.c
560
(void)close(socks[n]);
libexec/ftpd/ftpd.c
599
(void)close(fd);
libexec/ftpd/ftpd.c
608
(void)close(socks[i]);
libexec/ftpd/popen.c
168
(void)close(pdes[0]);
libexec/ftpd/popen.c
169
(void)close(pdes[1]);
libexec/ftpd/popen.c
176
(void)close(pdes[1]);
libexec/ftpd/popen.c
179
(void)close(STDERR_FILENO);
libexec/ftpd/popen.c
182
(void)close(pdes[0]);
libexec/ftpd/popen.c
186
(void)close(pdes[0]);
libexec/ftpd/popen.c
188
(void)close(pdes[1]);
libexec/ftpd/popen.c
204
(void)close(pdes[1]);
libexec/ftpd/popen.c
207
(void)close(pdes[0]);
libexec/httpd/bozohttpd.c
1313
close(mapfile);
libexec/httpd/bozohttpd.c
1944
close(fd);
libexec/httpd/bozohttpd.c
1948
close(STDIN_FILENO);
libexec/httpd/bozohttpd.c
1949
close(STDOUT_FILENO);
libexec/httpd/cgi-bozo.c
603
close(sv[0]);
libexec/httpd/cgi-bozo.c
606
close(2);
libexec/httpd/cgi-bozo.c
607
close(sv[1]);
libexec/httpd/cgi-bozo.c
634
close(sv[1]);
libexec/httpd/cgi-bozo.c
642
close(STDOUT_FILENO);
libexec/httpd/cgi-bozo.c
661
close(STDIN_FILENO);
libexec/httpd/daemon-bozo.c
196
close(httpd->sock[i]);
libexec/httpd/daemon-bozo.c
208
close(fd);
libexec/httpd/daemon-bozo.c
221
close(httpd->sock[idx]);
libexec/httpd/daemon-bozo.c
327
close(fd);
libexec/httpd/daemon-bozo.c
336
close(fd);
libexec/httpd/dir-index-bozo.c
218
close(fd);
libexec/identd/identd.c
308
(void)close(fd);
libexec/identd/identd.c
619
(void)close(*s);
libexec/identd/identd.c
624
(void)close(*s);
libexec/identd/identd.c
816
(void)close(sock);
libexec/identd/identd.c
827
(void)close(sock);
libexec/identd/identd.c
834
(void)close(sock);
libexec/identd/identd.c
838
(void)close(sock);
libexec/identd/identd.c
844
(void)close(sock);
libexec/identd/identd.c
905
(void)close(fd);
libexec/identd/identd.c
910
(void)close(fd);
libexec/identd/identd.c
919
(void)close(fd);
libexec/identd/ipf.c
77
(void)close(dev);
libexec/identd/ipf.c
80
(void)close(dev);
libexec/identd/npf.c
89
(void)close(dev);
libexec/identd/npf.c
92
(void)close(dev);
libexec/identd/pf.c
75
(void)close(dev);
libexec/identd/pf.c
78
(void)close(dev);
libexec/ld.elf_so/load.c
151
close(fd);
libexec/ld.elf_so/load.c
156
close(fd);
libexec/ld.elf_so/load.c
169
close(fd);
libexec/ld.elf_so/load.c
177
(void)close(fd);
libexec/ld.elf_so/paths.c
358
(void)close(fd);
libexec/ld.elf_so/paths.c
365
(void)close(fd);
libexec/ld.elf_so/paths.c
374
(void)close(fd);
libexec/ld.elf_so/paths.c
378
(void)close(fd);
libexec/ld.elf_so/rtld.c
1048
close(fd);
libexec/ld.elf_so/xmalloc.c
419
close(fd);
libexec/lfs_cleanerd/cleansrv.c
154
close(control_socket);
libexec/lfs_cleanerd/cleansrv.c
182
close(fd);
libexec/mail.local/mail.local.c
306
close(lfd);
libexec/mail.local/mail.local.c
315
(void)close(mbfd); /* Implicit unlock. */
libexec/makewhatis/makewhatis.c
799
(void)close(tempfd);
libexec/makewhatis/makewhatis.c
804
(void)close(tempfd);
libexec/makewhatis/makewhatis.c
809
(void)close(tempfd);
libexec/makewhatis/makewhatis.c
816
(void)close(pipefd[1]);
libexec/makewhatis/makewhatis.c
817
(void)close(pipefd[0]);
libexec/makewhatis/makewhatis.c
818
(void)close(tempfd);
libexec/makewhatis/makewhatis.c
823
(void)close(pipefd[0]);
libexec/makewhatis/makewhatis.c
826
(void)close(tempfd);
libexec/makewhatis/makewhatis.c
830
(void)close(pipefd[1]);
libexec/makewhatis/makewhatis.c
834
(void)close(devnull);
libexec/makewhatis/makewhatis.c
840
(void)close(pipefd[1]);
libexec/makewhatis/makewhatis.c
841
(void)close(tempfd);
libexec/makewhatis/makewhatis.c
848
(void)close(pipefd[0]);
libexec/rexecd/rexecd.c
279
(void)close(STDIN_FILENO);
libexec/rexecd/rexecd.c
280
(void)close(STDOUT_FILENO);
libexec/rexecd/rexecd.c
281
(void)close(STDERR_FILENO);
libexec/rexecd/rexecd.c
282
(void)close(pv[1]);
libexec/rexecd/rexecd.c
291
(void)close(s);
libexec/rexecd/rexecd.c
292
(void)close(pv[0]);
libexec/rexecd/rexecd.c
313
(void)close(s);
libexec/rexecd/rexecd.c
314
(void)close(pv[0]);
libexec/rlogind/rlogind.c
396
(void) close(f);
libexec/rpc.rstatd/rstat_proc.c
274
close(s);
libexec/rshd/rshd.c
287
(void)close(t);
libexec/rshd/rshd.c
568
(void)close(STDIN_FILENO);
libexec/rshd/rshd.c
569
(void)close(STDOUT_FILENO);
libexec/rshd/rshd.c
570
(void)close(STDERR_FILENO);
libexec/rshd/rshd.c
571
(void)close(pv[1]);
libexec/rshd/rshd.c
607
(void)close(s);
libexec/rshd/rshd.c
608
(void)close(pv[0]);
libexec/rshd/rshd.c
610
close(pv[1]);
libexec/rshd/rshd.c
646
(void)close(fd);
libexec/telnetd/sys_term.c
457
(void) close(t);
libexec/telnetd/sys_term.c
501
(void) close(net);
libexec/telnetd/sys_term.c
503
(void) close(pty);
libexec/telnetd/telnetd.c
401
(void) close(ns);
libexec/telnetd/telnetd.c
402
(void) close(s);
libexec/telnetd/telnetd.c
887
(void) close(t);
libexec/tftpd/tftpd.c
412
close(fd);
libexec/tftpd/tftpd.c
413
close(1);
libexec/tftpd/tftpd.c
901
close(fd);
libexec/utmp_update/utmp_update.c
145
(void)close(fd);
regress/sys/compat/uipc_syscalls_43.c
138
close(s);
regress/sys/compat/uipc_syscalls_43.c
180
close(s);
regress/sys/compat/uipc_syscalls_43.c
229
close(s);
regress/sys/compat/uipc_syscalls_43.c
230
close(descr);
regress/sys/compat/uipc_syscalls_43.c
92
close(s);
regress/sys/kern/dislodgefd/dislodgefd.c
75
close(fds[0]);
regress/sys/kern/kqueue/vnode/write.c
64
close(fd);
regress/sys/kern/unfdpass/unfdpass.c
155
(void) close(fd);
regress/sys/kern/unfdpass/unfdpass.c
238
(void) close(sock);
regress/sys/kern/unfdpass/unfdpass.c
433
close(files[0]);
regress/sys/kern/unfdpass/unfdpass.c
434
close(files[1]);
regress/sys/net/frag/ip4_frag_1.c
328
close(sock);
sbin/apmlabel/apmlabel.c
358
close(sd);
sbin/bioctl/bioctl.c
180
(void)close(fd);
sbin/blkdiscard/blkdiscard.c
265
if (close(fd) != 0)
sbin/ccdconfig/ccdconfig.c
520
(void)close(fd);
sbin/ccdconfig/ccdconfig.c
524
(void)close(fd);
sbin/ccdconfig/ccdconfig.c
552
close(fd);
sbin/ccdconfig/ccdconfig.c
555
close(fd);
sbin/ccdconfig/ccdconfig.c
621
(void) close(fd);
sbin/cgdconfig/cgdconfig.c
1635
close(fd);
sbin/cgdconfig/cgdconfig.c
1665
close(fd);
sbin/cgdconfig/cgdconfig_hostops.c
46
.op_close = close,
sbin/cgdconfig/prog_ops.h
55
#define prog_close close
sbin/clri/clri.c
208
(void)close(fd);
sbin/dkctl/dkctl.c
209
(void)close(fd);
sbin/dkscan_bsdlabel/dkscan_bsdlabel.c
108
close(disk_fd);
sbin/dump/snapshot.c
144
if (close(fd) < 0)
sbin/dump/snapshot.c
161
close(fd);
sbin/dump/snapshot.c
193
close(fd);
sbin/dump/tape.c
382
(void) close(workers[f].fd);
sbin/dump/tape.c
405
(void) close(tapefd);
sbin/dump/tape.c
416
(void) close(f);
sbin/dump/tape.c
441
close(f);
sbin/dump/tape.c
779
(void) close(workers[j].fd);
sbin/dump/tape.c
824
(void) close(diskfd);
sbin/dump_lfs/lfs_inode.c
442
close(root_fd);
sbin/efi/gptsubr.c
345
close(fd);
sbin/efi/gptsubr.c
542
close(fd);
sbin/efi/main.c
715
close(efi_fd);
sbin/efi/utils.c
468
close(fd);
sbin/fdisk/fdisk.c
1089
close(bfd);
sbin/fdisk/fdisk.c
1095
close(bfd);
sbin/fdisk/fdisk.c
2513
close(fd);
sbin/fdisk/fdisk.c
2522
close(fd);
sbin/fsck/fsck.c
569
(void) close(fd);
sbin/fsck/fsck.c
576
(void) close(fd);
sbin/fsck/partutil.c
193
close(fd);
sbin/fsck/preen.c
292
(void)close(fd);
sbin/fsck_ext2fs/utilities.c
264
(void)close(fsreadfd);
sbin/fsck_ext2fs/utilities.c
304
(void)close(fsreadfd);
sbin/fsck_ext2fs/utilities.c
305
(void)close(fswritefd);
sbin/fsck_ffs/main.c
334
close(snapfd);
sbin/fsck_ffs/utilities.c
277
(void)close(fsreadfd);
sbin/fsck_ffs/utilities.c
343
(void)close(fsreadfd);
sbin/fsck_ffs/utilities.c
344
(void)close(fswritefd);
sbin/fsck_lfs/kernelops.c
76
.ko_close = close,
sbin/fsck_lfs/utilities.c
171
(void) close(fsreadfd);
sbin/fsck_msdos/check.c
182
close(dosfs);
sbin/fsck_msdos/check.c
77
close(dosfs);
sbin/fsck_msdos/check.c
91
close(dosfs);
sbin/fsck_msdos/main.c
132
close(snapfd);
sbin/fsck_v7fs/fsck_v7fs.c
194
close(fd);
sbin/fsirand/fsirand.c
290
(void) close(fd);
sbin/gpt/biosboot.c
143
close(bfd);
sbin/gpt/gpt.c
525
goto close;
sbin/gpt/gpt.c
530
goto close;
sbin/gpt/gpt.c
537
goto close;
sbin/gpt/gpt.c
543
goto close;
sbin/gpt/gpt.c
548
goto close;
sbin/gpt/gpt.c
555
goto close;
sbin/gpt/gpt.c
560
goto close;
sbin/gpt/gpt.c
573
goto close;
sbin/gpt/gpt.c
590
goto close;
sbin/gpt/gpt.c
604
goto close;
sbin/gpt/gpt.c
608
goto close;
sbin/gpt/gpt.c
613
goto close;
sbin/gpt/gpt.c
648
close:;
sbin/gpt/gpt.c
650
close(gpt->fd);
sbin/gpt/gpt.c
679
close(gpt->fd);
sbin/gpt/gpt_uuid.c
312
(void)close(fd);
sbin/gpt/gpt_uuid.c
320
(void)close(fd);
sbin/ifconfig/ifconfig_hostops.c
46
.op_close = close,
sbin/ifconfig/prog_ops.h
58
#define prog_close close
sbin/init/init.c
322
(void)close(0);
sbin/init/init.c
323
(void)close(1);
sbin/init/init.c
324
(void)close(2);
sbin/init/init.c
414
(void)close(fd);
sbin/init/init.c
973
if (session_db && (*session_db->close)(session_db))
sbin/iscsictl/iscsic_main.c
204
close(sock);
sbin/iscsictl/iscsic_main.c
574
close(sock);
sbin/iscsid/iscsid_discover.c
529
close(sock);
sbin/iscsid/iscsid_discover.c
541
close(sock);
sbin/iscsid/iscsid_discover.c
894
close(isns->sock);
sbin/iscsid/iscsid_driverif.c
325
close(sock);
sbin/iscsid/iscsid_driverif.c
333
close(sock);
sbin/iscsid/iscsid_driverif.c
437
close(sock);
sbin/iscsid/iscsid_driverif.c
580
close(sock);
sbin/iscsid/iscsid_driverif.c
587
close(sock);
sbin/iscsid/iscsid_driverif.c
607
close(sock);
sbin/iscsid/iscsid_main.c
160
close(sock);
sbin/iscsid/iscsid_main.c
177
close(sock);
sbin/iscsid/iscsid_main.c
183
close(sock);
sbin/iscsid/iscsid_main.c
572
close(client_sock);
sbin/ldconfig/ldconfig.c
485
if (close(fd) != 0) {
sbin/ldconfig/ldconfig.c
505
(void)close(fd);
sbin/ldconfig/ldconfig.c
595
close(fd);
sbin/mbrlabel/mbrlabel.c
362
close(sd);
sbin/mount/mount.c
507
(void)close(pfd[0]);
sbin/mount/mount.c
508
(void)close(STDOUT_FILENO);
sbin/mount/mount.c
544
(void)close(pfd[1]);
sbin/mount/mount.c
760
close(fd);
sbin/mount/mount.c
767
(void) close(fd);
sbin/mount/mount.c
771
(void) close(fd);
sbin/mount_nfs/getnfsargs.c
256
(void) close(STDIN_FILENO);
sbin/mount_nfs/getnfsargs.c
257
(void) close(STDOUT_FILENO);
sbin/mount_nfs/getnfsargs.c
258
(void) close(STDERR_FILENO);
sbin/mount_nfs/udp_xfer.c
72
close(d->socket);
sbin/mount_portal/activate.c
175
(void) close(fd);
sbin/mount_portal/activate.c
224
close(so);
sbin/mount_portal/pt_file.c
180
(void) close(fd);
sbin/mount_portal/pt_tcp.c
122
(void)close(so);
sbin/mount_portal/puffs_portal.c
189
close(fd);
sbin/mount_portal/puffs_portal.c
347
close(s[0]); close(s[1]);
sbin/mount_portal/puffs_portal.c
350
close(s[0]);
sbin/mount_portal/puffs_portal.c
355
close(s[1]);
sbin/mount_portal/puffs_portal.c
359
close(s[0]);
sbin/mount_portal/puffs_portal.c
615
close(portn->fd);
sbin/mount_portal/puffs_portal.c
834
close(portn->fd);
sbin/newfs/newfs.c
696
close(fsi);
sbin/newfs/newfs.c
698
close(fso);
sbin/newfs/newfs.c
751
(void) close(0);
sbin/newfs/newfs.c
752
(void) close(1);
sbin/newfs/newfs.c
753
(void) close(2);
sbin/newfs_ext2fs/newfs_ext2fs.c
398
close(fsi);
sbin/newfs_ext2fs/newfs_ext2fs.c
400
close(fso);
sbin/newfs_sysvbfs/newfs_sysvbfs.c
169
close(fd);
sbin/newfs_sysvbfs/newfs_sysvbfs.c
173
close(fd);
sbin/newfs_udf/udf_core.c
3430
close(dev_fd);
sbin/newfs_v7fs/newfs_v7fs.c
200
close(fd);
sbin/newfs_v7fs/newfs_v7fs.c
204
close(fd);
sbin/nvmectl/devlist.c
118
close(fd);
sbin/nvmectl/firmware.c
332
close(fd);
sbin/nvmectl/identify.c
222
close(fd);
sbin/nvmectl/identify.c
274
close(fd);
sbin/nvmectl/identify.c
285
close(fd);
sbin/nvmectl/logpage.c
1095
close(fd);
sbin/nvmectl/perftest.c
183
close(fd);
sbin/nvmectl/power.c
196
close(fd);
sbin/nvmectl/wdc.c
162
close(fd2);
sbin/nvmectl/wdc.c
197
close(fd);
sbin/ping/ping_hostops.c
50
.op_close = close,
sbin/ping/prog_ops.h
74
#define prog_close close
sbin/ping6/ping6_hostops.c
52
.op_close = close,
sbin/ping6/prog_ops.h
83
#define prog_close close
sbin/raidctl/prog_ops.h
55
#define prog_close close
sbin/raidctl/raidctl.c
174
close(fd);
sbin/raidctl/raidctl_hostops.c
47
.op_close = close,
sbin/resize_lfs/resize_lfs.c
137
close(devfd);
sbin/restore/dirs.c
556
(void)close(rdirp->dd_fd);
sbin/restore/dirs.c
583
(void)close(fd);
sbin/restore/dirs.c
748
(void) close(dp);
sbin/restore/dirs.c
749
(void) close(ofile);
sbin/restore/symtab.c
575
(void)close(fd);
sbin/restore/tape.c
1427
(void) close(mt);
sbin/restore/tape.c
825
(void) close(ofile);
sbin/rndctl/rndctl.c
171
if (close(fd_random) == -1)
sbin/rndctl/rndctl.c
238
if (close(fd_seed) == -1)
sbin/rndctl/rndctl.c
393
if (close(fd_random) == -1)
sbin/rndctl/rndctl.c
445
close(fd);
sbin/rndctl/rndctl.c
515
close(fd);
sbin/rndctl/rndctl.c
545
close(fd);
sbin/rndctl/rndctl.c
564
close(fd);
sbin/routed/if.c
521
(void)close(ifp->int_rip_sock);
sbin/routed/main.c
694
(void)close(rip_sock);
sbin/routed/main.c
774
(void)close(ifp->int_rip_sock);
sbin/routed/trace.c
217
(void)close(fd);
sbin/savecore/savecore.c
747
(void)close(ifd);
sbin/scan_ffs/scan_ffs.c
454
(void)close(fd);
sbin/scan_ffs/scan_ffs.c
484
(void)close(fd);
sbin/shutdown/shutdown.c
561
(void)close(fastfd);
sbin/shutdown/shutdown.c
587
(void)close(logfd);
sbin/svhlabel/svhlabel.c
357
close(sd);
sbin/swapctl/swapctl.c
600
close(fd);
sbin/ttyflags/ttyflags.c
230
if (close(fd) == -1) {
sbin/tunefs/tunefs.c
479
close(fi);
sbin/umbctl/umbctl.c
159
close(fd);
sbin/umbctl/umbctl.c
168
close(fd);
sbin/umbctl/umbctl.c
173
if(close(fd) != 0)
sbin/umbctl/umbctl.c
237
close(fd);
sbin/umbctl/umbctl.c
245
close(fd);
sbin/umbctl/umbctl.c
250
if(close(fd) != 0)
sbin/umount/umount.c
501
close(fd);
sbin/umount/umount.c
504
close(fd);
sbin/veriexecctl/veriexecctl.c
321
(void)close(gfd);
sbin/wdogctl/wdogctl.c
202
(void)close(fd);
sbin/wdogctl/wdogctl.c
223
(void)close(fd);
sbin/wdogctl/wdogctl.c
259
(void)close(fd);
sbin/wdogctl/wdogctl.c
322
(void)close(fd);
sbin/wdogctl/wdogctl.c
338
(void)close(fd);
sbin/wdogctl/wdogctl.c
351
(void)close(fd);
sbin/wdogctl/wdogctl.c
359
(void)close(fd);
sbin/wdogctl/wdogctl.c
437
(void)close(fd);
sbin/wsconsctl/wsconsctl.c
234
close(fd);
sbin/wsconsctl/wsconsctl.c
238
close(fd);
share/doc/psd/20.ipctut/dgramread.c
80
close(sock);
share/doc/psd/20.ipctut/dgramsend.c
77
close(sock);
share/doc/psd/20.ipctut/pipe.c
60
close(sockets[1]);
share/doc/psd/20.ipctut/pipe.c
64
close(sockets[0]);
share/doc/psd/20.ipctut/pipe.c
67
close(sockets[0]);
share/doc/psd/20.ipctut/pipe.c
70
close(sockets[1]);
share/doc/psd/20.ipctut/socketpair.c
59
close(sockets[0]);
share/doc/psd/20.ipctut/socketpair.c
65
close(sockets[1]);
share/doc/psd/20.ipctut/socketpair.c
67
close(sockets[1]);
share/doc/psd/20.ipctut/socketpair.c
73
close(sockets[0]);
share/doc/psd/20.ipctut/strchkread.c
100
close(msgsock);
share/doc/psd/20.ipctut/streamread.c
93
close(msgsock);
share/doc/psd/20.ipctut/streamwrite.c
78
close(sock);
share/doc/psd/20.ipctut/udgramread.c
76
close(sock);
share/doc/psd/20.ipctut/udgramsend.c
65
close(sock);
share/doc/psd/20.ipctut/ustreamread.c
81
close(msgsock);
share/doc/psd/20.ipctut/ustreamread.c
92
close(sock);
share/doc/psd/20.ipctut/ustreamwrite.c
63
close(sock);
share/examples/puffs/pgfs/mount.c
198
ret = close(fd);
share/examples/refuse/fanoutfs/fanoutfs.c
176
close(fdfrom);
share/examples/refuse/fanoutfs/fanoutfs.c
189
(void) close(fdfrom);
share/examples/refuse/fanoutfs/fanoutfs.c
190
(void) close(fdto);
share/examples/refuse/fanoutfs/fanoutfs.c
294
(void) close(fd);
share/examples/refuse/fanoutfs/fanoutfs.c
298
(void) close(fd);
share/examples/refuse/fanoutfs/fanoutfs.c
301
(void) close(fd);
share/examples/refuse/fanoutfs/fanoutfs.c
323
(void) close(fd);
share/examples/refuse/fanoutfs/fanoutfs.c
327
(void) close(fd);
share/examples/refuse/fanoutfs/fanoutfs.c
330
(void) close(fd);
share/examples/refuse/fanoutfs/fanoutfs.c
439
(void) close(fd);
share/examples/refuse/ian/ian/ian.c
206
(void) close(fd);
share/examples/refuse/ian/ian/ian.c
210
(void) close(fd);
share/examples/refuse/ian/ian/ian.c
213
(void) close(fd);
share/examples/refuse/ian/libfetch/common.c
294
close(sd);
share/examples/refuse/ian/libfetch/common.c
299
close(sd);
share/examples/refuse/ian/libfetch/common.c
309
close(sd);
share/examples/refuse/ian/libfetch/common.c
610
ret = close(conn->sd);
share/examples/refuse/ian/libfetch/ftp.c
882
close(sd);
share/examples/refuse/ian/libfetch/ftp.c
893
close(sd);
share/examples/refuse/ian/libfetch/ftp.c
900
close(sd);
share/examples/refuse/icfs/icfs.c
175
(void) close(fd);
share/examples/refuse/icfs/icfs.c
179
(void) close(fd);
share/examples/refuse/icfs/icfs.c
182
(void) close(fd);
share/examples/refuse/icfs/icfs.c
206
(void) close(fd);
share/examples/refuse/icfs/icfs.c
210
(void) close(fd);
share/examples/refuse/icfs/icfs.c
213
(void) close(fd);
share/examples/refuse/icfs/icfs.c
340
(void) close(fd);
share/examples/rump/sdread/sdread.c
199
close(fd_h);
share/man/tools/noso.c
27
close(fd);
share/man/tools/noso.c
32
close(fd);
sys/altq/altq_conf.h
89
dev_decl(n,open); dev_decl(n,close); dev_decl(n,ioctl)
sys/arch/acorn32/stand/boot32/boot32.c
845
close(ret);
sys/arch/acorn32/stand/boot32/boot32.c
866
close(ret);
sys/arch/alpha/stand/mkbootimage/mkbootimage.c
130
(void)close(infd);
sys/arch/alpha/stand/mkbootimage/mkbootimage.c
164
(void)close(outfd);
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
188
close(fd);
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
243
close(fd);
sys/arch/amiga/dev/aucc.c
174
.close = aucc_close,
sys/arch/amiga/dev/toccata.c
187
.close = toccata_close,
sys/arch/amiga/dev/zz9k_ax.c
123
.close = zzax_close,
sys/arch/amiga/stand/binpatch/binpatch.c
253
close(fd);
sys/arch/amiga/stand/binpatch/binpatch.c
343
close(fd);
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
127
close(io);
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
135
close(io);
sys/arch/amiga/stand/dumpfont/dumpfont.c
68
close (bin);
sys/arch/amiga/stand/loadkmap/loadkmap.c
53
close (fd);
sys/arch/arc/arc/arcbios.h
285
arc_status_t (*close)( /* Close 25 */
sys/arch/arm/broadcom/bcm2835_vcaudioreg.h
150
VC_AUDIO_CLOSE_T close;
sys/arch/arm/imx/imx23_digfilt.c
125
.close = NULL,
sys/arch/arm/iomd/vidcaudio.c
167
.close = vidcaudio_close,
sys/arch/arm/nvidia/tegra_cec.c
97
.close = tegra_cec_close,
sys/arch/arm/xscale/pxa2x0_ac97.c
152
.close = acu_close,
sys/arch/atari/stand/ahdilabel/read.c
56
close (fd);
sys/arch/atari/stand/ahdilabel/read.c
61
close (fd);
sys/arch/atari/stand/ahdilabel/read.c
66
close (fd);
sys/arch/atari/stand/ahdilabel/read.c
74
close (fd);
sys/arch/atari/stand/ahdilabel/read.c
82
close (fd);
sys/arch/atari/stand/ahdilabel/read.c
94
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
165
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
244
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
262
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
267
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
276
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
280
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
63
close (fd);
sys/arch/atari/stand/ahdilabel/write.c
80
close (fd);
sys/arch/atari/stand/binpatch/binpatch.c
338
close(fd);
sys/arch/atari/stand/bootpref/bootpref.c
318
if (close (fd) < 0) {
sys/arch/atari/stand/bootxx/bootxx.c
199
close(fd);
sys/arch/atari/stand/installboot/installboot.c
158
if (close(fd))
sys/arch/atari/stand/installboot/installboot.c
271
if (close(fd))
sys/arch/atari/stand/installboot/installboot.c
357
if (close(fd))
sys/arch/atari/stand/installboot/installboot.c
375
if (close(fd))
sys/arch/atari/stand/installboot/installboot.c
386
if (close(fd))
sys/arch/atari/stand/installboot/installboot.c
428
if (close(fd))
sys/arch/atari/stand/installboot/installboot.c
437
if (close(fd))
sys/arch/atari/stand/installboot/installboot.c
510
if (close(fd))
sys/arch/atari/stand/loadkmap/loadkmap.c
56
close(fd);
sys/arch/atari/stand/loadkmap/loadkmap.c
63
close(fd);
sys/arch/atari/stand/msconfig/msconfig.c
78
close(fd);
sys/arch/atari/stand/msconfig/msconfig.c
84
close(fd);
sys/arch/atari/stand/msconfig/msconfig.c
92
close(fd);
sys/arch/atari/stand/tostools/file2swp/file2swp.c
140
close(fd);
sys/arch/atari/stand/tostools/libtos/cread.c
256
close(fd);
sys/arch/atari/stand/tostools/libtos/cread.c
272
return (close(fd));
sys/arch/atari/stand/tostools/loadbsd/loadbsd.c
172
close(fd);
sys/arch/atari/stand/tostools/rawwrite/rawwrite.c
124
close(fd);
sys/arch/emips/ebus/ac97_ebus.c
47
#define stubclose __CONCAT(acns,close)
sys/arch/emips/ebus/evga_ebus.c
47
#define stubclose __CONCAT(evga,close)
sys/arch/emips/ebus/lcd_ebus.c
47
#define stubclose __CONCAT(lcd,close)
sys/arch/emips/ebus/ps2_ebus.c
47
#define stubclose __CONCAT(pstwo,close)
sys/arch/emips/stand/common/bootxx.c
171
(void) close(fd);
sys/arch/evbarm/mini2440/audio_mini2440.c
91
.close = uda_ssio_close,
sys/arch/evbarm/stand/boot2440/main.c
211
close(fd);
sys/arch/evbsh3/stand/mesboot/src/mesboot.c
97
close(fd);
sys/arch/ews4800mips/stand/common/coffhdrfix.c
116
close(fd);
sys/arch/ews4800mips/stand/common/coffhdrfix.c
128
close(fd);
sys/arch/ews4800mips/stand/common/coffhdrfix.c
129
close(fdout);
sys/arch/hp300/stand/inst/inst.c
251
(void)close(dfd);
sys/arch/hp300/stand/inst/inst.c
704
close(sfd);
sys/arch/hp300/stand/inst/inst.c
705
close(dfd);
sys/arch/hp300/stand/mkboot/mkboot.c
244
(void)close(fd);
sys/arch/hpc/stand/hpcboot/file.h
102
BOOL close(void);
sys/arch/hpc/stand/hpcboot/file.h
56
virtual BOOL close(void) = 0;
sys/arch/hpc/stand/hpcboot/file_fat.h
50
BOOL close(void) { return CloseHandle(_handle); }
sys/arch/hpc/stand/hpcboot/file_http.h
99
BOOL close(void) { return TRUE; }
sys/arch/hpc/stand/hpcboot/file_manager.cpp
190
return _file->close();
sys/arch/hpc/stand/hpcboot/file_manager.cpp
82
_file->close();
sys/arch/hpc/stand/hpcboot/file_ufs.h
51
BOOL close(void);
sys/arch/hpc/stand/hpcboot/hpcboot.cpp
154
f._file->close();
sys/arch/hpc/stand/hpcboot/hpcboot.cpp
197
f._file->close();
sys/arch/hpc/stand/hpcboot/hpcboot.cpp
211
f._file->close();
sys/arch/hpc/stand/hpcboot/hpcboot.cpp
240
f._file->close();
sys/arch/hpcmips/stand/lcboot/conf.c
60
.close = tftp_close,
sys/arch/hpcmips/stand/pbsdboot/pbsdboot.c
104
close(fd);
sys/arch/hppa/gsc/harmony.c
119
.close = harmony_close,
sys/arch/hppa/stand/mkboot/mkboot.c
227
if (close(to) < 0)
sys/arch/hppa/stand/mkboot/mkboot.c
361
if (close(from) < 0)
sys/arch/i386/stand/lib/exec.c
327
close(fd);
sys/arch/i386/stand/lib/exec.c
340
close(fd);
sys/arch/i386/stand/lib/exec.c
386
close(fd);
sys/arch/i386/stand/lib/exec.c
700
close(fd);
sys/arch/i386/stand/lib/exec.c
706
close(fd);
sys/arch/i386/stand/lib/exec.c
765
close(fd);
sys/arch/i386/stand/lib/exec_multiboot1.c
262
close(fd);
sys/arch/i386/stand/lib/exec_multiboot2.c
1633
close(fd);
sys/arch/i386/stand/lib/test/biosdisk_user.c
56
close(fd);
sys/arch/i386/stand/lib/test/stand_user.c
129
close(memfd);
sys/arch/ia64/stand/common/boot.c
344
close(fd);
sys/arch/ia64/stand/common/commands.c
214
close(hfd);
sys/arch/ia64/stand/common/interp.c
260
close(fd);
sys/arch/ia64/stand/common/load_elf64.c
82
close(fd);
sys/arch/ia64/stand/common/ls.c
130
close(fd);
sys/arch/ia64/stand/common/ls.c
185
close(fd);
sys/arch/ia64/stand/common/pager.c
162
close(fd);
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
144
close(fd);
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
232
close(fd);
sys/arch/luna68k/dev/psgpam.c
159
.close = psgpam_close,
sys/arch/macppc/stand/fixcoff/fixcoff.c
191
close(fd);
sys/arch/macppc/stand/installboot/installboot.c
214
if (close(params->fsfd) == -1)
sys/arch/macppc/stand/installboot/installboot.c
216
if (close(params->s1fd) == -1)
sys/arch/macppc/stand/mkboothfs/mkboothfs.c
155
close(ofd);
sys/arch/mipsco/stand/common/bootxx.c
161
(void) close(fd);
sys/arch/mipsco/stand/installboot/installboot.c
196
(void)close(fd);
sys/arch/mipsco/stand/installboot/installboot.c
228
(void) close(fd);
sys/arch/mipsco/stand/installboot/installboot.c
245
(void) close(vfd);
sys/arch/mipsco/stand/installboot/installboot.c
283
(void) close(vfd);
sys/arch/mmeye/stand/bootelf/boot.c
70
close(fd);
sys/arch/mmeye/stand/bootelf/boot.c
89
close(fd);
sys/arch/mvme68k/stand/installboot/installboot.c
151
(void)close(devfd);
sys/arch/mvme68k/stand/installboot/installboot.c
174
(void)close(devfd);
sys/arch/mvme68k/stand/installboot/installboot.c
195
(void)close(fd);
sys/arch/mvme68k/stand/installboot/installboot.c
205
(void)close(fd);
sys/arch/mvme68k/stand/installboot/installboot.c
276
close(fd);
sys/arch/mvme68k/stand/libsa/exec_mvme.c
64
close(fd);
sys/arch/mvme68k/stand/wrtvid/wrtvid.c
178
close(fd);
sys/arch/mvmeppc/stand/libsa/exec_mvme.c
96
close(fd);
sys/arch/pmax/stand/common/bootxx.c
193
(void) close(fd);
sys/arch/pmax/stand/smallnet/setnetimage/setnetimage.c
187
close(ifd);
sys/arch/pmax/stand/smallnet/setnetimage/setnetimage.c
211
close(ofd);
sys/arch/powerpc/mpc5200/mpc5200_ac97.c
151
.close = mpcac97_close,
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
225
close(raw_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
403
close(kern_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
405
close(prep_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
406
close(elf_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
588
close(kern_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
589
close(rs6000_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
590
close(elf_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
797
close(kern_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
798
close(elf_fd);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
841
close(bebox_fd);
sys/arch/prep/isa/paud_isa.c
98
.close = ad1848_isa_close,
sys/arch/prep/stand/installboot/installboot.c
171
close(fd);
sys/arch/prep/stand/installboot/installboot.c
178
close(fd);
sys/arch/prep/stand/installboot/installboot.c
272
close(devfd);
sys/arch/prep/stand/installboot/installboot.c
318
close(devfd);
sys/arch/prep/stand/installboot/installboot.c
324
close(devfd);
sys/arch/sandpoint/stand/altboot/dsk.c
536
(*fs->close)(f);
sys/arch/sandpoint/stand/altboot/main.c
338
close(fd);
sys/arch/sandpoint/stand/altboot/main.c
351
close(fd);
sys/arch/sandpoint/stand/altboot/main.c
539
close(fd);
sys/arch/sandpoint/stand/altboot/main.c
543
close(fd);
sys/arch/sandpoint/stand/altboot/main.c
582
close(fd);
sys/arch/sparc/stand/boot/boot.c
235
close(fd);
sys/arch/sparc/stand/ofwboot/boot.c
393
close(fd);
sys/arch/sun68k/stand/tapeboot/boot.c
117
close(fd);
sys/arch/usermode/usermode/thunk.c
1003
close(rfb->sockfd);
sys/arch/usermode/usermode/thunk.c
1010
close(rfb->sockfd);
sys/arch/usermode/usermode/thunk.c
1039
close(sockfd);
sys/arch/usermode/usermode/thunk.c
1046
close(sockfd);
sys/arch/usermode/usermode/thunk.c
1311
close(rfb->clientfd);
sys/arch/usermode/usermode/thunk.c
1365
close(rfb->clientfd);
sys/arch/usermode/usermode/thunk.c
1379
close(rfb->clientfd);
sys/arch/usermode/usermode/thunk.c
1507
close(rfb->clientfd);
sys/arch/usermode/usermode/thunk.c
510
return close(fd);
sys/arch/usermode/usermode/thunk.c
792
close(fd);
sys/arch/usermode/usermode/thunk.c
911
return close(fd);
sys/arch/vax/boot/boot/boot.c
143
close(fd);
sys/arch/vax/boot/boot/boot.c
235
close(fd);
sys/arch/vax/boot/boot/boot.c
300
close(i);
sys/arch/vax/boot/boot/boot.c
303
close(i);
sys/arch/vax/boot/boot/vaxstand.h
33
#define SADEV(name,strategy,open,close,ioctl) \
sys/arch/vax/boot/boot/vaxstand.h
37
(int(*)(struct open_file *))close, \
sys/arch/x68k/stand/boot/boot.c
221
close(fd);
sys/arch/x68k/stand/installboot/installboot.c
138
close(fd);
sys/arch/x68k/stand/installboot/installboot.c
221
close(fd);
sys/arch/x68k/stand/installboot/installboot.c
255
close(fd);
sys/arch/x68k/stand/newdisk/newdisk.c
125
close(fd);
sys/arch/x68k/stand/newdisk/newdisk.c
152
close(fd);
sys/arch/x68k/stand/newdisk/newdisk.c
178
close(fd);
sys/arch/x68k/stand/newdisk/newdisk.c
198
close(fd);
sys/arch/x68k/stand/xxboot/bootmain.c
242
close(fd);
sys/arch/x68k/usr.bin/bellctrl/bellctrl.c
204
close(fd);
sys/arch/x68k/usr.bin/bellctrl/bellctrl.c
215
close(fd);
sys/arch/x68k/usr.bin/bellctrl/bellctrl.c
239
close(fd);
sys/arch/x68k/usr.bin/loadfont/loadfont.c
51
close(fd);
sys/arch/x68k/usr.bin/loadkmap/loadkmap.c
51
close (fd);
sys/arch/x68k/usr.bin/palette/palette.c
50
close(fd);
sys/arch/x68k/usr.bin/palette/palette.c
53
close(fd);
sys/arch/xen/xen/evtchn.c
625
op.u.close.port = evtchn;
sys/arch/xen/xen/evtchn.c
707
op.u.close.port = evtchn;
sys/arch/xen/xen/xenevt.c
405
op.u.close.port = i;
sys/arch/xen/xen/xenevt.c
620
op.u.close.port = unbind->port;
sys/arch/zaurus/dev/wm8731_zaudio.c
112
.close = zaudio_close,
sys/arch/zaurus/dev/wm8750_zaudio.c
132
.close = zaudio_close,
sys/arch/zaurus/stand/zboot/loadfile_zboot.c
57
(void)close(fd);
sys/dev/audio/audio.c
2621
if (sc->hw_if->close) {
sys/dev/audio/audio.c
2624
sc->hw_if->close(sc->hw_hdl);
sys/dev/audio/audio.c
2761
if (sc->hw_if->close) {
sys/dev/audio/audio.c
2764
sc->hw_if->close(sc->hw_hdl);
sys/dev/audio/audio_dai.h
135
if (!dai->dai_hw_if->close)
sys/dev/audio/audio_dai.h
137
dai->dai_hw_if->close(dai->dai_priv);
sys/dev/audio/audio_if.h
81
void (*close)(void *); /* close hardware */
sys/dev/bluetooth/btsco.c
171
.close = btsco_close,
sys/dev/dtv/dtvif.h
58
void (*close)(void *);
sys/dev/dtv/dtvvar.h
132
((sc)->sc_hw->close((sc)->sc_priv))
sys/dev/ebus/cs4231_ebus.c
100
.close = cs4231_close,
sys/dev/fdt/ausoc.c
325
.close = ausoc_close,
sys/dev/fdt/simple_amplifier.c
93
.close = simple_amplifier_close,
sys/dev/hdmicec/hdmicec.c
133
if (sc->sc_hwif->close)
sys/dev/hdmicec/hdmicec.c
134
sc->sc_hwif->close(sc->sc_priv);
sys/dev/hdmicec/hdmicec_if.h
36
void (*close)(void *);
sys/dev/ic/opl.c
131
.close = oplsyn_close,
sys/dev/ic/tms320av110.c
75
.close = tav_close,
sys/dev/isa/aria.c
217
.close = ariaclose,
sys/dev/isa/cms.c
83
.close = cms_close,
sys/dev/isa/ess.c
214
.close = ess_close,
sys/dev/isa/ess.c
235
.close = ess_close,
sys/dev/isa/gus.c
580
.close = gusclose,
sys/dev/isa/gus.c
603
.close = gusmax_close,
sys/dev/isa/midi_pcppi.c
76
.close = midi_pcppi_close,
sys/dev/isa/pas.c
127
.close = sbdsp_close,
sys/dev/isa/sb.c
84
.close = sbdsp_close,
sys/dev/isa/wss.c
89
.close = ad1848_isa_close,
sys/dev/isa/ym.c
172
.close = ad1848_isa_close,
sys/dev/isapnp/gus_isapnp.c
66
.close = iwclose,
sys/dev/microcode/aic7xxx/aicasm_symbol.c
161
symtable->close(symtable);
sys/dev/microcode/cyclades-z/cyzfirm2h.c
104
(void) close(i);
sys/dev/microcode/ral/build.c
48
close(fd);
sys/dev/microcode/rum/build.c
48
close(fd);
sys/dev/microcode/run/build.c
48
close(fd);
sys/dev/microcode/zyd/build.c
47
close(fd);
sys/dev/midi.c
167
hwp->close == 0 ||
sys/dev/midi.c
894
hw->close(sc->hw_hdl);
sys/dev/midi_if.h
68
void (*close)(void *); /* close hardware */
sys/dev/midisyn.c
179
if (fs->close)
sys/dev/midisyn.c
180
fs->close(ms);
sys/dev/midisynvar.h
53
void (*close) (midisyn *);
sys/dev/pci/auich.c
303
.close = auich_close,
sys/dev/pci/auvia.c
210
.close = auvia_close,
sys/dev/pci/coram.c
130
.close = coram_dtv_close,
sys/dev/pci/cxdtv.c
119
.close = cxdtv_dtv_close,
sys/dev/pci/cxgb/cxgb_toedev.h
99
int (*close)(struct toedev *dev);
sys/dev/pci/gcscaudio.c
183
.close = gcscaudio_close,
sys/dev/pci/xmm7360.c
1708
.close = xmm7360_tty_close,
sys/dev/pci/yds.c
204
.close = yds_close,
sys/dev/radio.c
127
if (sc->hw_if->close != NULL)
sys/dev/radio.c
128
return (sc->hw_if->close(sc->hw_hdl, flags, fmt, l->l_proc));
sys/dev/radio_if.h
44
int (*close)(void *, int, int, struct proc *);
sys/dev/sbus/cs4231_sbus.c
101
.close = cs4231_close,
sys/dev/sbus/dbri.c
179
.close = dbri_close,
sys/dev/scsipi/cd.c
3359
int func, close, flags;
sys/dev/scsipi/cd.c
3362
close = (mmc_op->operation == MMC_OP_CLOSESESSION);
sys/dev/scsipi/cd.c
3379
if (close)
sys/dev/scsipi/cd.c
3393
func = close ? 2 : 3;
sys/dev/scsipi/cd.c
3399
func = close ? 2 : 6;
sys/dev/sun/kbd.c
239
if (k->k_ops != NULL && k->k_ops->close != NULL) {
sys/dev/sun/kbd.c
241
if ((error = (*k->k_ops->close)(k)) != 0)
sys/dev/sun/kbd.c
574
if (k->k_ops != NULL && k->k_ops->close != NULL)
sys/dev/sun/kbd.c
575
ret = (*k->k_ops->close)(k);
sys/dev/sun/kbd.c
982
if (k->k_ops != NULL && k->k_ops->close != NULL)
sys/dev/sun/kbd.c
983
(*k->k_ops->close)(k);
sys/dev/sun/kbdvar.h
96
int (*close)(struct kbd_softc *);
sys/dev/usb/auvitek_dtv.c
80
.close = auvitek_dtv_close,
sys/dev/usb/auvitek_video.c
105
.close = auvitek_close,
sys/dev/usb/emdtv_dtv.c
74
.close = emdtv_dtv_close,
sys/dev/usb/pseye.c
148
.close = pseye_close,
sys/dev/usb/umidi.c
292
.close = umidi_close,
sys/dev/usb/usbdi.c
349
SDT_PROBE1(usb, device, pipe, close, pipe);
sys/dev/usb/usbdi.c
94
SDT_PROBE_DEFINE1(usb, device, pipe, close, "struct usbd_pipe *"/*pipe*/);
sys/dev/usb/uvideo.c
380
.close = uvideo_close,
sys/dev/video.c
1789
if (hw->close != NULL)
sys/dev/video.c
1790
hw->close(sc->hw_softc);
sys/dev/video_if.h
460
void (*close)(void *); /* close hardware */
sys/fs/puffs/puffs_vnops.c
893
PUFFS_MSG_VARS(vn, close);
sys/fs/puffs/puffs_vnops.c
897
PUFFS_MSG_ALLOC(vn, close);
sys/fs/puffs/puffs_vnops.c
905
PUFFS_MSG_RELEASE(close);
sys/kern/subr_devsw.c
1246
SDT_PROBE4(sdt, bdev, close, entry, d, dev, flag, devtype);
sys/kern/subr_devsw.c
1248
SDT_PROBE5(sdt, bdev, close, return, d, dev, flag, devtype, rv);
sys/kern/subr_devsw.c
1482
SDT_PROBE4(sdt, cdev, close, entry, d, dev, flag, devtype);
sys/kern/subr_devsw.c
1484
SDT_PROBE5(sdt, cdev, close, return, d, dev, flag, devtype, rv);
sys/kern/subr_devsw.c
171
SDT_PROBE_DEFINE4(sdt, bdev, close, entry,
sys/kern/subr_devsw.c
176
SDT_PROBE_DEFINE5(sdt, bdev, close, return,
sys/kern/subr_devsw.c
267
SDT_PROBE_DEFINE4(sdt, cdev, close, entry,
sys/kern/subr_devsw.c
272
SDT_PROBE_DEFINE5(sdt, cdev, close, return,
sys/lib/libsa/bootcfg.c
131
close(fd);
sys/lib/libsa/bootcfg.c
138
close(fd);
sys/lib/libsa/bootcfg.c
162
close(fd);
sys/lib/libsa/closeall.c
72
(void)close(i);
sys/lib/libsa/loadfile.c
107
(void)close(fd);
sys/lib/libsa/ls.c
108
close(fd);
sys/lib/libsa/ls.c
162
close(fd);
sys/lib/libsa/stand.h
113
__compactcall int (*close)(struct open_file *);
sys/lib/libsa/stand.h
146
#define FS_CLOSE(fs) ((fs)->close)
sys/lib/libsa/stand.h
201
#define DEV_CLOSE(d) ___CONCAT(LIBSA_SINGLE_DEVICE,close)
sys/lib/libsa/stand.h
269
int close(int);
sys/lib/libsa/stat.c
45
(void)close(fd);
sys/modules/examples/fopsmapper/cmd_mapper.c
59
if (close(devfd) == -1)
sys/modules/examples/mapper/cmd_mapper.c
60
if (close(devfd) == -1)
sys/modules/examples/ping/cmd_ping.c
57
if (close(devfd) == -1)
sys/modules/examples/ping_block/cmd_ping.c
57
if (close(devfd) == -1)
sys/netbt/rfcomm_session.c
1374
goto close;
sys/netbt/rfcomm_session.c
1389
goto close;
sys/netbt/rfcomm_session.c
1417
goto close;
sys/netbt/rfcomm_session.c
1422
goto close;
sys/netbt/rfcomm_session.c
1428
close:
sys/netbt/rfcomm_session.c
776
goto close;
sys/netbt/rfcomm_session.c
780
goto close;
sys/netbt/rfcomm_session.c
785
goto close;
sys/netbt/rfcomm_session.c
789
close:
sys/netinet/tcp_input.c
2376
goto close;
sys/netinet/tcp_input.c
2383
close:
sys/rump/librump/rumpkern/rump_syscalls.c
181
__weak_alias(close,rump___sysimpl_close);
sys/rump/net/lib/libshmif/shmif_user.c
138
close(inotify);
sys/rump/net/lib/libshmif/shmif_user.c
145
close(inotify);
sys/rump/net/lib/libvirtif/virtif_user.c
108
close(fd);
sys/rump/net/lib/libvirtif/virtif_user.c
123
close(viu->viu_fd);
sys/rump/net/lib/libvirtif/virtif_user.c
226
close(viu->viu_pipe[0]);
sys/rump/net/lib/libvirtif/virtif_user.c
227
close(viu->viu_pipe[1]);
sys/rump/net/lib/libvirtif/virtif_user.c
287
close(viu->viu_pipe[0]);
sys/rump/net/lib/libvirtif/virtif_user.c
288
close(viu->viu_pipe[1]);
sys/rump/net/lib/libwg/wg_user.c
102
close(fd);
sys/rump/net/lib/libwg/wg_user.c
115
close(wgu->wgu_fd);
sys/rump/net/lib/libwg/wg_user.c
122
close(s);
sys/rump/net/lib/libwg/wg_user.c
288
close(wgu->wgu_sock4);
sys/rump/net/lib/libwg/wg_user.c
290
close(wgu->wgu_sock6);
sys/rump/net/lib/libwg/wg_user.c
292
close(wgu->wgu_pipe[0]);
sys/rump/net/lib/libwg/wg_user.c
293
close(wgu->wgu_pipe[1]);
sys/rump/net/lib/libwg/wg_user.c
381
close(s);
sys/rump/net/lib/libwg/wg_user.c
435
close(wgu->wgu_pipe[0]);
sys/rump/net/lib/libwg/wg_user.c
436
close(wgu->wgu_pipe[1]);
sys/stand/efiboot/exec.c
106
close(fd);
sys/stand/efiboot/exec.c
188
close(fd);
sys/stand/efiboot/exec.c
214
close(fd);
sys/stand/efiboot/exec.c
73
close(fd);
sys/stand/efiboot/exec.c
80
close(fd);
sys/stand/efiboot/exec.c
99
close(fd);
tests/compat/linux/h_inotify_directory.c
78
RS(close(targetfd));
tests/compat/linux/h_inotify_init.c
50
RS(close(fd));
tests/compat/linux/h_inotify_init.c
56
RS(close(fd));
tests/compat/linux/h_inotify_init.c
62
RS(close(fd));
tests/compat/linux/h_inotify_single_file.c
52
RS(close(targetfd));
tests/compat/linux/h_inotify_single_file.c
62
RS(close(targetfd));
tests/compat/linux/h_inotify_single_file.c
64
RS(close(targetfd));
tests/compat/linux/h_inotify_watch_change.c
48
RS(close(targetfd));
tests/compat/linux/h_inotify_watch_change.c
56
RS(close(targetfd));
tests/compat/linux/h_inotify_watch_change.c
68
RS(close(targetfd));
tests/compat/linux/h_inotify_watch_change.c
80
RS(close(targetfd));
tests/crypto/opencrypto/h_aescbc.c
160
close(fd);
tests/crypto/opencrypto/h_aesctr1.c
247
close(fd);
tests/dev/audio/audiotest.c
4375
close(fd1);
tests/dev/audio/audiotest.c
4396
close(fd2);
tests/dev/audio/audiotest.c
477
r = close(fd);
tests/dev/audio/audiotest.c
736
close(fd);
tests/dev/cgd/t_cgd_3des.c
715
close(fd);
tests/dev/cgd/t_cgd_3des.c
856
RL(close(dkfd));
tests/dev/cgd/t_cgd_3des.c
903
RL(close(dkfd));
tests/dev/cgd/t_cgd_adiantum.c
394
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3116
close(fd);
tests/dev/cgd/t_cgd_aes.c
3263
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3310
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3357
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3404
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3451
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3498
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3550
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3595
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
1951
close(fd);
tests/dev/cgd/t_cgd_blowfish.c
2092
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2139
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2186
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2233
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2280
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2327
RL(close(dkfd));
tests/fs/common/fstest_nfs.c
116
close(pipes[0]);
tests/fs/common/fstest_nfs.c
124
close(pipes[1]);
tests/fs/common/fstest_puffs.c
276
close(sv[1]);
tests/fs/common/fstest_puffs.c
286
close(sv[0]);
tests/fs/common/fstest_zfs.c
71
close(fd);
tests/fs/common/fstest_zfs.c
74
close(fd);
tests/fs/fifofs/t_fifo.c
189
close(fd);
tests/fs/fifofs/t_fifo.c
65
close(fd);
tests/fs/lfs/util.c
60
int write_file(const char *filename, off_t len, int close, unsigned int seed)
tests/fs/lfs/util.c
89
if (close) {
tests/fs/psshfs/h_have_puffs.c
42
close(fd);
tests/fs/tmpfs/h_tools.c
194
close(changes[i].ident);
tests/fs/tmpfs/h_tools.c
240
(void)close(fd);
tests/fs/tmpfs/h_tools.c
244
close(fd);
tests/include/t_paths.c
176
ATF_CHECK(close(fd) == 0);
tests/include/t_paths.c
200
ATF_CHECK(close(fd) == 0);
tests/kernel/kqueue/read/t_fifo.c
117
(void)close(wfd);
tests/kernel/kqueue/read/t_fifo.c
130
(void)close(wfd);
tests/kernel/kqueue/read/t_fifo.c
131
(void)close(rfd);
tests/kernel/kqueue/read/t_fifo.c
132
(void)close(kq);
tests/kernel/kqueue/read/t_file.c
74
(void)close(fd);
tests/kernel/kqueue/read/t_ttypty.c
163
RL(close(aslave));
tests/kernel/kqueue/t_proc2.c
121
RL(close(kq));
tests/kernel/kqueue/t_proc3.c
87
RL(close(kq));
tests/kernel/kqueue/t_proc4.c
162
(void)close(kq);
tests/kernel/kqueue/t_timer.c
329
(void)close(kq);
tests/kernel/kqueue/t_vnode.c
570
(void)close(fd);
tests/kernel/kqueue/t_vnode.c
588
(void)close(fd);
tests/kernel/kqueue/t_vnode.c
653
(void)close(write_ev_fd);
tests/kernel/kqueue/t_vnode.c
663
(void)close(fd);
tests/kernel/kqueue/t_vnode.c
67
return close(fd);
tests/kernel/kqueue/t_vnode.c
80
(void)close(kq);
tests/kernel/kqueue/t_vnode.c
81
(void)close(target);
tests/kernel/kqueue/write/t_fifo.c
135
(void)close(wfd);
tests/kernel/kqueue/write/t_fifo.c
136
(void)close(rfd);
tests/kernel/kqueue/write/t_fifo.c
137
(void)close(kq);
tests/kernel/kqueue/write/t_pipe.c
109
RL(close(fds[1]));
tests/kernel/kqueue/write/t_pipe.c
135
RL(close(fds[0]));
tests/kernel/kqueue/write/t_pipe.c
136
RL(close(fds[1]));
tests/kernel/kqueue/write/t_pipe.c
64
RL(close(fds[0]));
tests/kernel/t_execregs.c
101
RL(close(pipefd[1]));
tests/kernel/t_fcntl.c
122
next: close(fd);
tests/kernel/t_fcntl.c
80
close(fd);
tests/kernel/t_kauth_pr_47598.c
155
close(s2);
tests/kernel/t_kauth_pr_47598.c
156
close(s);
tests/kernel/t_lockf.c
108
close (fd);
tests/kernel/t_lockf.c
139
close(fd);
tests/kernel/t_lua.c
122
RL(close(fd));
tests/kernel/t_lua.c
134
RL(close(fd));
tests/kernel/t_lua.c
167
RL(close(fd));
tests/kernel/t_pty.c
105
(void)close(pty);
tests/kernel/t_pty.c
247
(void)close(tty);
tests/kernel/t_signal_and_sp.c
106
RL(close(fd[1]));
tests/kernel/t_sysv.c
112
close(output);
tests/kernel/t_sysv.c
163
close(fd);
tests/lib/libc/c063/t_faccessat.c
113
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_faccessat.c
129
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_faccessat.c
133
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_faccessat.c
147
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_faccessat.c
171
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_faccessat.c
188
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_faccessat.c
210
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_faccessat.c
64
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_faccessat.c
68
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_faccessat.c
83
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchmodat.c
126
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fchmodat.c
142
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchmodat.c
146
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fchmodat.c
160
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchmodat.c
185
ATF_REQUIRE(close(dfdlink) == 0);
tests/lib/libc/c063/t_fchmodat.c
70
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchmodat.c
74
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fchmodat.c
93
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchownat.c
114
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchownat.c
157
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fchownat.c
177
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchownat.c
181
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fchownat.c
199
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchownat.c
229
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fchownat.c
86
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fchownat.c
90
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fexecve.c
73
(void)close(fd);
tests/lib/libc/c063/t_fstatat.c
121
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fstatat.c
138
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fstatat.c
142
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fstatat.c
157
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fstatat.c
182
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fstatat.c
65
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_fstatat.c
69
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_fstatat.c
88
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_linkat.c
118
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_linkat.c
135
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_linkat.c
155
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_linkat.c
162
ATF_REQUIRE(close(ofd) == 0);
tests/lib/libc/c063/t_linkat.c
163
ATF_REQUIRE(close(nfd) == 0);
tests/lib/libc/c063/t_linkat.c
188
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_linkat.c
194
ATF_REQUIRE(close(ofd) == 0);
tests/lib/libc/c063/t_linkat.c
195
ATF_REQUIRE(close(nfd) == 0);
tests/lib/libc/c063/t_linkat.c
69
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_linkat.c
74
ATF_REQUIRE(close(ofd) == 0);
tests/lib/libc/c063/t_linkat.c
75
ATF_REQUIRE(close(nfd) == 0);
tests/lib/libc/c063/t_linkat.c
96
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_mkdirat.c
107
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_mkdirat.c
63
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_mkfifoat.c
107
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_mkfifoat.c
134
(void)close(dfd);
tests/lib/libc/c063/t_mkfifoat.c
64
(void)close(dfd);
tests/lib/libc/c063/t_mknodat.c
102
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_mknodat.c
138
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_mknodat.c
81
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_mknodat.c
83
(void)close(dfd);
tests/lib/libc/c063/t_o_search.c
113
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
118
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
123
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
129
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
145
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
150
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
155
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
161
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
178
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
189
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
207
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
221
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
237
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
251
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
271
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
287
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
294
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
310
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
327
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
340
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_o_search.c
83
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
88
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_o_search.c
95
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_openat.c
116
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_openat.c
132
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_openat.c
136
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_openat.c
150
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_openat.c
62
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_openat.c
66
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_openat.c
67
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_openat.c
82
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_openat.c
86
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_readlinkat.c
127
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_readlinkat.c
142
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_readlinkat.c
66
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_readlinkat.c
73
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_readlinkat.c
92
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_renameat.c
119
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_renameat.c
136
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_renameat.c
67
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_renameat.c
74
ATF_REQUIRE(close(ofd) == 0);
tests/lib/libc/c063/t_renameat.c
75
ATF_REQUIRE(close(nfd) == 0);
tests/lib/libc/c063/t_renameat.c
96
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_symlinkat.c
115
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_symlinkat.c
136
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_symlinkat.c
67
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_symlinkat.c
71
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_symlinkat.c
92
ATF_REQUIRE(close(fd) != -1);
tests/lib/libc/c063/t_unlinkat.c
111
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_unlinkat.c
127
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_unlinkat.c
131
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_unlinkat.c
145
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_unlinkat.c
62
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_unlinkat.c
66
ATF_REQUIRE(close(dfd) == 0);
tests/lib/libc/c063/t_unlinkat.c
81
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/c063/t_utimensat.c
102
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
123
RL(close(fd));
tests/lib/libc/c063/t_utimensat.c
158
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
175
RL(close(fd));
tests/lib/libc/c063/t_utimensat.c
179
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
194
RL(close(fd));
tests/lib/libc/c063/t_utimensat.c
219
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
98
RL(close(fd));
tests/lib/libc/db/h_db.c
342
if ((*dbp->close)(dbp))
tests/lib/libc/db/h_db.c
344
(void)close(ofd);
tests/lib/libc/db/h_db.c
731
(void)close(fd);
tests/lib/libc/db/t_db_hash_seq.c
96
if ((*db->close)(db) == -1)
tests/lib/libc/gen/execve/t_execve.c
101
RL(close(fd[1]));
tests/lib/libc/gen/execve/t_execve.c
91
RL(close(fd[0]));
tests/lib/libc/gen/isqemu.h
57
close(fd);
tests/lib/libc/gen/isqemu.h
60
close(fd);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
329
close(fd);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
373
close(fd);
tests/lib/libc/gen/posix_spawn/t_spawn.c
194
RL(close(fd));
tests/lib/libc/gen/posix_spawn/t_spawn.c
273
RL(close(fd));
tests/lib/libc/gen/posix_spawn/t_spawn.c
453
RL(close(fd));
tests/lib/libc/gen/posix_spawn/t_spawn.c
542
RL(close(fd[0]));
tests/lib/libc/gen/posix_spawn/t_spawn.c
552
RL(close(fd[1]));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
162
RL(close(pfd[0]));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
163
RL(close(pfd[1]));
tests/lib/libc/gen/t_closefrom.c
111
(void)close(buf[i]);
tests/lib/libc/gen/t_closefrom.c
67
ATF_REQUIRE(close(fd) == -1);
tests/lib/libc/gen/t_dir.c
63
(void)close(_creat_fd); \
tests/lib/libc/gen/t_ftok.c
71
(void)close(fd);
tests/lib/libc/gen/t_realpath.c
135
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/gen/t_sleep.c
177
(void)close(kq);
tests/lib/libc/gen/t_ttyname.c
119
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/gen/t_ttyname.c
171
(void)close(STDIN_FILENO);
tests/lib/libc/gen/t_ttyname.c
81
(void)close(fd);
tests/lib/libc/misc/t_ubsan.c
87
ATF_REQUIRE(close(filedes[0]) == 0);
tests/lib/libc/misc/t_ubsan.c
88
ATF_REQUIRE(close(filedes[1]) == 0);
tests/lib/libc/misc/t_ubsan.c
93
ATF_REQUIRE(close(filedes[1]) == 0);
tests/lib/libc/stdio/t_fopen.c
101
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/stdio/t_fopen.c
73
ATF_REQUIRE(close(fd) == -1);
tests/lib/libc/stdlib/t_mktemp.c
134
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/stdlib/t_mktemp.c
161
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/stdlib/t_mktemp.c
216
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/stdlib/t_mktemp.c
253
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/stdlib/t_system.c
68
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/msg.h
39
close(fd); \
tests/lib/libc/sys/msg.h
50
close(fds->pfd[0]);
tests/lib/libc/sys/msg.h
51
close(fds->pfd[1]);
tests/lib/libc/sys/t_access.c
76
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_aio_cancel.c
153
rv = close(fd);
tests/lib/libc/sys/t_aio_cancel.c
194
rv = close(fd);
tests/lib/libc/sys/t_aio_lio.c
156
rv = close(fd);
tests/lib/libc/sys/t_aio_lio.c
252
rv = close(fd);
tests/lib/libc/sys/t_aio_rw.c
154
rv = close(fd);
tests/lib/libc/sys/t_aio_suspend.c
157
rv = close(fd);
tests/lib/libc/sys/t_bind.c
69
close(sock);
tests/lib/libc/sys/t_chroot.c
106
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_chroot.c
202
if (close(fd) != 0)
tests/lib/libc/sys/t_chroot.c
210
if (close(fd) != 0)
tests/lib/libc/sys/t_chroot.c
229
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_chroot.c
253
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_chroot.c
87
if (close(fd) != 0)
tests/lib/libc/sys/t_clock_gettime.c
233
RL(close(fd[0]));
tests/lib/libc/sys/t_clock_gettime.c
234
RL(close(fd[1]));
tests/lib/libc/sys/t_connect.c
123
close(sock);
tests/lib/libc/sys/t_connect.c
94
close(sd);
tests/lib/libc/sys/t_connect.c
95
close(slist);
tests/lib/libc/sys/t_dup.c
126
(void)close(fd);
tests/lib/libc/sys/t_dup.c
127
(void)close(fd1);
tests/lib/libc/sys/t_dup.c
129
ATF_REQUIRE(close(fd2) != 0);
tests/lib/libc/sys/t_dup.c
159
(void)close(fd);
tests/lib/libc/sys/t_dup.c
225
(void)close(fd);
tests/lib/libc/sys/t_dup.c
96
(void)close(fd);
tests/lib/libc/sys/t_dup.c
97
(void)close(fd1);
tests/lib/libc/sys/t_dup.c
98
(void)close(fd2);
tests/lib/libc/sys/t_eventfd.c
215
(void) close(ctx.efd);
tests/lib/libc/sys/t_eventfd.c
258
(void) close(efd);
tests/lib/libc/sys/t_eventfd.c
362
(void) close(kq);
tests/lib/libc/sys/t_eventfd.c
363
(void) close(efd);
tests/lib/libc/sys/t_eventfd.c
490
(void) close(kq);
tests/lib/libc/sys/t_eventfd.c
648
(void) close(ctx.efd);
tests/lib/libc/sys/t_eventfd.c
714
ATF_REQUIRE(close(ctx.efd) == 0);
tests/lib/libc/sys/t_eventfd.c
775
(void) close(efd);
tests/lib/libc/sys/t_eventfd.c
804
(void)close(efd);
tests/lib/libc/sys/t_eventfd.c
813
(void)close(efd);
tests/lib/libc/sys/t_fsync.c
109
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_fsync.c
83
ATF_REQUIRE(close(fd[0]) == 0);
tests/lib/libc/sys/t_fsync.c
84
ATF_REQUIRE(close(fd[1]) == 0);
tests/lib/libc/sys/t_futex_ops.c
242
(void) close(bs_fd);
tests/lib/libc/sys/t_getrusage.c
153
close(fd);
tests/lib/libc/sys/t_getrusage.c
191
close(s);
tests/lib/libc/sys/t_getsockname.c
72
ATF_REQUIRE(close(sd) != -1);
tests/lib/libc/sys/t_kevent.c
101
close(s[0]);
tests/lib/libc/sys/t_kevent.c
116
close(s[1]);
tests/lib/libc/sys/t_kevent.c
136
close(kq);
tests/lib/libc/sys/t_kevent.c
174
(void)close(fd);
tests/lib/libc/sys/t_kevent.c
175
(void)close(kq);
tests/lib/libc/sys/t_kevent.c
205
(void)close(kq);
tests/lib/libc/sys/t_link.c
144
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_link.c
210
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_link.c
92
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_listen.c
126
close(sd);
tests/lib/libc/sys/t_listen.c
73
(void)close(fdc);
tests/lib/libc/sys/t_listen.c
86
(void)close(fda);
tests/lib/libc/sys/t_listen.c
87
(void)close(fdb);
tests/lib/libc/sys/t_mincore.c
188
(void)close(fd);
tests/lib/libc/sys/t_mkdir.c
67
(void)close(fd);
tests/lib/libc/sys/t_mkfifo.c
106
(void)close(fd);
tests/lib/libc/sys/t_mkfifo.c
198
(void)close(fd);
tests/lib/libc/sys/t_mknod.c
94
(void)close(fd);
tests/lib/libc/sys/t_mmap.c
150
ATF_REQUIRE(close(fds[0]) == 0);
tests/lib/libc/sys/t_mmap.c
151
ATF_REQUIRE(close(fds[1]) == 0);
tests/lib/libc/sys/t_mmap.c
205
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_mmap.c
319
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_mmap.c
387
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_mmap.c
514
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_mmap.c
567
(void)close(fd);
tests/lib/libc/sys/t_mmap.c
578
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_mprotect.c
112
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_msync.c
121
(void)close(fd);
tests/lib/libc/sys/t_pipe.c
100
RL(close(pp[1]));
tests/lib/libc/sys/t_pipe.c
132
RL(close(pp[0]));
tests/lib/libc/sys/t_pipe.c
149
RL(close(pp[1]));
tests/lib/libc/sys/t_pipe2.c
103
ATF_REQUIRE(close(fd[0]) != -1);
tests/lib/libc/sys/t_pipe2.c
104
ATF_REQUIRE(close(fd[1]) != -1);
tests/lib/libc/sys/t_poll.c
117
if (close(pf[1]) == -1)
tests/lib/libc/sys/t_poll.c
126
if (close(pf[1]) == -1)
tests/lib/libc/sys/t_poll.c
135
if (close(pf[1]) == -1)
tests/lib/libc/sys/t_poll.c
220
RL(close(fds[0]));
tests/lib/libc/sys/t_poll.c
221
RL(close(fds[1]));
tests/lib/libc/sys/t_poll.c
385
RL(close(wfd));
tests/lib/libc/sys/t_poll.c
386
RL(close(rfd));
tests/lib/libc/sys/t_poll.c
417
RL(close(wfd));
tests/lib/libc/sys/t_poll.c
471
if (close(rfd))
tests/lib/libc/sys/t_poll.c
474
if (close(wfd))
tests/lib/libc/sys/t_poll.c
478
RL(close(wfd));
tests/lib/libc/sys/t_poll.c
723
if (close(closefd) == -1)
tests/lib/libc/sys/t_poll.c
733
RL(close(closefd));
tests/lib/libc/sys/t_poll.c
754
RL(close(*closefdp));
tests/lib/libc/sys/t_poll.c
792
RL(close(readfd));
tests/lib/libc/sys/t_poll.c
828
RL(close(writefd));
tests/lib/libc/sys/t_poll.c
864
RL(close(writefd));
tests/lib/libc/sys/t_pollts.c
116
ATF_REQUIRE_EQ(close(fds[0]), 0);
tests/lib/libc/sys/t_pollts.c
117
ATF_REQUIRE_EQ(close(fds[1]), 0);
tests/lib/libc/sys/t_pollts.c
190
ATF_REQUIRE_EQ(close(fd), 0);
tests/lib/libc/sys/t_posix_fadvise.c
98
(void)close(badfd);
tests/lib/libc/sys/t_ptrace.c
173
FORKEE_ASSERT(close(fds_toparent[0]) == 0);
tests/lib/libc/sys/t_ptrace.c
174
FORKEE_ASSERT(close(fds_fromparent[1]) == 0);
tests/lib/libc/sys/t_ptrace.c
196
RL(close(fds_toparent[1]));
tests/lib/libc/sys/t_ptrace.c
197
RL(close(fds_fromparent[0]));
tests/lib/libc/sys/t_ptrace.c
208
RL(close(fds_fromparent[1]));
tests/lib/libc/sys/t_ptrace.c
211
RL(close(fds_toparent[0]));
tests/lib/libc/sys/t_ptrace_core_wait.h
136
close(core_fd);
tests/lib/libc/sys/t_ptrace_core_wait.h
180
close(core_fd);
tests/lib/libc/sys/t_ptrace_x86_wait.h
3620
close(core_fd);
tests/lib/libc/sys/t_revoke.c
159
if (close(fd) != 0)
tests/lib/libc/sys/t_revoke.c
170
(void)close(fd);
tests/lib/libc/sys/t_revoke.c
84
(void)close(buf[i]);
tests/lib/libc/sys/t_sendrecv.c
108
close(sd);
tests/lib/libc/sys/t_sendrecv.c
147
close(sd[0]);
tests/lib/libc/sys/t_sendrecv.c
77
close(sd);
tests/lib/libc/sys/t_setrlimit.c
216
(void)close(fd);
tests/lib/libc/sys/t_setrlimit.c
322
(void)close(i);
tests/lib/libc/sys/t_setrlimit.c
370
(void)close(i);
tests/lib/libc/sys/t_socketpair.c
107
ATF_REQUIRE(close(fd[0]) != -1);
tests/lib/libc/sys/t_socketpair.c
108
ATF_REQUIRE(close(fd[1]) != -1);
tests/lib/libc/sys/t_stat.c
224
ATF_REQUIRE(close(fd[i]) == 0);
tests/lib/libc/sys/t_stat.c
269
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_stat.c
312
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_stat.c
362
(void)close(fd);
tests/lib/libc/sys/t_stat.c
396
(void)close(fd);
tests/lib/libc/sys/t_stat.c
77
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_timerfd.c
133
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
136
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
164
RL(close(fd));
tests/lib/libc/sys/t_timerfd.c
189
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
247
RL(close(fd));
tests/lib/libc/sys/t_timerfd.c
289
RL(close(fd));
tests/lib/libc/sys/t_timerfd.c
332
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
371
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
417
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
447
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
499
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
612
(void) close(kq);
tests/lib/libc/sys/t_timerfd.c
613
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
689
(void) close(kq);
tests/lib/libc/sys/t_timerfd.c
690
(void) close(fd);
tests/lib/libc/sys/t_timerfd.c
707
ATF_REQUIRE(close(ctx->fd) == 0);
tests/lib/libc/sys/t_timerfd.c
783
(void)close(tfd);
tests/lib/libc/sys/t_timerfd.c
793
(void)close(tfd);
tests/lib/libc/sys/t_truncate.c
104
(void)close(fd);
tests/lib/libc/sys/t_truncate.c
135
(void)close(fd);
tests/lib/libc/sys/t_truncate.c
75
(void)close(fd);
tests/lib/libc/sys/t_umask.c
132
(void)close(fd);
tests/lib/libc/sys/t_unlink.c
62
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_write.c
119
ATF_REQUIRE(close(fds[0]) == 0);
tests/lib/libc/sys/t_write.c
127
ATF_REQUIRE(close(fds[1]) == 0);
tests/lib/libc/sys/t_write.c
154
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/sys/t_write.c
187
(void)close(fd);
tests/lib/libc/sys/t_write.c
243
close(fd[0]);
tests/lib/libc/sys/t_write.c
244
close(fd[1]);
tests/lib/libc/sys/t_write.c
269
close(fd);
tests/lib/libc/sys/t_write.c
95
(void)close(fd);
tests/lib/libc/t_cdb.c
105
ATF_REQUIRE(close(fd) == 0);
tests/lib/libc/ttyio/t_ptm.c
101
(void)close(ptm.sfd);
tests/lib/libc/ttyio/t_ptm.c
102
(void)close(ptm.cfd);
tests/lib/libc/ttyio/t_ptm.c
103
(void)close(fdm);
tests/lib/libc/ttyio/t_ttyio.c
155
(void)close(s);
tests/lib/libcurses/director/director.c
229
close(fd);
tests/lib/libcurses/director/director.c
260
close(pipe_to_slave[1]);
tests/lib/libcurses/director/director.c
262
close(pipe_from_slave[0]);
tests/lib/libcurses/director/director.c
272
(void)close(pipe_to_slave[0]);
tests/lib/libcurses/director/director.c
273
(void)close(pipe_from_slave[1]);
tests/lib/libcurses/director/director.c
289
(void)close(to_slave);
tests/lib/libcurses/director/director.c
290
(void)close(from_slave);
tests/lib/libcurses/director/testlang_parse.y
1063
close(check_fd);
tests/lib/libossaudio/t_ossaudio.c
280
close(fd);
tests/lib/libossaudio/t_ossaudio.c
333
close(fd);
tests/lib/libossaudio/t_ossaudio.c
382
close(fd);
tests/lib/libossaudio/t_ossaudio.c
447
close(fd);
tests/lib/libossaudio/t_ossaudio.c
55
close(fd);
tests/lib/libpthread/t_cancellation.c
206
RL(close(fd));
tests/lib/libpthread/t_preempt.c
115
close(fd);
tests/lib/librt/t_sem.c
201
(void)close(fd);
tests/lib/librumpclient/t_fd.c
76
RL(close(0));
tests/lib/librumpclient/t_fd.c
77
RL(close(1));
tests/lib/librumpclient/t_fd.c
78
RL(close(2));
tests/lib/librumphijack/h_client.c
105
close(fd);
tests/lib/librumphijack/h_cwd.c
75
close(fd);
tests/lib/semaphore/sem.c
322
F1(close, intptr_t);
tests/modules/t_kcov.c
107
close(fd);
tests/modules/t_kcov.c
111
close(fd);
tests/modules/t_kcov.c
126
close(fd);
tests/modules/t_kcov.c
148
close(fd);
tests/modules/t_kcov.c
165
close(fd);
tests/modules/t_kcov.c
217
close(fd);
tests/modules/t_kcov.c
258
close(fd);
tests/modules/t_kcov.c
272
close(fd);
tests/modules/t_kcov.c
301
close(fd);
tests/modules/t_kcov.c
329
close(fd);
tests/modules/t_kcov.c
524
ATF_REQUIRE(close(fd) == 0);
tests/modules/t_kcov.c
84
close(fd1);
tests/modules/t_kcov.c
85
close(fd2);
tests/modules/t_kcov.c
97
close(fd1);
tests/modules/t_kcov.c
98
close(fd2);
tests/net/bpfilter/t_bpfilter.c
250
close(channel[0]);
tests/net/bpfilter/t_bpfilter.c
252
close(channel[1]);
tests/net/bpfilter/t_bpfilter.c
271
close(channel[1]);
tests/net/bpfilter/t_bpfilter.c
293
close(channel[0]);
tests/net/fdpass/fdpass.c
228
close(fd);
tests/net/icmp/t_ping.c
85
close(channel[0]);
tests/net/icmp/t_ping.c
87
close(channel[1]);
tests/net/icmp/t_ping.c
94
close(channel[1]);
tests/net/icmp/t_ping.c
96
close(channel[0]);
tests/net/if/ifconf.c
105
close(fd);
tests/net/if/ifconf.c
67
close(fd);
tests/net/if_vlan/bpfopen.c
195
close(bpfd);
tests/net/if_vlan/bpfopen.c
204
close(bpfd);
tests/net/if_vlan/siocXmulti.c
116
close(fd);
tests/net/inpcb/broadcast_bind.c
56
close(s);
tests/net/inpcb/broadcast_bind.c
62
close(s);
tests/net/inpcb/inpcb_bind.c
113
if (close(*fds++) && errno != EBADF)
tests/net/ipsec/natt_terminator.c
130
close(s);
tests/net/mcast/mcast.c
228
close(s);
tests/net/net/t_bind.c
81
close(fd);
tests/net/net/t_ip_reass.c
304
error = close(fd);
tests/net/net/t_ip_reass.c
366
error = close(fd);
tests/net/net/t_ip_reass.c
422
error = close(fd);
tests/net/net/t_mapped.c
218
(void)close(cfd);
tests/net/net/t_mapped.c
229
(void)close(afd);
tests/net/net/t_mapped.c
230
(void)close(sfd);
tests/net/net/t_mapped.c
234
(void)close(cfd);
tests/net/net/t_mapped.c
239
(void)close(afd);
tests/net/net/t_mapped.c
240
(void)close(sfd);
tests/net/net/t_mapped.c
243
(void)close(cfd);
tests/net/net/t_pktinfo.c
163
close(s);
tests/net/net/t_pktinfo.c
164
close(c);
tests/net/net/t_pktinfo_send.c
628
close(channel[1]);
tests/net/net/t_pktinfo_send.c
631
close(channel[0]);
tests/net/net/t_pktinfo_send.c
659
close(channel[0]);
tests/net/net/t_pktinfo_send.c
661
close(channel[1]);
tests/net/net/t_pktinfo_send.c
724
close(channel[1]);
tests/net/net/t_pktinfo_send.c
727
close(channel[0]);
tests/net/net/t_pktinfo_send.c
754
close(channel[0]);
tests/net/net/t_pktinfo_send.c
756
close(channel[1]);
tests/net/net/t_socket_afinet.c
102
close(sd);
tests/net/net/t_socket_afinet.c
124
close(sd);
tests/net/net/t_socket_afinet.c
171
rc = close(cs);
tests/net/net/t_socket_afinet.c
185
close(ss2);
tests/net/net/t_socket_afinet.c
186
close(ss);
tests/net/net/t_socket_afinet.c
246
rc = close(cs);
tests/net/net/t_socket_afinet.c
266
close(ss2);
tests/net/net/t_socket_afinet.c
267
close(ss);
tests/net/net/t_socket_afinet.c
72
close(sd);
tests/net/net/t_tcp.c
258
close(srvr);
tests/net/net/t_tcp.c
259
close(clnt);
tests/net/net/t_tcp.c
260
close(acpt);
tests/net/net/t_udp.c
75
close(s);
tests/net/net/t_unix.c
138
close(s);
tests/net/net/t_unix.c
268
close(srvr);
tests/net/net/t_unix.c
326
if (close(clnt) == -1)
tests/net/net/t_unix.c
363
(void)close(acpt);
tests/net/net/t_unix.c
365
(void)close(srvr);
tests/net/net/t_unix.c
372
(void)close(clnt);
tests/net/net/t_unix.c
382
(void)close(acpt);
tests/net/net/t_unix.c
384
(void)close(srvr);
tests/net/net/t_unix.c
388
(void)close(clnt);
tests/net/net/t_unix.c
487
RL(close(acc));
tests/net/net/t_unix.c
488
RL(close(conn));
tests/net/net/t_unix.c
520
RL(close(acc));
tests/net/net/t_unix.c
521
RL(close(conn));
tests/net/net/t_unix.c
522
RL(close(listener));
tests/net/sys/t_rfc6056.c
114
if (close(s) == -1)
tests/net/sys/t_rfc6056.c
98
if (close(s) == -1)
tests/net/tcp/t_tcp_connect_port.c
129
error = close(fd);
tests/net/tcp/t_tcp_connect_port.c
133
(void)close(fd);
tests/net/tcp/t_tcp_connect_port.c
169
error = close(fd);
tests/net/tcp/t_tcp_connect_port.c
285
error = close(asock);
tests/net/tcp/t_tcp_connect_port.c
290
error = close(csock);
tests/net/tcp/tcp_shutdown.c
133
e = close(s);
tests/rump/rumpvfs/t_etfs.c
106
close(etcfd);
tests/rump/rumpvfs/t_etfs.c
107
close(localfd);
tests/usr.sbin/inetd/t_inetd.c
186
CHECK_ERROR(close(udp));
tests/usr.sbin/inetd/t_inetd.c
193
CHECK_ERROR(close(udp));
tests/usr.sbin/inetd/test_server.c
119
CHECK(close(fd));
tools/compat/dprintf.c
56
(void)close(e);
usr.bin/aiomixer/draw.c
62
close(fd);
usr.bin/aiomixer/draw.c
65
close(fd);
usr.bin/aiomixer/main.c
570
close(fd);
usr.bin/aiomixer/main.c
582
close(aio->fd);
usr.bin/at/at.c
276
(void)close(lockdes);
usr.bin/at/at.c
414
(void)close(fd2);
usr.bin/audio/play/play.c
218
close(audiofd);
usr.bin/audio/play/play.c
350
close(fd);
usr.bin/audio/play/play.c
402
close(fd);
usr.bin/audio/record/record.c
387
close(ti.outfd);
usr.bin/audio/record/record.c
394
close(audiofd);
usr.bin/audiocfg/audiodev.c
164
close(adev->ctlfd);
usr.bin/audiocfg/audiodev.c
175
close(fd);
usr.bin/audiocfg/audiodev.c
336
close(adev->fd);
usr.bin/audiocfg/audiodev.c
73
close(adev->ctlfd);
usr.bin/audiocfg/audiodev.c
87
close(adev->ctlfd);
usr.bin/audiocfg/audiodev.c
97
close(adev->ctlfd);
usr.bin/bthset/bthset.c
340
close(rf);
usr.bin/bthset/bthset.c
414
close(s);
usr.bin/bthset/bthset.c
593
close (fd);
usr.bin/btkey/device.c
125
if (fd >= 0) close(fd);
usr.bin/btpin/btpin.c
152
close(s);
usr.bin/btpin/btpin.c
182
close(s);
usr.bin/calendar/calendar.c
437
(void)close(pdes[0]);
usr.bin/calendar/calendar.c
438
(void)close(pdes[1]);
usr.bin/calendar/calendar.c
445
(void)close(fd);
usr.bin/calendar/calendar.c
450
(void)close(pdes[1]);
usr.bin/calendar/calendar.c
452
(void)close(pdes[0]);
usr.bin/calendar/calendar.c
469
(void)close(pdes[1]);
usr.bin/calendar/calendar.c
472
close(fd);
usr.bin/calendar/calendar.c
518
close(fd);
usr.bin/calendar/calendar.c
525
close(fd);
usr.bin/calendar/calendar.c
536
close(fd);
usr.bin/calendar/calendar.c
542
close(fd);
usr.bin/calendar/calendar.c
550
close(fd);
usr.bin/calendar/calendar.c
581
(void)close(pdes[0]);
usr.bin/calendar/calendar.c
582
(void)close(pdes[1]);
usr.bin/calendar/calendar.c
588
(void)close(pdes[0]);
usr.bin/calendar/calendar.c
590
(void)close(pdes[1]);
usr.bin/calendar/calendar.c
601
(void)close(pdes[0]);
usr.bin/calendar/calendar.c
608
(void)close(pdes[1]);
usr.bin/cap_mkdb/cap_mkdb.c
146
if (capdbp->close(capdbp) < 0)
usr.bin/cdplay/cdplay.c
129
close(fd); \
usr.bin/cdplay/cdplay.c
1419
close(da.afd);
usr.bin/cdplay/cdplay.c
1432
close(da.afd);
usr.bin/cdplay/cdplay.c
317
close(fd);
usr.bin/cdplay/cdplay.c
422
close(da.afd);
usr.bin/cdplay/cdplay.c
434
close(fd);
usr.bin/chpass/chpass.c
283
close(pfd);
usr.bin/chpass/chpass.c
284
close(tfd);
usr.bin/cksum/cksum.c
462
close(fd);
usr.bin/cksum/cksum.c
513
(void)close(fd);
usr.bin/colcrt/colcrt.c
106
close(0);
usr.bin/config/main.c
1650
(void)close(fd);
usr.bin/config/main.c
1814
(void)close(kernel);
usr.bin/config/main.c
1871
(void)close(kfd);
usr.bin/config/main.c
463
close(cfd);
usr.bin/crunch/crunchide/crunchide.c
273
close(fd);
usr.bin/db/db.c
373
if (db->close(db) == -1)
usr.bin/diff/diffreg.c
481
close(ifd);
usr.bin/diff/diffreg.c
487
close(ifd);
usr.bin/diff/diffreg.c
488
close(ofd);
usr.bin/diff/diffreg.c
492
close(ifd);
usr.bin/diff/pr.c
100
close(STDOUT_FILENO);
usr.bin/diff/pr.c
102
close(pr->ostdout);
usr.bin/diff/pr.c
68
close(pfd[0]);
usr.bin/diff/pr.c
70
close(pfd[1]);
usr.bin/diff/pr.c
79
close(pfd[1]);
usr.bin/diff/pr.c
81
close(pfd[0]);
usr.bin/diff3/diff3.c
253
close(fd[0]);
usr.bin/diff3/diff3.c
256
close(fd[1]);
usr.bin/diff3/diff3.c
264
close(fd[1]);
usr.bin/eject/eject.c
402
(void)close(fd);
usr.bin/eject/eject.c
459
(void)close(fd);
usr.bin/error/touch.c
592
close(fd);
usr.bin/extattr/getextattr.c
311
(void)close(fd);
usr.bin/fincore/fincore.c
155
close(fd);
usr.bin/finger/lprint.c
347
(void)close(fd);
usr.bin/finger/lprint.c
359
(void)close(fd);
usr.bin/finger/net.c
100
close(s);
usr.bin/flock/flock.c
303
(void)close(fd);
usr.bin/ftp/cmds.c
1440
(void)close(pid);
usr.bin/ftp/fetch.c
1897
close(s);
usr.bin/ftp/fetch.c
688
close(s);
usr.bin/ftp/fetch.c
694
close(s);
usr.bin/ftp/fetch.c
718
close(s);
usr.bin/ftp/ftp.c
1252
(void)close(data);
usr.bin/ftp/ftp.c
1386
(void)close(data);
usr.bin/ftp/ftp.c
1552
(void)close(data);
usr.bin/ftp/ftp.c
1580
(void)close(data);
usr.bin/ftp/ftp.c
1724
(void)close(data);
usr.bin/ftp/ftp.c
1787
(void)close(data);
usr.bin/ftp/ftp.c
1804
(void)close(data);
usr.bin/ftp/ftp.c
223
close(s);
usr.bin/ftp/ftp.c
295
(void)close(s);
usr.bin/ftp/ftp.c
911
(void)close(data);
usr.bin/ftp/ftp.c
929
(void)close(data);
usr.bin/ftp/ssl.c
247
close(fd);
usr.bin/ftp/ssl.c
290
close(conn->sd);
usr.bin/ftp/util.c
343
(void)close(data);
usr.bin/ftp/util.c
577
close(fd);
usr.bin/gencat/gencat.c
208
close(ifd);
usr.bin/grep/file.c
238
close(f->fd);
usr.bin/grep/file.c
272
close(f->fd);
usr.bin/gzip/gzip.c
1340
close(in);
usr.bin/gzip/gzip.c
1353
close(in);
usr.bin/gzip/gzip.c
1361
close(in);
usr.bin/gzip/gzip.c
1374
close(in);
usr.bin/gzip/gzip.c
1392
(void)close(in);
usr.bin/gzip/gzip.c
1419
if (close(out) == -1)
usr.bin/gzip/gzip.c
1428
if (close(out) == -1)
usr.bin/gzip/gzip.c
1462
close(fd);
usr.bin/gzip/gzip.c
1574
close(STDOUT_FILENO);
usr.bin/gzip/gzip.c
1686
close(fd);
usr.bin/gzip/gzip.c
1694
if (close(fd) != 0)
usr.bin/gzip/gzip.c
1696
if (zfd != STDOUT_FILENO && close(zfd) != 0)
usr.bin/gzip/gzip.c
1731
close(ofd);
usr.bin/gzip/gzip.c
1738
close(ofd);
usr.bin/gzip/gzip.c
1746
close(ofd);
usr.bin/gzip/gzip.c
1753
close(fd);
usr.bin/gzip/gzip.c
1755
close(fd);
usr.bin/gzip/gzip.c
2069
close(fd);
usr.bin/ktrace/ktrace.c
236
(void)close(fd);
usr.bin/ktrace/ktrace.c
361
(void)close(pi[1]);
usr.bin/ktrace/ktrace.c
389
(void)close(pi[0]);
usr.bin/ldd/ldd.c
214
close(fd);
usr.bin/login/common.c
146
(void)close(fd);
usr.bin/login/common.c
342
(void)close(fd);
usr.bin/login/login.c
263
(void)close(cnt);
usr.bin/login/login_pam.c
203
(void)close(cnt);
usr.bin/m4/eval.c
412
close(fd);
usr.bin/m4/gnum4.c
673
(void) close(p[0]);
usr.bin/m4/gnum4.c
675
(void) close(p[1]);
usr.bin/m4/gnum4.c
681
(void) close(p[1]);
usr.bin/m4/gnum4.c
689
(void) close(p[0]);
usr.bin/mail/cmd3.c
506
(void)close(fd);
usr.bin/mail/collect.c
170
(void)close(fd);
usr.bin/mail/collect.c
408
(void)close(fd);
usr.bin/mail/collect.c
639
(void)close(fd);
usr.bin/mail/collect.c
650
(void)close(nullfd);
usr.bin/mail/dotlock.c
87
(void)close(fd);
usr.bin/mail/edit.c
75
(void)close(t);
usr.bin/mail/edit.c
81
(void)close(t);
usr.bin/mail/lex.c
269
(void)close(i);
usr.bin/mail/lex.c
554
(void)close(oldfd1);
usr.bin/mail/lex.c
842
(void)close(image);
usr.bin/mail/list.c
630
(void)close(fd);
usr.bin/mail/main.c
248
(void)close(i);
usr.bin/mail/mime_attach.c
299
(void)close(fd2);
usr.bin/mail/mime_attach.c
410
(void)close(ofd); /* close the copy */
usr.bin/mail/mime_attach.c
574
(void)close(fd);
usr.bin/mail/mime_attach.c
619
(void)close(fd);
usr.bin/mail/mime_attach.c
743
(void)close(fd);
usr.bin/mail/mime_child.c
151
(void)close(p[READ]);
usr.bin/mail/mime_child.c
152
(void)close(p[WRITE]);
usr.bin/mail/mime_child.c
160
(void)close(p[READ]);
usr.bin/mail/mime_child.c
165
(void)close(p[WRITE]);
usr.bin/mail/mime_child.c
192
(void)close(p[READ]);
usr.bin/mail/mime_child.c
193
(void)close(p[WRITE]);
usr.bin/mail/mime_child.c
197
(void)close(p[WRITE]);
usr.bin/mail/mime_child.c
205
(void)close(p[READ]);
usr.bin/mail/mime_child.c
209
(void)close(p[WRITE]);
usr.bin/mail/mime_detach.c
171
(void)close(fd);
usr.bin/mail/names.c
294
(void)close(fd);
usr.bin/mail/names.c
399
(void)close(image);
usr.bin/mail/popen.c
169
(void)close(0);
usr.bin/mail/popen.c
261
(void)close(p[READ]);
usr.bin/mail/popen.c
262
(void)close(p[WRITE]);
usr.bin/mail/popen.c
265
(void)close(hisside);
usr.bin/mail/quit.c
182
(void)close(fd);
usr.bin/mail/quit.c
329
(void)close(fd);
usr.bin/mail/quit.c
436
(void)close(fd);
usr.bin/mail/quit.c
465
(void)close(fd);
usr.bin/mail/send.c
492
(void)close(fd);
usr.bin/mail/v7.local.c
82
(void)close(fd);
usr.bin/make/arch.c
975
(void)close(fd);
usr.bin/make/filemon/filemon_dev.c
101
(void)close(fd);
usr.bin/make/filemon/filemon_dev.c
140
if (close(F->fd) == -1 && error == 0)
usr.bin/make/filemon/filemon_ktrace.c
230
fail1: (void)close(ktrpipe[0]);
usr.bin/make/filemon/filemon_ktrace.c
231
(void)close(ktrpipe[1]);
usr.bin/make/filemon/filemon_ktrace.c
363
if (close(F->ktrfd) == -1 && error == 0)
usr.bin/make/job.c
1185
(void)close(job->outPipe);
usr.bin/make/job.c
1189
(void)close(job->inPipe);
usr.bin/make/job.c
1398
(void)close(fd); /* XXX: What about propagating the error? */
usr.bin/make/job.c
656
close(pipe_fds[i]);
usr.bin/make/main.c
1724
close(cmd_fd);
usr.bin/make/main.c
1782
(void)close(pipefds[0]);
usr.bin/make/main.c
1784
(void)close(pipefds[1]);
usr.bin/make/main.c
1794
(void)close(pipefds[1]); /* No need for the writing half */
usr.bin/make/main.c
1808
(void)close(pipefds[0]); /* Close the input side of the pipe. */
usr.bin/make/meta.c
168
close(fd); /* not interested */
usr.bin/make/meta.c
1779
close(childPipe[1]); /* child side */
usr.bin/make/meta.c
1813
close(outfd);
usr.bin/make/meta.c
190
if (close(fd) < 0)
usr.bin/make/meta.c
640
close(fileno(pbm->mfp));
usr.bin/make/parse.c
1332
(void)close(fd);
usr.bin/make/parse.c
2924
(void)close(fd);
usr.bin/man/man.c
821
(void)close(fd);
usr.bin/man/man.c
838
close(olddir);
usr.bin/man/man.c
917
(void)close(fd);
usr.bin/midirecord/midirecord.c
739
if (close(outfd) != 0)
usr.bin/midirecord/midirecord.c
741
if (close(midifd) != 0)
usr.bin/mkdep/mkdep.c
141
(void)close(tmpfd);
usr.bin/mkdep/mkdep.c
345
close(fd);
usr.bin/mkdep/mkdep.c
349
close(fd);
usr.bin/mkdep/mkdep.c
466
close(dependfile);
usr.bin/mktemp/mktemp.c
154
(void)close(fd);
usr.bin/mkubootimage/mkubootimage.c
612
close(image_fd);
usr.bin/mkubootimage/mkubootimage.c
613
close(kernel_fd);
usr.bin/msgs/msgs.c
793
close(fd);
usr.bin/nc/netcat.c
1000
close(s);
usr.bin/nc/netcat.c
1079
close(s);
usr.bin/nc/netcat.c
1135
close(net_fd);
usr.bin/nc/netcat.c
1140
close(net_fd);
usr.bin/nc/netcat.c
1146
close(net_fd);
usr.bin/nc/netcat.c
1161
close(net_fd);
usr.bin/nc/netcat.c
1304
close(net_fd);
usr.bin/nc/netcat.c
479
close(fd);
usr.bin/nc/netcat.c
678
close(connfd);
usr.bin/nc/netcat.c
681
close(s);
usr.bin/nc/netcat.c
695
close(s);
usr.bin/nc/netcat.c
712
close(s);
usr.bin/nc/netcat.c
785
close(s);
usr.bin/nc/netcat.c
814
close(s);
usr.bin/nc/netcat.c
821
close(s);
usr.bin/nc/netcat.c
915
close(s);
usr.bin/nc/netcat.c
921
close(s);
usr.bin/nc/netcat.c
941
close(s);
usr.bin/nc/socks.c
388
close(proxyfd);
usr.bin/netstat/if.c
421
close(s);
usr.bin/netstat/inet6.c
1307
close(s);
usr.bin/netstat/inet6.c
880
close(s);
usr.bin/newsyslog/newsyslog.c
763
(void)close(fd);
usr.bin/patch/inp.c
174
close(creat(filename, 0666));
usr.bin/patch/inp.c
300
close(ifd);
usr.bin/patch/inp.c
307
close(ifd);
usr.bin/patch/inp.c
459
close(tifd);
usr.bin/patch/inp.c
95
close(tifd);
usr.bin/patch/patch.c
180
close(fd);
usr.bin/patch/patch.c
186
close(fd);
usr.bin/patch/patch.c
192
close(fd);
usr.bin/patch/patch.c
198
close(fd);
usr.bin/patch/util.c
184
close(fromfd);
usr.bin/patch/util.c
185
close(tofd);
usr.bin/patch/util.c
76
close(fromfd);
usr.bin/pmap/main.c
368
(void)close(fd);
usr.bin/pmap/main.c
375
(void)close(n);
usr.bin/progress/progress.c
185
close(gzippipe[0]);
usr.bin/progress/progress.c
186
close(gzippipe[1]);
usr.bin/progress/progress.c
190
close(gzippipe[0]);
usr.bin/progress/progress.c
191
close(gzippipe[1]);
usr.bin/progress/progress.c
220
close(outpipe[0]);
usr.bin/progress/progress.c
221
close(outpipe[1]);
usr.bin/progress/progress.c
225
close(outpipe[0]);
usr.bin/progress/progress.c
252
close(outpipe[1]);
usr.bin/radioctl/radioctl.c
175
if (close(rd) < 0)
usr.bin/rdist/docmd.c
310
(void) close(rem);
usr.bin/rdist/docmd.c
311
(void) close(remerr);
usr.bin/rdist/docmd.c
554
(void) close(fd);
usr.bin/rdist/docmd.c
558
(void) close(fd);
usr.bin/rdist/docmd.c
568
(void) close(fd);
usr.bin/rdist/docmd.c
599
(void) close(fd);
usr.bin/rdist/main.c
204
close (fd);
usr.bin/rdist/server.c
1381
(void) close(0);
usr.bin/rdist/server.c
1382
(void) close(1);
usr.bin/rdist/server.c
1383
(void) close(2);
usr.bin/rdist/server.c
1387
(void) close(fd[0]);
usr.bin/rdist/server.c
1388
(void) close(fd[1]);
usr.bin/rdist/server.c
1394
(void) close(fd[1]);
usr.bin/rdist/server.c
1425
(void) close(fd[0]);
usr.bin/rdist/server.c
524
(void) close(f);
usr.bin/rdist/server.c
537
(void) close(f);
usr.bin/rdist/server.c
917
(void) close(f);
usr.bin/rdist/server.c
968
(void) close(f);
usr.bin/rdist/server.c
972
(void) close(f);
usr.bin/rfcomm_sppd/rfcomm_sppd.c
538
close(sv);
usr.bin/rpcgen/rpc_main.c
385
(void) close(1);
usr.bin/rpcgen/rpc_main.c
387
(void) close(pd[0]);
usr.bin/rpcgen/rpc_main.c
393
(void) close(pd[1]);
usr.bin/rpcinfo/rpcinfo.c
1372
(void)close(fd);
usr.bin/rpcinfo/rpcinfo.c
459
(void)close(fd);
usr.bin/rsh/rsh.c
343
(void)close(remerr);
usr.bin/rump_allserver/rump_allserver.c
459
close(fd);
usr.bin/ruptime/ruptime.c
132
(void)close(fd);
usr.bin/rwall/rwall.c
206
(void)close(fd);
usr.bin/rwho/rwho.c
139
(void)close(f);
usr.bin/rwho/rwho.c
144
(void)close(f);
usr.bin/rwho/rwho.c
169
(void)close(f);
usr.bin/scmdctl/scmdctl.c
633
close(fd);
usr.bin/script/script.c
270
(void)close(STDIN_FILENO);
usr.bin/script/script.c
313
(void)close(master);
usr.bin/script/script.c
354
(void)close(master);
usr.bin/sdiff/edit.c
140
close(fd);
usr.bin/sdiff/sdiff.c
144
close(ifd);
usr.bin/sdiff/sdiff.c
145
close(ofd);
usr.bin/sdiff/sdiff.c
297
close(fd[0]);
usr.bin/sdiff/sdiff.c
301
close(fd[1]);
usr.bin/sdiff/sdiff.c
311
close(fd[1]);
usr.bin/sed/process.c
796
if (cp->u.s->wfd != -1 && close(cp->u.s->wfd))
usr.bin/sed/process.c
801
if (cp->u.fd != -1 && close(cp->u.fd))
usr.bin/shlock/shlock.c
166
(void) close(fd);
usr.bin/shlock/shlock.c
172
(void) close(fd);
usr.bin/shlock/shlock.c
237
close(fd);
usr.bin/shlock/shlock.c
245
close(fd);
usr.bin/shlock/shlock.c
249
close(fd);
usr.bin/skeyinit/skeyinit.c
72
close(i);
usr.bin/split/split.c
324
} else if (close(ofd) != 0)
usr.bin/su/su_pam.c
393
(void)close(fds[1]);
usr.bin/su/su_pam.c
395
(void)close(fds[0]);
usr.bin/su/su_pam.c
404
(void)close(fds[0]);
usr.bin/su/su_pam.c
407
(void)close(fds[1]);
usr.bin/tail/forward.c
212
close(kq);
usr.bin/tail/forward.c
265
close(kq);
usr.bin/talk/invite.c
100
close(sockt);
usr.bin/talk/look_up.c
91
close(sockt);
usr.bin/tee/tee.c
129
if (close(p->fd) == -1) {
usr.bin/telnet/sys_bsd.c
455
return close(fd);
usr.bin/tftp/main.c
244
(void)close(f);
usr.bin/tftp/main.c
277
(void)close(f);
usr.bin/tftp/main.c
289
(void)close(f);
usr.bin/tftp/main.c
295
(void)close(f);
usr.bin/tftp/tftp.c
183
close(fd);
usr.bin/tftp/tftp.c
191
close(fd);
usr.bin/tftp/tftp.c
213
close(fd);
usr.bin/tic/tic.c
597
if (close(fd))
usr.bin/tip/aculib/courier.c
115
(void)close(FD);
usr.bin/tip/aculib/dn11.c
106
(void)close(dn);
usr.bin/tip/aculib/dn11.c
108
(void)close(FD);
usr.bin/tip/aculib/dn11.c
134
(void)close(FD);
usr.bin/tip/aculib/dn11.c
145
(void)close(dn);
usr.bin/tip/aculib/dn11.c
148
(void)close(FD);
usr.bin/tip/aculib/dn11.c
68
(void)close(dn);
usr.bin/tip/aculib/dn11.c
95
(void)close(dn);
usr.bin/tip/aculib/hayes.c
270
(void)close(FD);
usr.bin/tip/aculib/t3000.c
111
(void)close(FD);
usr.bin/tip/aculib/v3451.c
117
(void)close(FD);
usr.bin/tip/aculib/v3451.c
124
(void)close(FD);
usr.bin/tip/aculib/v831.c
101
(void)close(AC);
usr.bin/tip/aculib/v831.c
109
(void)close(AC);
usr.bin/tip/aculib/v831.c
145
(void)close(FD);
usr.bin/tip/aculib/v831.c
160
(void)close(AC);
usr.bin/tip/aculib/v831.c
163
(void)close(FD);
usr.bin/tip/aculib/v831.c
238
(void)close(AC);
usr.bin/tip/aculib/v831.c
72
(void)close(AC);
usr.bin/tip/aculib/ventel.c
125
(void)close(FD);
usr.bin/tip/aculib/ventel.c
133
(void)close(FD);
usr.bin/tip/cmds.c
190
(void)close(fd);
usr.bin/tip/cmds.c
219
(void)close(pdes[0]);
usr.bin/tip/cmds.c
220
(void)close(pdes[1]);
usr.bin/tip/cmds.c
223
(void)close(pdes[0]);
usr.bin/tip/cmds.c
232
(void)close(pdes[0]);
usr.bin/tip/cmds.c
873
(void)close(pivec[0]);
usr.bin/tip/cmds.c
874
(void)close(1);
usr.bin/tip/cmds.c
876
(void)close(pivec[1]);
usr.bin/tip/cmds.c
877
(void)close(2);
usr.bin/tip/cmds.c
883
(void)close(pivec[0]);
usr.bin/tip/cmds.c
884
(void)close(pivec[1]);
usr.bin/tip/cmds.c
887
(void)close(pivec[1]);
usr.bin/tip/cmds.c
889
(void)close(pivec[0]);
usr.bin/tip/hunt.c
85
(void)close(FD);
usr.bin/touch/touch.c
189
if (fd == -1 || fstat(fd, &sb) || close(fd)) {
usr.bin/tset/misc.c
58
(void)close(fd);
usr.bin/unzip/unzip.c
680
if (close(fd) != 0)
usr.bin/utoppya/utoppya.c
135
close(toppy_fd);
usr.bin/vacation/vacation.c
259
(void)(db->close)(db);
usr.bin/vacation/vacation.c
265
(void)(db->close)(db);
usr.bin/vacation/vacation.c
273
(void)(db->close)(db);
usr.bin/vacation/vacation.c
279
(void)(db->close)(db);
usr.bin/vacation/vacation.c
283
(void)(db->close)(db);
usr.bin/vacation/vacation.c
626
(void)close(pvect[0]);
usr.bin/vacation/vacation.c
627
(void)close(pvect[1]);
usr.bin/vacation/vacation.c
628
(void)close(fileno(mfp));
usr.bin/vacation/vacation.c
635
(void)close(pvect[0]);
usr.bin/videoctl/videoctl.c
169
close(video_fd);
usr.bin/vndcompress/vndcompress.c
911
if (close(S->cloop2_fd) == -1)
usr.bin/vndcompress/vndcompress.c
913
if (close(S->image_fd) == -1)
usr.bin/vndcompress/vnduncompress.c
236
if (close(image_fd) == -1)
usr.bin/vndcompress/vnduncompress.c
238
if (close(cloop2_fd) == -1)
usr.bin/wc/wc.c
323
if (close(fd)) {
usr.bin/whois/whois.c
209
close(s);
usr.bin/write/term_chk.c
102
(void)close(fd);
usr.bin/write/term_chk.c
97
(void)close(fd);
usr.bin/write/write.c
179
close(nfd);
usr.bin/write/write.c
187
close(nfd);
usr.bin/write/write.c
194
close(fd);
usr.bin/write/write.c
197
close(nfd);
usr.bin/write/write.c
236
(void)close(ttyfd);
usr.bin/xargs/xargs.c
563
(void)close(fd);
usr.bin/xinstall/xinstall.c
765
(void)close(from_fd);
usr.bin/xinstall/xinstall.c
775
close(to_fd);
usr.bin/xinstall/xinstall.c
797
close(to_fd);
usr.bin/xinstall/xinstall.c
834
(void)close(to_fd);
usr.bin/xlint/lint1/main1.c
112
(void)close(fd);
usr.bin/xlint/xlint/xlint.c
192
(void)close(cpp.output_fd);
usr.bin/xlint/xlint/xlint.c
320
(void)close(fdout);
usr.bin/xlint/xlint/xlint.c
447
(void)close(fd);
usr.bin/xlint/xlint/xlint.c
550
(void)close(ifd);
usr.bin/xlint/xlint/xlint.c
552
(void)close(ofd);
usr.sbin/acpitools/acpidump/acpi.c
4657
close(fd);
usr.sbin/acpitools/acpidump/acpi.c
4701
close(fd);
usr.sbin/acpitools/acpidump/acpi.c
4705
close(STDOUT_FILENO);
usr.sbin/acpitools/acpidump/acpi.c
4707
close(STDERR_FILENO);
usr.sbin/altq/altqd/altqd.c
177
close(qpsock);
usr.sbin/altq/altqd/altqd.c
183
close(qpsock);
usr.sbin/altq/altqd/altqd.c
315
(void)close(qpsock);
usr.sbin/altq/altqstat/qdisc_conf.c
94
close(fd);
usr.sbin/altq/altqstat/qdisc_conf.c
97
close(fd);
usr.sbin/altq/libaltq/qop.c
1369
(void)close(fd);
usr.sbin/altq/libaltq/qop.c
1373
(void)close(fd);
usr.sbin/altq/libaltq/qop.c
1396
(void)close(fd);
usr.sbin/altq/libaltq/qop.c
1400
(void)close(fd);
usr.sbin/altq/libaltq/qop.c
853
close(s);
usr.sbin/altq/libaltq/qop.c
894
close (fd);
usr.sbin/altq/libaltq/qop.c
926
close(fd);
usr.sbin/altq/libaltq/qop.c
952
close(fd);
usr.sbin/altq/libaltq/qop_blue.c
248
close(blue_fd);
usr.sbin/altq/libaltq/qop_cbq.c
954
close(cbq_fd);
usr.sbin/altq/libaltq/qop_cdnr.c
702
close(cdnr_fd);
usr.sbin/altq/libaltq/qop_fifoq.c
216
close(fifoq_fd);
usr.sbin/altq/libaltq/qop_hfsc.c
1024
close(hfsc_fd);
usr.sbin/altq/libaltq/qop_jobs.c
560
close(jobs_fd);
usr.sbin/altq/libaltq/qop_priq.c
383
close(priq_fd);
usr.sbin/altq/libaltq/qop_red.c
278
close(red_fd);
usr.sbin/altq/libaltq/qop_rio.c
322
close(rio_fd);
usr.sbin/altq/libaltq/qop_wfq.c
254
close(wfq_fd);
usr.sbin/altq/tbrconfig/tbrconfig.c
121
close(fd);
usr.sbin/altq/tbrconfig/tbrconfig.c
154
close(fd);
usr.sbin/altq/tbrconfig/tbrconfig.c
199
close(fd);
usr.sbin/altq/tbrconfig/tbrconfig.c
320
close(s);
usr.sbin/apm/apm.c
140
close(sock);
usr.sbin/apmd/apmd.c
194
(void) close(cli_fd);
usr.sbin/apmd/apmd.c
199
close(cli_fd); /* terminate client */
usr.sbin/apmd/apmd.c
219
close(cli_fd);
usr.sbin/apmd/apmd.c
261
close(spkrfd);
usr.sbin/arp/arp_hostops.c
52
.op_close = close,
usr.sbin/arp/prog_ops.h
71
#define prog_close close
usr.sbin/autofs/common.c
1189
error = close(fd);
usr.sbin/autofs/popen.c
126
close(nullfd);
usr.sbin/autofs/popen.c
127
close(outfds[0]);
usr.sbin/autofs/popen.c
128
close(outfds[1]);
usr.sbin/autofs/popen.c
131
close(fileno(p->outfp));
usr.sbin/autofs/popen.c
141
close(nullfd);
usr.sbin/autofs/popen.c
142
close(outfds[1]);
usr.sbin/bootp/bootpd/bootpd.c
384
(void) close(n);
usr.sbin/bootp/bootpgw/bootpgw.c
352
(void) close(n);
usr.sbin/bootp/bootptest/bootptest.c
358
close(fd);
usr.sbin/bootp/bootptest/getether.c
109
close(nit);
usr.sbin/bootp/bootptest/getether.c
168
close(fd);
usr.sbin/bootp/bootptest/getether.c
317
close(fd);
usr.sbin/bootp/bootptest/getether.c
360
close(fd);
usr.sbin/bootp/bootptest/getether.c
64
close(fd);
usr.sbin/bootp/common/hwaddr.c
111
close (fd);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
1171
close(sc);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
1172
close(hc);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
563
close(audfile);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
640
close(fd);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
663
close(fd);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
666
close(orighc);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
673
close(sc);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
689
close(sc);
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
872
close(fd);
usr.sbin/btattach/btattach.c
668
close(fd);
usr.sbin/btattach/init_bcm43xx.c
137
close(fwfd);
usr.sbin/btattach/init_stlc2500.c
100
close(ff);
usr.sbin/btconfig/btconfig.c
322
close(hci);
usr.sbin/btdevctl/btdevctl.c
247
close(fd);
usr.sbin/bthcid/client.c
110
close(ctl);
usr.sbin/bthcid/client.c
115
close(ctl);
usr.sbin/bthcid/client.c
121
close(ctl);
usr.sbin/bthcid/client.c
128
close(ctl);
usr.sbin/bthcid/client.c
155
close(fd);
usr.sbin/bthcid/client.c
162
close(fd);
usr.sbin/bthcid/client.c
173
close(fd);
usr.sbin/bthcid/client.c
197
close(sock);
usr.sbin/bthcid/config.c
195
close(fd);
usr.sbin/bthcid/config.c
201
close(fd);
usr.sbin/bthcid/config.c
65
close(fd);
usr.sbin/bthcid/config.c
71
close(fd);
usr.sbin/bthcid/config.c
78
close(fd);
usr.sbin/bthcid/config.c
84
close(fd);
usr.sbin/bthcid/hci.c
107
close(hci);
usr.sbin/bthcid/hci.c
113
close(hci);
usr.sbin/btpand/btpand.c
274
close(fd);
usr.sbin/btpand/channel.c
124
close(chan->fd);
usr.sbin/btpand/client.c
129
close(fd);
usr.sbin/btpand/client.c
136
close(fd);
usr.sbin/btpand/client.c
143
close(fd);
usr.sbin/btpand/server.c
150
close(fd);
usr.sbin/btpand/server.c
157
close(fd);
usr.sbin/btpand/server.c
162
close(fd);
usr.sbin/btpand/server.c
169
close(fd);
usr.sbin/btpand/server.c
181
close(fd);
usr.sbin/btpand/server.c
186
close(fd);
usr.sbin/btpand/server.c
193
close(fd);
usr.sbin/btpand/server.c
200
close(fd);
usr.sbin/btpand/server.c
207
close(fd);
usr.sbin/btpand/server.c
214
close(fd);
usr.sbin/btpand/server.c
222
close(fd);
usr.sbin/btpand/server.c
238
close(fd);
usr.sbin/btpand/server.c
245
close(s);
usr.sbin/btpand/tap.c
106
close(s);
usr.sbin/btpand/tap.c
155
close(s);
usr.sbin/cpuctl/cpuctl.c
125
close(fd);
usr.sbin/dev_mkdb/dev_mkdb.c
126
if ((*db_compat->close)(db_compat))
usr.sbin/dev_mkdb/dev_mkdb.c
84
if (close(fd))
usr.sbin/dumpfs/dumpfs.c
248
(void)close(fd);
usr.sbin/dumplfs/dumplfs.c
343
(void)close(fd);
usr.sbin/edquota/edquota.c
1287
close(tmpfd);
usr.sbin/edquota/edquota.c
324
close(fd);
usr.sbin/edquota/edquota.c
389
close(fd);
usr.sbin/edquota/edquota.c
393
close(fd);
usr.sbin/eeprom/eehandlers.c
581
(void)close(fd);
usr.sbin/eeprom/ofhandlers.c
108
(void)close(fd);
usr.sbin/eeprom/ofhandlers.c
125
(void)close(fd);
usr.sbin/eeprom/ofhandlers.c
148
(void)close(fd);
usr.sbin/eeprom/ofhandlers.c
163
(void)close(fd);
usr.sbin/eeprom/ofhandlers.c
179
(void)close(fd);
usr.sbin/eeprom/ofhandlers.c
253
close(fd);
usr.sbin/eeprom/ofhandlers.c
268
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
114
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
131
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
154
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
169
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
185
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
257
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
92
close (fd);
usr.sbin/eeprom/prephandlers.c
115
(void)close(fd);
usr.sbin/eeprom/prephandlers.c
137
(void)close(fd);
usr.sbin/eeprom/prephandlers.c
152
(void)close(fd);
usr.sbin/eeprom/prephandlers.c
167
(void) close(fd);
usr.sbin/eeprom/prephandlers.c
224
(void) close(fd);
usr.sbin/eeprom/prephandlers.c
242
close(fd);
usr.sbin/emcfanctl/emcfanctl.c
849
close(fd);
usr.sbin/envstat/envstat_hostops.c
44
.op_close = close,
usr.sbin/envstat/prog_ops.h
52
#define prog_close close
usr.sbin/extattrctl/extattrctl.c
155
close(i);
usr.sbin/extattrctl/extattrctl.c
183
(void)close(fd);
usr.sbin/extattrctl/extattrctl.c
191
(void)close(fd);
usr.sbin/extattrctl/extattrctl.c
205
close(fd);
usr.sbin/faithd/faithd.c
394
(void)close(s_src);
usr.sbin/faithd/faithd.c
403
(void)close(s_wld);
usr.sbin/faithd/faithd.c
411
(void)close(s_src);
usr.sbin/faithd/faithd.c
458
(void)close(s_src);
usr.sbin/faithd/faithd.c
467
(void)close(s_src);
usr.sbin/faithd/faithd.c
480
(void)close(s_src);
usr.sbin/faithd/faithd.c
487
(void)close(s_src);
usr.sbin/faithd/faithd.c
498
(void)close(s_src);
usr.sbin/faithd/faithd.c
830
(void)close(sockfd);
usr.sbin/faithd/ftp.c
136
(void)close(ctl4);
usr.sbin/faithd/ftp.c
137
(void)close(ctl6);
usr.sbin/faithd/ftp.c
153
(void)close(ctl4);
usr.sbin/faithd/ftp.c
154
(void)close(ctl6);
usr.sbin/faithd/ftp.c
172
(void)close(port4);
usr.sbin/faithd/ftp.c
176
(void)close(port6);
usr.sbin/faithd/ftp.c
198
(void)close(port4);
usr.sbin/faithd/ftp.c
202
(void)close(port6);
usr.sbin/faithd/ftp.c
249
(void)close(wport4);
usr.sbin/faithd/ftp.c
259
(void)close(port4);
usr.sbin/faithd/ftp.c
260
(void)close(wport4);
usr.sbin/faithd/ftp.c
267
(void)close(port6);
usr.sbin/faithd/ftp.c
268
(void)close(port4);
usr.sbin/faithd/ftp.c
269
(void)close(wport4);
usr.sbin/faithd/ftp.c
295
(void)close(wport6);
usr.sbin/faithd/ftp.c
305
(void)close(wport6);
usr.sbin/faithd/ftp.c
306
(void)close(port6);
usr.sbin/faithd/ftp.c
313
(void)close(wport6);
usr.sbin/faithd/ftp.c
314
(void)close(port4);
usr.sbin/faithd/ftp.c
315
(void)close(port6);
usr.sbin/faithd/ftp.c
443
(void)close(wport4);
usr.sbin/faithd/ftp.c
456
(void)close(wport6);
usr.sbin/faithd/ftp.c
517
(void)close(wport6);
usr.sbin/faithd/ftp.c
523
(void)close(wport6);
usr.sbin/faithd/ftp.c
535
(void)close(wport6);
usr.sbin/faithd/ftp.c
545
(void)close(wport6);
usr.sbin/faithd/ftp.c
655
(void)close(wport4);
usr.sbin/faithd/ftp.c
656
(void)close(wport6);
usr.sbin/faithd/ftp.c
657
(void)close(port4);
usr.sbin/faithd/ftp.c
658
(void)close(port6);
usr.sbin/faithd/ftp.c
705
(void)close(wport4);
usr.sbin/faithd/ftp.c
711
(void)close(wport4);
usr.sbin/faithd/ftp.c
720
(void)close(wport4);
usr.sbin/faithd/ftp.c
725
(void)close(wport4);
usr.sbin/faithd/ftp.c
745
(void)close(wport4);
usr.sbin/faithd/ftp.c
746
(void)close(wport6);
usr.sbin/faithd/ftp.c
747
(void)close(port4);
usr.sbin/faithd/ftp.c
748
(void)close(port6);
usr.sbin/faithd/ftp.c
811
(void)close(wport4);
usr.sbin/faithd/ftp.c
812
(void)close(wport6);
usr.sbin/faithd/ftp.c
813
(void)close(port4);
usr.sbin/faithd/ftp.c
814
(void)close(port6);
usr.sbin/faithd/ftp.c
830
(void)close(wport4);
usr.sbin/faithd/ftp.c
831
(void)close(wport6);
usr.sbin/faithd/ftp.c
832
(void)close(port4);
usr.sbin/faithd/ftp.c
833
(void)close(port6);
usr.sbin/faithd/tcp.c
278
(void)close(s_rcv);
usr.sbin/faithd/tcp.c
279
(void)close(s_snd);
usr.sbin/flashctl/flashctl.c
225
close(fd);
usr.sbin/fssconfig/fssconfig_hostops.c
48
.op_close = close,
usr.sbin/fssconfig/prog_ops.h
63
#define prog_close close
usr.sbin/fwctl/fwcontrol.c
1055
close(fd);
usr.sbin/fwctl/fwcontrol.c
1077
close(fd);
usr.sbin/fwctl/fwcontrol.c
772
close(fd);
usr.sbin/fwctl/fwdv.c
256
close(fd);
usr.sbin/fwctl/fwdv.c
427
close(fd);
usr.sbin/fwctl/fwmpegts.c
264
close(fd);
usr.sbin/grfconfig/grfconfig.c
348
close(grffd);
usr.sbin/hdaudioctl/hdaudioctl.c
365
close(fd);
usr.sbin/i2cscan/i2cscan.c
202
close(fd);
usr.sbin/ifwatchd/ifwatchd.c
233
close(s);
usr.sbin/ifwatchd/ifwatchd.c
632
close(s);
usr.sbin/inetd/inetd.c
499
close(ctrl);
usr.sbin/inetd/inetd.c
530
close(ctrl);
usr.sbin/inetd/inetd.c
590
close(s->se_fd);
usr.sbin/inetd/inetd.c
635
close(ctrl);
usr.sbin/inetd/inetd.c
767
(void)close(sep->se_fd);
usr.sbin/inetd/inetd.c
796
close(sep->se_fd);
usr.sbin/inetd/inetd.c
835
(void)close(sep->se_fd);
usr.sbin/inetd/inetd.c
847
(void) close(sep->se_fd);
usr.sbin/inetd/inetd.c
916
(void) close(sep->se_fd);
usr.sbin/inetd/parse.c
255
close(s);
usr.sbin/inetd/ratelimit.c
197
close(ctrl);
usr.sbin/installboot/evboards.c
1022
(void) close(fd);
usr.sbin/installboot/evboards.c
1135
(void) close(fd);
usr.sbin/installboot/evboards.c
1857
if (ifd != -1 && close(ifd) == -1)
usr.sbin/installboot/evboards.c
992
(void) close(fd);
usr.sbin/installboot/installboot.c
322
(void) close(params->s1fd);
usr.sbin/installboot/installboot.c
381
if (close(params->fsfd) == -1)
usr.sbin/installboot/installboot.c
384
if (close(params->s1fd) == -1)
usr.sbin/iopctl/iopctl.c
150
close(fd);
usr.sbin/ip6addrctl/ip6addrctl.c
327
close(s);
usr.sbin/ip6addrctl/ip6addrctl.c
407
close(s);
usr.sbin/ip6addrctl/ip6addrctl.c
426
close(s);
usr.sbin/ip6addrctl/ip6addrctl.c
444
close(s);
usr.sbin/ipwctl/ipwctl.c
122
(void)close(s);
usr.sbin/isibootd/isibootd.c
454
close(s);
usr.sbin/iteconfig/iteconfig.c
105
close(fd);
usr.sbin/iteconfig/iteconfig.c
189
close(fd);
usr.sbin/iwictl/iwictl.c
125
(void)close(s);
usr.sbin/kvm_mkdb/kvm_mkdb.c
154
close(fd);
usr.sbin/kvm_mkdb/kvm_mkdb.c
168
if (db->close(db)) {
usr.sbin/kvm_mkdb/kvm_mkdb.c
193
db->close(db);
usr.sbin/kvm_mkdb/nlist_aout.c
127
(void)close(fd);
usr.sbin/kvm_mkdb/nlist_aout.c
133
(void)close(fd);
usr.sbin/kvm_mkdb/testdb.c
100
close: if (db)
usr.sbin/kvm_mkdb/testdb.c
101
(void)(db->close)(db);
usr.sbin/kvm_mkdb/testdb.c
73
goto close;
usr.sbin/kvm_mkdb/testdb.c
79
goto close;
usr.sbin/kvm_mkdb/testdb.c
81
goto close;
usr.sbin/lastlogin/lastlogin.c
350
(*db->close)(db);
usr.sbin/lastlogin/lastlogin.c
354
(*db->close)(db);
usr.sbin/lastlogin/lastlogin.c
393
(*db->close)(db);
usr.sbin/ldpd/conffile.c
132
close(confh);
usr.sbin/ldpd/conffile.c
157
close(confh);
usr.sbin/ldpd/conffile.c
161
close(confh);
usr.sbin/ldpd/ldp_command.c
158
close(s);
usr.sbin/ldpd/ldp_command.c
164
close(s);
usr.sbin/ldpd/ldp_command.c
184
close(as);
usr.sbin/ldpd/ldp_command.c
273
close(s);
usr.sbin/ldpd/ldp_peer.c
252
close(p->socket);
usr.sbin/ldpd/socketops.c
1010
close(s);
usr.sbin/ldpd/socketops.c
1020
close(s);
usr.sbin/ldpd/socketops.c
1026
close(s);
usr.sbin/ldpd/socketops.c
1038
close(s);
usr.sbin/ldpd/socketops.c
1053
close(s);
usr.sbin/ldpd/socketops.c
273
close(s);
usr.sbin/ldpd/socketops.c
381
close(s);
usr.sbin/ldpd/socketops.c
386
close(s);
usr.sbin/lockstat/main.c
285
close(nlfd);
usr.sbin/lockstat/main.c
347
if (close(lsfd))
usr.sbin/lockstat/main.c
552
close(lsfd);
usr.sbin/lpr/common_source/common.c
179
(void)close(s);
usr.sbin/lpr/common_source/displayq.c
133
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/common_source/displayq.c
190
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/common_source/displayq.c
264
(void)close(fd);
usr.sbin/lpr/common_source/rmjob.c
366
(void)close(rem);
usr.sbin/lpr/common_source/startdaemon.c
104
(void)close(s);
usr.sbin/lpr/common_source/startdaemon.c
85
(void)close(s);
usr.sbin/lpr/common_source/startdaemon.c
92
(void)close(s);
usr.sbin/lpr/common_source/startdaemon.c
97
(void)close(s);
usr.sbin/lpr/lpc/cmds.c
147
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
198
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
206
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
473
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
548
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
564
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
571
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
584
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
765
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/lpc/cmds.c
769
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
780
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/lpc/cmds.c
844
(void)close(fd);
usr.sbin/lpr/lpd/lpd.c
343
(void)close(socks[i].fd);
usr.sbin/lpr/lpd/lpd.c
345
(void)close(s);
usr.sbin/lpr/lpd/lpd.c
361
(void)close(s);
usr.sbin/lpr/lpd/lpd.c
784
close(s);
usr.sbin/lpr/lpd/lpd.c
791
close(s);
usr.sbin/lpr/lpd/lpd.c
798
close(s);
usr.sbin/lpr/lpd/lpd.c
803
close(s);
usr.sbin/lpr/lpd/printjob.c
1139
(void)close(i);
usr.sbin/lpr/lpd/printjob.c
1186
(void)close(1);
usr.sbin/lpr/lpd/printjob.c
1190
(void)close(p[0]);
usr.sbin/lpr/lpd/printjob.c
1191
(void)close(p[1]);
usr.sbin/lpr/lpd/printjob.c
1340
(void)close(i);
usr.sbin/lpr/lpd/printjob.c
1349
(void)close(p[0]); /* close input side */
usr.sbin/lpr/lpd/printjob.c
1367
(void)close(ofd);
usr.sbin/lpr/lpd/printjob.c
1480
(void) close(pfd);
usr.sbin/lpr/lpd/printjob.c
164
(void) close(fd);
usr.sbin/lpr/lpd/printjob.c
1645
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
166
(void)close(STDERR_FILENO);
usr.sbin/lpr/lpd/printjob.c
212
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
216
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
281
(void)close(pfd); /* close printer */
usr.sbin/lpr/lpd/printjob.c
568
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
571
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
594
(void)close(n);
usr.sbin/lpr/lpd/printjob.c
600
(void)close(p[1]); /* close output side */
usr.sbin/lpr/lpd/printjob.c
601
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
604
(void)close(p[0]);
usr.sbin/lpr/lpd/printjob.c
662
(void)close(fo);
usr.sbin/lpr/lpd/printjob.c
688
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
694
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
721
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
740
(void)close(n);
usr.sbin/lpr/lpd/printjob.c
752
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
933
(void)close(f);
usr.sbin/lpr/lpd/printjob.c
964
(void)close(f);
usr.sbin/lpr/lpd/printjob.c
971
(void)close(f);
usr.sbin/lpr/lpd/recvjob.c
101
(void) close(STDERR_FILENO);
usr.sbin/lpr/lpd/recvjob.c
244
(void)close(fd);
usr.sbin/lpr/lpd/recvjob.c
99
(void) close(fd);
usr.sbin/lpr/lpr/lpr.c
377
(void)close(i);
usr.sbin/lpr/lpr/lpr.c
385
(void)close(tfd);
usr.sbin/lpr/lpr/lpr.c
401
(void)close(tfd);
usr.sbin/lpr/lpr/lpr.c
459
(void)close(fd);
usr.sbin/lpr/lpr/lpr.c
630
(void)close(fd);
usr.sbin/lpr/lpr/lpr.c
724
(void)close(fd); /* unlocks as well */
usr.sbin/makefs/chfs.c
131
if (close(fsopts->fd) == -1) {
usr.sbin/makefs/chfs/chfs_mkfs.c
254
close(fd);
usr.sbin/makefs/chfs/chfs_mkfs.c
262
close(fd);
usr.sbin/makefs/ffs.c
316
if (close(fsopts->fd) == -1)
usr.sbin/makefs/ffs.c
989
close(ffd);
usr.sbin/makefs/msdos/msdosfs_vnops.c
471
close(fd);
usr.sbin/makefs/msdos/msdosfs_vnops.c
474
close(fd);
usr.sbin/makefs/udf.c
859
close(f);
usr.sbin/makefs/v7fs.c
159
close(fd);
usr.sbin/makefs/v7fs.c
163
close(fd);
usr.sbin/makefs/v7fs/v7fs_populate.c
177
close(fd);
usr.sbin/makefs/v7fs/v7fs_populate.c
182
close(fd);
usr.sbin/makemandb/makemandb.c
787
close(fd);
usr.sbin/makemandb/makemandb.c
799
close(fd);
usr.sbin/makemandb/makemandb.c
815
close(fd);
usr.sbin/makemandb/makemandb.c
833
close(fd);
usr.sbin/map-mbone/mapper.c
892
close(udp);
usr.sbin/mdsetimage/mdsetimage.c
234
close(fsfd);
usr.sbin/mdsetimage/mdsetimage.c
235
close(kfd);
usr.sbin/memswitch/memswitch.c
311
close(sramfd);
usr.sbin/memswitch/memswitch.c
338
close(fd);
usr.sbin/memswitch/memswitch.c
352
close(fd);
usr.sbin/memswitch/memswitch.c
406
close(sramfd);
usr.sbin/memswitch/memswitch.c
431
close(fd);
usr.sbin/memswitch/memswitch.c
462
close(fd);
usr.sbin/memswitch/memswitch.c
476
close(sramfd);
usr.sbin/mlxctl/main.c
146
close(mlxfd);
usr.sbin/mmcformat/uscsi_subr.c
101
close(disc->fhandle);
usr.sbin/mmcformat/uscsi_subr.c
268
close(disc->fhandle);
usr.sbin/mmcformat/uscsi_subr.c
399
close(disc->fhandle);
usr.sbin/mopd/common/device.c
62
close(fd);
usr.sbin/mopd/common/pf-linux2.c
105
close(s);
usr.sbin/mopd/common/pf-linux2.c
190
close(sock);
usr.sbin/mopd/common/pf-linux2.c
193
close(sock);
usr.sbin/mopd/common/pf-linux2.c
224
close(sock);
usr.sbin/mopd/common/pf-linux2.c
227
close(sock);
usr.sbin/mopd/common/pf.c
169
close(fd);
usr.sbin/mopd/common/pf.c
172
close(fd);
usr.sbin/mopd/common/pf.c
202
close(fd);
usr.sbin/mopd/common/pf.c
205
close(fd);
usr.sbin/mopd/mopchk/mopchk.c
138
(void) close(dl.ldfd);
usr.sbin/mopd/mopd/process.c
346
close(dle->ldfd);
usr.sbin/mopd/mopd/process.c
513
close(nfd);
usr.sbin/mountd/mountd.c
404
close(s);
usr.sbin/moused/moused.c
781
close(rodent.mfd);
usr.sbin/moused/moused.c
822
close(rodent.mfd);
usr.sbin/moused/moused.c
824
close(rodent.cfd);
usr.sbin/mrinfo/mrinfo.c
411
close(udp);
usr.sbin/mrouted/main.c
577
close(igmp_socket);
usr.sbin/mrouted/main.c
578
close(udp_socket);
usr.sbin/mrouted/vif.c
717
close(udp);
usr.sbin/mrouted/vif.c
720
close(udp);
usr.sbin/mrouted/vif.c
804
close(udp);
usr.sbin/mrouted/vif.c
807
close(udp);
usr.sbin/mscdlabel/main.c
210
close(fd);
usr.sbin/mtrace/mtrace.c
1365
close(udp);
usr.sbin/mtree/compare.c
415
close(fd);
usr.sbin/mtree/compare.c
421
close(fd);
usr.sbin/mtree/create.c
211
close(fd);
usr.sbin/ndbootd/config/ndbootd-bpf.c
132
_NDBOOTD_RAW_OPEN_ERROR(close(network_fd));
usr.sbin/ndbootd/config/ndbootd-bpf.c
140
close(network_fd);
usr.sbin/ndbootd/config/ndbootd-bpf.c
149
_NDBOOTD_RAW_OPEN_ERROR(close(network_fd));
usr.sbin/ndbootd/config/ndbootd-bpf.c
163
_NDBOOTD_RAW_OPEN_ERROR(close(network_fd));
usr.sbin/ndbootd/config/ndbootd-bpf.c
171
close(network_fd);
usr.sbin/ndbootd/config/ndbootd-bpf.c
181
_NDBOOTD_RAW_OPEN_ERROR(close(network_fd));
usr.sbin/ndbootd/config/ndbootd-bpf.c
188
_NDBOOTD_RAW_OPEN_ERROR(close(network_fd));
usr.sbin/ndbootd/ndbootd.c
486
close(fd);
usr.sbin/ndbootd/ndbootd.c
499
close(fd);
usr.sbin/ndbootd/ndbootd.c
645
close(boot1_fd);
usr.sbin/ndbootd/ndbootd.c
651
close(boot2_fd);
usr.sbin/ndp/ndp_hostops.c
47
.op_close = close,
usr.sbin/ndp/prog_ops.h
66
#define prog_close close
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
173
if ((db->close)(db))
usr.sbin/nfsd/nfsd.c
270
(void)close(sock);
usr.sbin/nfsd/nfsd.c
274
(void)close(sock);
usr.sbin/nfsd/nfsd.c
318
(void)close(fd);
usr.sbin/nfsd/nfsd.c
330
(void)close(detach_msg_pipe[0]);
usr.sbin/nfsd/nfsd.c
337
(void)close(detach_msg_pipe[1]);
usr.sbin/nfsd/nfsd.c
371
(void)close(fd);
usr.sbin/nfsd/nfsd.c
391
(void)close(parentfd);
usr.sbin/nfsd/nfsd.c
447
close(s);
usr.sbin/nfsd/nfsd.c
457
close(s);
usr.sbin/nfsd/nfsd.c
605
(void)close(msgsock);
usr.sbin/npf/npfctl/npf_build.c
158
close(fd);
usr.sbin/npf/npfctl/npfctl.c
551
close(fd);
usr.sbin/npf/npfd/npfd.c
186
(void)close(fd);
usr.sbin/npf/npfd/npfd_log.c
201
close(fd);
usr.sbin/npf/npftest/npftest.c
112
close(fd);
usr.sbin/npf/npftest/npftest.c
167
close(fd);
usr.sbin/paxctl/paxctl.c
318
(void)close(fd);
usr.sbin/pf/pfs/pfs.c
138
close(wfd);
usr.sbin/pf/pfs/pfs.c
163
close(wfd);
usr.sbin/pf/pfs/pfs.c
189
close(rfd);
usr.sbin/pf/pfs/pfs.c
198
close(rfd);
usr.sbin/pf/pfs/pfs.c
208
close(rfd);
usr.sbin/pf/pfs/pfs.c
217
close(rfd);
usr.sbin/pf/pfs/pfs.c
224
close(rfd);
usr.sbin/pf/pfs/pfs.c
571
close(fd);
usr.sbin/powerd/powerd_hostops.c
45
.op_close = close,
usr.sbin/powerd/prog_ops.h
65
#define prog_close close
usr.sbin/puffs/mount_9p/fs.c
237
close(p9p->servsock);
usr.sbin/puffs/mount_9p/ninepuffs.c
111
close(s);
usr.sbin/puffs/mount_9p/ninepuffs.c
309
close(p9p.servsock);
usr.sbin/puffs/mount_9p/ninepuffs.c
331
close(p9p.servsock);
usr.sbin/puffs/mount_psshfs/fs.c
225
close(pctx->sshfd);
usr.sbin/puffs/mount_psshfs/fs.c
228
close(pctx->sshfd_data);
usr.sbin/puffs/mount_psshfs/psshfs.c
393
close(fd);
usr.sbin/puffs/mount_psshfs/psshfs.c
410
close(newfd);
usr.sbin/puffs/mount_psshfs/psshfs.c
455
close(fds[0]);
usr.sbin/puffs/mount_psshfs/psshfs.c
456
close(fds[1]);
usr.sbin/puffs/mount_psshfs/psshfs.c
468
close(fds[0]);
usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c
110
close(sv[1]);
usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c
123
close(sv[0]);
usr.sbin/pwd_mkdb/pwd_mkdb.c
198
if ((*db->db->close)(db->db) < 0)
usr.sbin/pwd_mkdb/pwd_mkdb.c
646
(void)close(from_fd);
usr.sbin/pwd_mkdb/pwd_mkdb.c
652
(void)close(from_fd);
usr.sbin/pwd_mkdb/pwd_mkdb.c
653
(void)close(to_fd);
usr.sbin/pwd_mkdb/pwd_mkdb.c
658
close(from_fd);
usr.sbin/pwd_mkdb/pwd_mkdb.c
659
if (close(to_fd))
usr.sbin/pwd_mkdb/pwd_mkdb.c
762
(*db->close)(db);
usr.sbin/pwd_mkdb/pwd_mkdb.c
769
(*db->close)(db);
usr.sbin/quot/quot.c
564
close(fd);
usr.sbin/quot/quot.c
600
close(fd);
usr.sbin/quotacheck/quotacheck.c
470
close(fi);
usr.sbin/rarpd/mkarp.c
177
close(s);
usr.sbin/rarpd/mkarp.c
188
close(s);
usr.sbin/rarpd/mkarp.c
197
close(s);
usr.sbin/rarpd/mkarp.c
203
close(s);
usr.sbin/rarpd/rarpd.c
334
close(fd);
usr.sbin/rarpd/rarpd.c
348
close(fd);
usr.sbin/rarpd/rarpd.c
704
(void)close(fd);
usr.sbin/rarpd/rarpd.c
735
(void)close(s);
usr.sbin/rbootd/bpf.c
392
(void) close(BpfFd);
usr.sbin/rbootd/rbootd.c
91
(void) close(i);
usr.sbin/rbootd/utils.c
409
(void) close(rtmp->bootfd);
usr.sbin/rdate/rdate.c
135
close(s);
usr.sbin/rdate/rdate.c
149
(void) close(s);
usr.sbin/rmt/rmt.c
105
(void) close(tape);
usr.sbin/rmt/rmt.c
118
if (close(tape) < 0)
usr.sbin/route6d/route6d.c
1372
close(s);
usr.sbin/route6d/route6d.c
489
close(ripsock);
usr.sbin/route6d/route6d.c
490
close(rtsock);
usr.sbin/rpc.lockd/lockd.c
136
(void)close(s);
usr.sbin/rpc.lockd/lockd_lock.c
552
(void)close(fl->fd);
usr.sbin/rpc.lockd/lockd_lock.c
602
(void)close(fl->fd);
usr.sbin/rpc.lockd/lockd_lock.c
695
if (close(rfl->fd) == -1) {
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
437
(void) close(i);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
440
(void) close(child_fd);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
452
close(parent_fd);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
453
close(child_fd);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
457
close(child_fd);
usr.sbin/rpc.statd/statd.c
597
(*db->close)(db);
usr.sbin/rpcbind/check_bound.c
112
close(fd);
usr.sbin/rpcbind/rpcbind.c
415
close(fd);
usr.sbin/rpcbind/rpcbind.c
430
close(fd);
usr.sbin/rpcbind/rpcbind.c
731
(void)close(fd);
usr.sbin/rpcbind/rpcbind.c
848
close(rpcbindlockfd);
usr.sbin/rtadvd/advcap.c
151
close(tf);
usr.sbin/rtadvd/advcap.c
176
close(tf);
usr.sbin/rtadvd/prog_ops.h
66
#define prog_close close
usr.sbin/rtadvd/rtadvd_hostops.c
19
.op_close = close,
usr.sbin/rwhod/rwhod.c
335
(void)close(whod);
usr.sbin/sa/extern.h
96
((*(db)->close)(db))
usr.sbin/sa/main.c
272
if (close(fd) == -1) {
usr.sbin/screenblank/screenblank.c
179
(void) close(fd);
usr.sbin/screenblank/screenblank.c
311
(void)close(fd);
usr.sbin/screenblank/screenblank.c
367
(void)close(fd);
usr.sbin/screenblank/screenblank.c
393
(void)close(fd);
usr.sbin/sdpd/server.c
180
close(fd);
usr.sbin/sdpd/server.c
188
close(fd);
usr.sbin/sdpd/server.c
196
close(fd);
usr.sbin/sdpd/server.c
234
close(fd);
usr.sbin/sdpd/server.c
248
close(fd);
usr.sbin/sdpd/server.c
256
close(fd);
usr.sbin/sdpd/server.c
367
close(cfd);
usr.sbin/sdpd/server.c
563
close(fd);
usr.sbin/services_mkdb/output_cdb.c
154
if (close(cdbw_fd)) {
usr.sbin/services_mkdb/output_db.c
85
rv = (db->close)(db);
usr.sbin/sesd/srcs/chpmon.c
104
(void) close(fd);
usr.sbin/sesd/srcs/chpmon.c
123
(void) close(fd);
usr.sbin/sesd/srcs/chpmon.c
85
(void) close(fd);
usr.sbin/sesd/srcs/chpmon.c
94
(void) close(fd);
usr.sbin/sesd/srcs/getencstat.c
122
(void) close(fd);
usr.sbin/sesd/srcs/getencstat.c
127
(void) close(fd);
usr.sbin/sesd/srcs/getencstat.c
134
(void) close(fd);
usr.sbin/sesd/srcs/getencstat.c
153
(void) close(fd);
usr.sbin/sesd/srcs/getencstat.c
81
(void) close(fd);
usr.sbin/sesd/srcs/getencstat.c
86
(void) close(fd);
usr.sbin/sesd/srcs/getencstat.c
92
(void) close(fd);
usr.sbin/sesd/srcs/getnobj.c
62
close (fd);
usr.sbin/sesd/srcs/getobjmap.c
60
(void) close(fd);
usr.sbin/sesd/srcs/getobjmap.c
65
(void) close(fd);
usr.sbin/sesd/srcs/getobjmap.c
71
(void) close(fd);
usr.sbin/sesd/srcs/getobjmap.c
76
(void) close(fd);
usr.sbin/sesd/srcs/getobjmap.c
84
(void) close(fd);
usr.sbin/sesd/srcs/getobjstat.c
74
(void) close(fd);
usr.sbin/sesd/srcs/inienc.c
58
(void) close(fd);
usr.sbin/sesd/srcs/sesd.c
102
(void) close(fd);
usr.sbin/sesd/srcs/sesd.c
105
(void) close(fd);
usr.sbin/sesd/srcs/sesd.c
131
(void) close(fd);
usr.sbin/sesd/srcs/sesd.c
134
(void) close(fd);
usr.sbin/sesd/srcs/setencstat.c
66
(void) close(fd);
usr.sbin/sesd/srcs/setobjstat.c
81
(void) close(fd);
usr.sbin/sliplogin/sliplogin.c
200
(void)close(0);
usr.sbin/sliplogin/sliplogin.c
227
(void)close(fd);
usr.sbin/sliplogin/sliplogin.c
255
(void)close(fd);
usr.sbin/sliplogin/sliplogin.c
259
(void)close(fd);
usr.sbin/sliplogin/sliplogin.c
270
close(fd);
usr.sbin/sliplogin/sliplogin.c
343
(void)close(1);
usr.sbin/sliplogin/sliplogin.c
350
(void)close(fd);
usr.sbin/sti/sti.c
204
(void)close(fd);
usr.sbin/sysinst/aout2elf.c
100
close(fd);
usr.sbin/sysinst/aout2elf.c
103
close(fd);
usr.sbin/sysinst/aout2elf.c
439
(void)close(fd);
usr.sbin/sysinst/aout2elf.c
444
err2: (void)close(fd);
usr.sbin/sysinst/arch/acorn32/md.c
128
close(fd);
usr.sbin/sysinst/arch/acorn32/md.c
151
close(fd);
usr.sbin/sysinst/arch/acorn32/md.c
164
close(fd);
usr.sbin/sysinst/arch/acorn32/md.c
168
close(fd);
usr.sbin/sysinst/arch/acorn32/md.c
86
close(fd);
usr.sbin/sysinst/arch/acorn32/md.c
94
close(fd);
usr.sbin/sysinst/arch/alpha/md.c
80
close(fd);
usr.sbin/sysinst/arch/alpha/md.c
83
close(fd);
usr.sbin/sysinst/arch/cats/md.c
85
close(fd);
usr.sbin/sysinst/arch/cats/md.c
89
close(fd);
usr.sbin/sysinst/arch/emips/md.c
85
close(fd);
usr.sbin/sysinst/arch/emips/md.c
88
close(fd);
usr.sbin/sysinst/arch/evbsh3/md.c
68
close(fd);
usr.sbin/sysinst/arch/evbsh3/md.c
71
close(fd);
usr.sbin/sysinst/arch/ews4800mips/md.c
82
close(fd);
usr.sbin/sysinst/arch/ews4800mips/md.c
85
close(fd);
usr.sbin/sysinst/arch/hp300/md.c
104
close(fd);
usr.sbin/sysinst/arch/hp300/md.c
111
close(fd);
usr.sbin/sysinst/arch/hp300/md.c
84
close(fd);
usr.sbin/sysinst/arch/hp300/md.c
90
close(fd);
usr.sbin/sysinst/arch/hpcarm/md.c
228
close(fd);
usr.sbin/sysinst/arch/hppa/md.c
88
close(fd);
usr.sbin/sysinst/arch/hppa/md.c
91
close(fd);
usr.sbin/sysinst/arch/i386/md.c
851
close(fd);
usr.sbin/sysinst/arch/i386/md.c
856
close(fd);
usr.sbin/sysinst/arch/i386/md.c
859
close(fd);
usr.sbin/sysinst/arch/luna68k/md.c
86
close(fd);
usr.sbin/sysinst/arch/luna68k/md.c
89
close(fd);
usr.sbin/sysinst/arch/mac68k/md.c
160
close(fd);
usr.sbin/sysinst/arch/mac68k/md.c
239
close(fd);
usr.sbin/sysinst/arch/mac68k/md.c
393
close (fd);
usr.sbin/sysinst/arch/mac68k/md.c
400
close (fd);
usr.sbin/sysinst/arch/mac68k/md.c
408
close (fd);
usr.sbin/sysinst/arch/mac68k/md.c
414
close (fd);
usr.sbin/sysinst/arch/mac68k/md.c
443
close (fd);
usr.sbin/sysinst/arch/mac68k/md.c
474
close(fd);
usr.sbin/sysinst/arch/mac68k/md.c
775
close(fd);
usr.sbin/sysinst/arch/macppc/md.c
80
close(fd);
usr.sbin/sysinst/arch/macppc/md.c
83
close(fd);
usr.sbin/sysinst/arch/mipsco/md.c
86
close(fd);
usr.sbin/sysinst/arch/mipsco/md.c
89
close(fd);
usr.sbin/sysinst/arch/mvme68k/md.c
104
close(fd);
usr.sbin/sysinst/arch/mvme68k/md.c
111
close(fd);
usr.sbin/sysinst/arch/mvme68k/md.c
84
close(fd);
usr.sbin/sysinst/arch/mvme68k/md.c
90
close(fd);
usr.sbin/sysinst/arch/news68k/md.c
81
close(fd);
usr.sbin/sysinst/arch/news68k/md.c
84
close(fd);
usr.sbin/sysinst/arch/newsmips/md.c
80
close(fd);
usr.sbin/sysinst/arch/newsmips/md.c
83
close(fd);
usr.sbin/sysinst/arch/pmax/md.c
85
close(fd);
usr.sbin/sysinst/arch/pmax/md.c
88
close(fd);
usr.sbin/sysinst/arch/sgimips/md.c
102
close(fd);
usr.sbin/sysinst/arch/sgimips/md.c
105
close(fd);
usr.sbin/sysinst/arch/shark/md.c
218
close(fd);
usr.sbin/sysinst/arch/shark/md.c
222
close(fd);
usr.sbin/sysinst/arch/shark/md.c
83
close(fd);
usr.sbin/sysinst/arch/shark/md.c
86
close(fd);
usr.sbin/sysinst/arch/vax/md.c
88
close(fd);
usr.sbin/sysinst/arch/vax/md.c
91
close(fd);
usr.sbin/sysinst/arch/virt68k/md.c
104
close(fd);
usr.sbin/sysinst/arch/virt68k/md.c
111
close(fd);
usr.sbin/sysinst/arch/virt68k/md.c
84
close(fd);
usr.sbin/sysinst/arch/virt68k/md.c
90
close(fd);
usr.sbin/sysinst/arch/x68k/md.c
101
close(fd);
usr.sbin/sysinst/arch/x68k/md.c
107
close(fd);
usr.sbin/sysinst/arch/x68k/md.c
121
close(fd);
usr.sbin/sysinst/arch/x68k/md.c
131
close(fd);
usr.sbin/sysinst/arch/x68k/md.c
140
close(fd);
usr.sbin/sysinst/arch/zaurus/md.c
206
close(fd);
usr.sbin/sysinst/disklabel.c
224
close(fd);
usr.sbin/sysinst/disklabel.c
240
close(fd);
usr.sbin/sysinst/disklabel.c
296
close(fd);
usr.sbin/sysinst/disks.c
1908
close(fd);
usr.sbin/sysinst/disks.c
376
close(fd);
usr.sbin/sysinst/geom.c
109
close(fd);
usr.sbin/sysinst/geom.c
62
(void)close(fd);
usr.sbin/sysinst/geom.c
66
(void)close(fd);
usr.sbin/sysinst/gpt.c
1469
close(fd);
usr.sbin/sysinst/gpt.c
1473
close(fd);
usr.sbin/sysinst/gpt.c
1580
close(fd);
usr.sbin/sysinst/gpt.c
480
close(fd);
usr.sbin/sysinst/mbr.c
2679
close(fd);
usr.sbin/sysinst/mbr.c
2708
close(fd);
usr.sbin/sysinst/mbr.c
3013
close(fd);
usr.sbin/sysinst/mbr.c
3016
close(fd);
usr.sbin/sysinst/mbr.c
659
close(fd);
usr.sbin/sysinst/mbr.c
790
(void)close(fd);
usr.sbin/sysinst/net.c
339
close(sock);
usr.sbin/sysinst/net.c
357
close(sock);
usr.sbin/sysinst/net.c
486
close(s);
usr.sbin/sysinst/run.c
450
(void)close(STDIN_FILENO);
usr.sbin/sysinst/run.c
452
(void)close(STDOUT_FILENO);
usr.sbin/sysinst/run.c
456
(void)close(master);
usr.sbin/sysinst/run.c
576
close(master);
usr.sbin/sysinst/run.c
577
close(slave);
usr.sbin/sysinst/target.c
570
close(fd);
usr.sbin/sysinst/util.c
1222
close(fd);
usr.sbin/sysinst/util.c
2063
close(fd);
usr.sbin/sysinst/util.c
2076
close(fd);
usr.sbin/sysinst/util.c
2724
close(fd);
usr.sbin/sysinst/util.c
496
close(dev);
usr.sbin/sysinst/util.c
500
close(dev);
usr.sbin/sysinst/util.c
518
close(dev);
usr.sbin/sysinst/wskbd.c
129
close(fd);
usr.sbin/syslogd/syslogd.c
1942
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
2451
(void) close(f->f_file);
usr.sbin/syslogd/syslogd.c
2479
(void) close(f->f_file);
usr.sbin/syslogd/syslogd.c
2521
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
2585
close(f->f_file);
usr.sbin/syslogd/syslogd.c
2769
(void) close(f->f_file);
usr.sbin/syslogd/syslogd.c
2976
if (close(TLS_Listen_Set[i+1].fd) == -1)
usr.sbin/syslogd/syslogd.c
3042
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
3046
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
3073
(void)close(finet[i+1].fd);
usr.sbin/syslogd/syslogd.c
3486
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
3490
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
3513
if (close(finet[i+1].fd) < 0) {
usr.sbin/syslogd/syslogd.c
4173
close(s->fd);
usr.sbin/syslogd/syslogd.c
4180
close(s->fd);
usr.sbin/syslogd/syslogd.c
4233
(void) close(nulldesc);
usr.sbin/syslogd/syslogd.c
4257
(void) close(i);
usr.sbin/syslogd/syslogd.c
4263
(void) close(nulldesc);
usr.sbin/syslogd/syslogd.c
4264
(void) close(pfd[0]);
usr.sbin/syslogd/tls.c
1032
close(sock);
usr.sbin/syslogd/tls.c
1041
close(sock);
usr.sbin/syslogd/tls.c
1051
close(sock);
usr.sbin/syslogd/tls.c
1089
close(sock);
usr.sbin/syslogd/tls.c
1404
close(newsock);
usr.sbin/syslogd/tls.c
1418
close(newsock);
usr.sbin/syslogd/tls.c
1426
close(newsock);
usr.sbin/syslogd/tls.c
1438
close(newsock);
usr.sbin/syslogd/tls.c
1975
if (close(sock) == -1)
usr.sbin/syslogd/tls.c
880
close(s->fd);
usr.sbin/syslogd/tls.c
891
close(s->fd);
usr.sbin/syslogd/tls.c
896
close(s->fd);
usr.sbin/timed/timed/timed.c
382
(void)close(sock_raw);
usr.sbin/timed/timed/timed.c
393
(void)close(sock_raw);
usr.sbin/timed/timedc/cmds.c
511
(void)close(sock);
usr.sbin/tpctl/data.c
306
close(fd);
usr.sbin/tpctl/main.c
330
close(fbfd);
usr.sbin/tprof/ksyms.c
133
close(fd);
usr.sbin/tprof/tprof.c
476
close(devfd);
usr.sbin/traceroute/as.c
91
close(s);
usr.sbin/traceroute/prog_ops.h
89
#define prog_close close
usr.sbin/traceroute/traceroute_hostops.c
51
.op_close = close,
usr.sbin/traceroute6/traceroute6.c
633
close(dummy);
usr.sbin/umcpmioctl/umcpmioctl.c
539
(void)close(fd);
usr.sbin/usbdevs/usbdevs.c
433
close(fd);
usr.sbin/usbdevs/usbdevs.c
440
close(f);
usr.sbin/user/user.c
1102
(void)close(masterfd);
usr.sbin/user/user.c
1110
(void)close(masterfd);
usr.sbin/user/user.c
1111
(void)close(ptmpfd);
usr.sbin/user/user.c
1118
(void)close(masterfd);
usr.sbin/user/user.c
1142
(void)close(ptmpfd);
usr.sbin/user/user.c
1151
(void)close(ptmpfd);
usr.sbin/user/user.c
1159
(void)close(ptmpfd);
usr.sbin/user/user.c
1172
(void)close(ptmpfd);
usr.sbin/user/user.c
1179
(void)close(ptmpfd);
usr.sbin/user/user.c
1195
(void)close(ptmpfd);
usr.sbin/user/user.c
1246
(void)close(ptmpfd);
usr.sbin/user/user.c
1254
(void)close(ptmpfd);
usr.sbin/user/user.c
1261
(void)close(ptmpfd);
usr.sbin/user/user.c
1273
(void)close(ptmpfd);
usr.sbin/user/user.c
1280
(void)close(ptmpfd);
usr.sbin/user/user.c
1285
(void)close(ptmpfd);
usr.sbin/user/user.c
1347
(void)close(fd);
usr.sbin/user/user.c
1368
(void)close(fd);
usr.sbin/user/user.c
1376
(void)close(fd);
usr.sbin/user/user.c
1464
(void)close(masterfd);
usr.sbin/user/user.c
1471
(void)close(masterfd);
usr.sbin/user/user.c
1472
(void)close(ptmpfd);
usr.sbin/user/user.c
1486
(void)close(ptmpfd);
usr.sbin/user/user.c
1507
(void)close(ptmpfd);
usr.sbin/user/user.c
1522
(void)close(ptmpfd);
usr.sbin/user/user.c
1545
(void)close(ptmpfd);
usr.sbin/user/user.c
1567
(void)close(ptmpfd);
usr.sbin/user/user.c
1579
(void)close(ptmpfd);
usr.sbin/user/user.c
1600
(void)close(ptmpfd);
usr.sbin/user/user.c
1633
(void)close(ptmpfd);
usr.sbin/user/user.c
1648
(void)close(ptmpfd);
usr.sbin/user/user.c
1686
(void)close(ptmpfd);
usr.sbin/user/user.c
1697
(void)close(masterfd);
usr.sbin/user/user.c
1698
(void)close(ptmpfd);
usr.sbin/user/user.c
1709
(void)close(ptmpfd);
usr.sbin/user/user.c
1717
(void)close(ptmpfd);
usr.sbin/user/user.c
1724
(void)close(ptmpfd);
usr.sbin/user/user.c
405
(void)close(fd);
usr.sbin/user/user.c
414
(void)close(fd);
usr.sbin/user/user.c
469
(void)close(fd);
usr.sbin/user/user.c
517
(void)close(fd);
usr.sbin/user/user.c
594
(void)close(fd);
usr.sbin/user/user.c
624
(void)close(fd);
usr.sbin/videomode/videomode.c
132
(void)close(grffd);
usr.sbin/videomode/videomode.c
141
(void)close(grffd);
usr.sbin/videomode/videomode.c
151
(void)close(grffd);
usr.sbin/vipw/vipw.c
109
(void)close(tfd);
usr.sbin/vnconfig/vnconfig.c
198
close(vdisk);
usr.sbin/vnconfig/vnconfig.c
215
close(vdisk);
usr.sbin/vnconfig/vnconfig.c
358
(void) close(ffd);
usr.sbin/vnconfig/vnconfig.c
383
(void) close(fd);
usr.sbin/wgconfig/wgconfig.c
235
close(sock);
usr.sbin/wgconfig/wgconfig.c
405
close(sock);
usr.sbin/wiconfig/wiconfig.c
211
close(s);
usr.sbin/wiconfig/wiconfig.c
285
close(s);
usr.sbin/wiconfig/wiconfig.c
311
close(s);
usr.sbin/wiconfig/wiconfig.c
335
close(s);
usr.sbin/wiconfig/wiconfig.c
628
close(s);
usr.sbin/wsmoused/selection.c
191
(void)close(Selmouse.sm_ttyfd);
usr.sbin/wsmoused/selection.c
218
(void)close(Selmouse.sm_ttyfd);
usr.sbin/wsmoused/selection.c
403
(void)close(Selmouse.sm_ttyfd);
usr.sbin/wsmoused/wsmoused.c
386
(void)close(Mouse.m_devfd);
usr.sbin/wsmoused/wsmoused.c
393
(void)close(Mouse.m_devfd);
usr.sbin/wsmuxctl/wsmuxctl.c
105
close(rfd);
usr.sbin/wsmuxctl/wsmuxctl.c
190
close(wsfd);
usr.sbin/ypbind/ypbind.c
1192
(void)close(fd);
usr.sbin/ypbind/ypbind.c
1391
(void)close(dom->dom_lockfd);
usr.sbin/ypbind/ypbind.c
649
(void)close(dom->dom_lockfd);
usr.sbin/ypbind/ypbind.c
674
(void)close(dom->dom_lockfd);
usr.sbin/ypserv/common/ypdb.c
122
(void) close(fd);
usr.sbin/ypserv/common/ypdb.c
133
(void) close(fd);
usr.sbin/ypserv/common/ypdb.c
177
(void)(db->close)(db);
usr.sbin/ypserv/yppush/yppush.c
380
close(transp->xp_fd); /* close child's socket, we don't need it */
usr.sbin/ypserv/ypserv/ypserv.c
418
(void)close(s);