Symbol: close
bin/cat/cat.c
140
close(fd);
bin/chio/chio.c
696
close(mtfd);
bin/cp/utils.c
100
(void)close(from_fd);
bin/cp/utils.c
110
(void)close(from_fd);
bin/cp/utils.c
167
(void)close(from_fd);
bin/cp/utils.c
168
(void)close(to_fd);
bin/cp/utils.c
191
(void)close(from_fd);
bin/cp/utils.c
192
if (close(to_fd)) {
bin/csh/csh.c
1280
return close(DESC(oreo));
bin/csh/csh.c
618
(void) close(SHIN);
bin/csh/csh.c
740
(void) close(unit);
bin/csh/csh.c
800
(void) close(SHIN), SHIN = oSHIN;
bin/csh/csh.c
859
(void) close(fd);
bin/csh/exec.c
283
(void) close(fd);
bin/csh/exec.c
292
(void) close(fd);
bin/csh/exec.c
396
(void) close(SHIN);
bin/csh/exec.c
397
(void) close(SHOUT);
bin/csh/exec.c
398
(void) close(SHERR);
bin/csh/exec.c
399
(void) close(OLDSTD);
bin/csh/func.c
1345
(void) close(SHIN);
bin/csh/func.c
1346
(void) close(SHOUT);
bin/csh/func.c
1347
(void) close(SHERR);
bin/csh/func.c
362
(void) close(SHIN);
bin/csh/glob.c
655
(void) close(pvec[0]);
bin/csh/glob.c
694
(void) close(pvec[1]);
bin/csh/glob.c
744
(void) close(pvec[0]);
bin/csh/misc.c
190
close(f);
bin/csh/misc.c
197
(void) close(0);
bin/csh/misc.c
198
(void) close(1);
bin/csh/misc.c
199
(void) close(2);
bin/csh/misc.c
218
(void) close(i);
bin/csh/misc.c
223
(void) close(i);
bin/csh/misc.c
237
(void) close(j);
bin/csh/misc.c
252
(void) close(k);
bin/csh/sem.c
349
(void) close(pipein[0]);
bin/csh/sem.c
350
(void) close(pipein[1]);
bin/csh/sem.c
364
(void) close(pipeout[0]);
bin/csh/sem.c
365
(void) close(pipeout[1]);
bin/csh/sem.c
387
(void) close(SHIN);
bin/csh/sem.c
541
(void) close(pipein[0]);
bin/csh/sem.c
542
(void) close(pipein[1]);
bin/csh/sem.c
545
(void) close(0);
bin/csh/sem.c
96
(void) close(0);
bin/csh/sem.c
99
(void) close(0);
bin/df/df.c
502
close (rfd);
bin/ed/buf.c
210
close(fd);
bin/ksh/c_sh.c
834
close(genv->savefd[i]);
bin/ksh/eval.c
922
close(pv[1]);
bin/ksh/exec.c
1151
close(iop->unit);
bin/ksh/exec.c
1159
close(u);
bin/ksh/exec.c
1163
close(u);
bin/ksh/exec.c
1217
close(fd);
bin/ksh/exec.c
1235
close(fd);
bin/ksh/exec.c
204
close(pv[0]);
bin/ksh/history.c
729
close(fd);
bin/ksh/history.c
734
close(fd);
bin/ksh/history.c
737
close(fddup);
bin/ksh/io.c
283
close(fd);
bin/ksh/io.c
286
close(ofd);
bin/ksh/io.c
299
close(lpv[0]);
bin/ksh/io.c
302
close(lpv[1]);
bin/ksh/io.c
308
close(pv[0]);
bin/ksh/io.c
309
close(pv[1]);
bin/ksh/io.c
364
close(coproc.read);
bin/ksh/io.c
376
close(coproc.readw);
bin/ksh/io.c
388
close(coproc.write);
bin/ksh/io.c
417
close(coproc.read);
bin/ksh/io.c
421
close(coproc.readw);
bin/ksh/io.c
426
close(coproc.write);
bin/ksh/jobs.c
486
close(close_fd);
bin/ksh/jobs.c
513
close(fd);
bin/ksh/main.c
794
close(ep->savefd[fd]);
bin/ksh/shf.c
226
if (close(shf->fd) == -1)
bin/ksh/shf.c
245
if (close(shf->fd) == -1)
bin/ksh/shf.c
60
close(fd);
bin/ksh/tty.c
19
close(tty_fd);
bin/ksh/tty.c
58
close(tfd);
bin/mv/cp.c
443
(void)close(from_fd);
bin/mv/cp.c
454
(void)close(from_fd);
bin/mv/cp.c
511
(void)close(from_fd);
bin/mv/cp.c
512
(void)close(to_fd);
bin/mv/cp.c
518
(void)close(from_fd);
bin/mv/cp.c
519
if (close(to_fd)) {
bin/mv/mv.c
285
(void)close(from_fd);
bin/mv/mv.c
304
(void)close(from_fd);
bin/mv/mv.c
305
(void)close(to_fd);
bin/mv/mv.c
308
(void)close(from_fd);
bin/mv/mv.c
339
if (close(to_fd)) {
bin/pax/ar_io.c
1260
close(fds[0]);
bin/pax/ar_io.c
1261
close(fds[1]);
bin/pax/ar_io.c
1285
close(fds[0]);
bin/pax/ar_io.c
1286
close(fds[1]);
bin/pax/ar_io.c
159
(void)close(arfd);
bin/pax/ar_io.c
167
(void)close(arfd);
bin/pax/ar_io.c
338
(void)close(arfd);
bin/pax/ar_io.c
99
(void)close(arfd);
bin/pax/file_subs.c
1068
(void)close(*fd);
bin/pax/file_subs.c
155
if (close(fd) == -1)
bin/pax/file_subs.c
863
close(fd);
bin/pax/tables.c
684
close(fd);
bin/pax/tables.c
687
close(fd);
bin/pax/tty_subs.c
73
(void)close(ttyfd);
bin/rm/rm.c
332
close(fd);
bin/rm/rm.c
338
close(fd);
games/atc/update.c
318
int i, num_starts, close, rnd, rnd2, pnum;
games/atc/update.c
348
close = 0;
games/atc/update.c
351
close++;
games/atc/update.c
354
if (close)
games/backgammon/common_source/save.c
125
close(fdesc);
games/backgammon/common_source/save.c
151
close(fdesc);
games/backgammon/common_source/save.c
98
close(fdesc);
games/canfield/canfield/canfield.c
1647
close(dbfd);
games/canfield/canfield/canfield.c
1704
close(dbfd);
games/cribbage/instr.c
73
close(fd);
games/fish/fish.c
479
close(fd);
games/fortune/fortune/fortune.c
1028
(void) close(fd);
games/fortune/fortune/fortune.c
609
(void) close(fp->fd);
games/hack/hack.bones.c
136
(void) close(fd);
games/hack/hack.bones.c
151
(void) close(fd);
games/hack/hack.bones.c
87
(void) close(fd);
games/hack/hack.do.c
223
(void) close(fd);
games/hack/hack.do.c
241
(void) close(fd);
games/hack/hack.main.c
543
(void) close(fd);
games/hack/hack.main.c
548
(void) close(fd);
games/hack/hack.pager.c
382
(void) close(0);
games/hack/hack.pager.c
391
(void) close(fd);
games/hack/hack.save.c
136
(void) close(fd);
games/hack/hack.save.c
142
(void) close(ofd);
games/hack/hack.save.c
147
(void) close(fd);
games/hack/hack.save.c
174
(void) close(fd);
games/hack/hack.save.c
199
(void) close(nfd);
games/hack/hack.save.c
203
(void) close(fd);
games/hack/hack.unix.c
182
(void) close(fd);
games/hack/hack.unix.c
239
(void) close(fd);
games/hack/hack.unix.c
256
if(close(fd) == -1) {
games/hangman/ksyms.c
106
close(symfd);
games/hunt/hunt/hunt.c
219
close(Socket);
games/hunt/hunt/hunt.c
376
close(s);
games/hunt/hunt/hunt.c
389
(void)close(s);
games/hunt/hunt/hunt.c
468
(void) close(Socket);
games/hunt/hunt/list.c
198
close(probe_sock[i]);
games/hunt/hunt/list.c
306
(void) close(fd);
games/hunt/hunt/list.c
83
close(probe_sock[i]);
games/hunt/hunt/playit.c
172
(void) close(Socket);
games/hunt/hunt/playit.c
405
(void) close(Socket);
games/hunt/huntd/answer.c
266
close(sp->fd);
games/hunt/huntd/answer.c
87
close(newsock);
games/hunt/huntd/driver.c
1008
(void) close(s);
games/hunt/huntd/driver.c
974
(void) close(Socket);
games/mille/save.c
119
close(outf);
games/mille/save.c
152
close(inf);
games/phantasia/setup.c
126
close(fd); /* close newly created file */
games/robots/main.c
109
close(score_wfd);
games/robots/score.c
181
close(inf);
games/sail/dr_3.c
323
struct ship *close;
games/sail/dr_3.c
332
close = closestenemy(sp, 0, 0);
games/sail/dr_3.c
333
if (close != 0) {
games/sail/dr_3.c
334
if (range(sp, close) > 9)
games/sail/main.c
56
close(fd);
games/snake/snake.c
430
close(rawscores);
games/snake/snake.c
847
close(rawscores);
games/wump/wump.c
902
close(fd);
include/db.h
94
int (*close)(struct __db *);
include/unistd.h
329
int close(int);
lib/libagentx/agentx.c
283
close(fd);
lib/libagentx/ax.c
89
close(ax->ax_fd);
lib/libarch/alpha/bwx.c
77
close(mem_fd);
lib/libc/asr/asr.c
305
close(as->as_fd);
lib/libc/asr/asr.c
454
close(fd);
lib/libc/asr/asr.c
752
close(fd);
lib/libc/asr/getaddrinfo_async.c
403
close(fd);
lib/libc/asr/gethostnamadr_async.c
294
close(fd);
lib/libc/asr/res_send_async.c
331
close(sock);
lib/libc/asr/res_send_async.c
445
close(as->as_fd);
lib/libc/asr/res_send_async.c
467
close(as->as_fd);
lib/libc/asr/res_send_async.c
475
close(as->as_fd);
lib/libc/asr/res_send_async.c
546
goto close; /* errno set */
lib/libc/asr/res_send_async.c
560
close:
lib/libc/asr/res_send_async.c
561
close(as->as_fd);
lib/libc/asr/res_send_async.c
592
goto close; /* errno set */
lib/libc/asr/res_send_async.c
596
goto close;
lib/libc/asr/res_send_async.c
604
goto close; /* errno set */
lib/libc/asr/res_send_async.c
613
goto close; /* errno set */
lib/libc/asr/res_send_async.c
628
goto close; /* errno set */
lib/libc/asr/res_send_async.c
632
goto close;
lib/libc/asr/res_send_async.c
643
goto close; /* errno set */
lib/libc/asr/res_send_async.c
646
close:
lib/libc/asr/res_send_async.c
648
close(as->as_fd);
lib/libc/db/btree/bt_close.c
97
return (close(fd) ? RET_ERROR : RET_SUCCESS);
lib/libc/db/btree/bt_open.c
169
dbp->close = __bt_close;
lib/libc/db/btree/bt_open.c
335
(void)close(t->bt_fd);
lib/libc/db/hash/hash.c
194
dbp->close = hash_close;
lib/libc/db/hash/hash.c
229
(void)close(hashp->fp);
lib/libc/db/hash/hash.c
419
(void)close(hashp->fp);
lib/libc/db/hash/ndbm.c
104
(void)(db->close)(db);
lib/libc/db/recno/rec_close.c
78
if (close(t->bt_rfd))
lib/libc/db/recno/rec_open.c
154
dbp->close = __rec_close;
lib/libc/db/recno/rec_open.c
184
(void)close(rfd);
lib/libc/gen/auth_subr.c
1032
close(as->fd);
lib/libc/gen/auth_subr.c
218
close(as->fd);
lib/libc/gen/auth_subr.c
867
close(pfd[0]);
lib/libc/gen/auth_subr.c
868
close(pfd[1]);
lib/libc/gen/auth_subr.c
885
close(pfd[1]);
lib/libc/gen/auth_subr.c
887
close(as->fd); /* so child has only ref */
lib/libc/gen/auth_subr.c
900
close(pfd[0]);
lib/libc/gen/authenticate.c
171
(void)close(fd);
lib/libc/gen/closedir.c
53
return (close(fd));
lib/libc/gen/daemon.c
61
(void)close(fd);
lib/libc/gen/fts.c
1046
(void)close(newfd);
lib/libc/gen/fts.c
238
(void)close(rfd);
lib/libc/gen/fts.c
305
(void)close(p->fts_symfd);
lib/libc/gen/fts.c
426
(void)close(p->fts_symfd);
lib/libc/gen/fts.c
432
(void)close(p->fts_symfd);
lib/libc/gen/fts.c
524
(void)close(fd);
lib/libc/gen/fts.c
527
(void)close(fd);
lib/libc/gen/getcap.c
260
(void)capdbp->close(capdbp);
lib/libc/gen/getcap.c
269
if (capdbp->close(capdbp) < 0) {
lib/libc/gen/getgrent.c
220
close(fd);
lib/libc/gen/getgrouplist.c
124
close(fd);
lib/libc/gen/getnetgrent.c
607
(void) (_ng_db->close) (_ng_db);
lib/libc/gen/getpwent.c
771
(void)(_pw_db->close)(_pw_db);
lib/libc/gen/getpwent.c
854
(void)(_pw_db->close)(_pw_db);
lib/libc/gen/getpwent.c
939
(void)(_pw_db->close)(_pw_db);
lib/libc/gen/getpwent.c
968
close(fd);
lib/libc/gen/getpwent.c
975
close(fd);
lib/libc/gen/login_cap.c
121
close(res);
lib/libc/gen/login_cap.c
621
close(fd);
lib/libc/gen/nlist.c
299
(void)close(fd);
lib/libc/gen/opendir.c
56
close(fd);
lib/libc/gen/popen.c
121
(void)close(pdes[!target]);
lib/libc/gen/popen.c
82
(void)close(pdes[0]);
lib/libc/gen/popen.c
83
(void)close(pdes[1]);
lib/libc/gen/popen.c
96
close(fileno(pcur->fp));
lib/libc/gen/posix_spawn.c
149
if (close(fd) != 0) {
lib/libc/gen/posix_spawn.c
172
(void)close(fae->fae_fildes);
lib/libc/gen/readpassphrase.c
154
(void)close(input);
lib/libc/gen/scandir.c
168
HIDDEN(close)(fd);
lib/libc/gen/shm_open.c
69
HIDDEN(close)(fd);
lib/libc/gen/shm_open.c
74
HIDDEN(close)(fd);
lib/libc/gen/ttyname.c
103
(void)(db->close)(db);
lib/libc/gen/ttyname.c
106
(void)(db->close)(db);
lib/libc/gen/ttyname.c
98
(void)(db->close)(db);
lib/libc/gmon/gmon.c
187
close(p->dirfd);
lib/libc/gmon/gmon.c
378
close(fd);
lib/libc/hash/helper.c
75
close(fd);
lib/libc/hash/helper.c
83
close(fd);
lib/libc/hash/helper.c
95
close(fd);
lib/libc/hidden/unistd.h
41
PROTO_CANCEL(close);
lib/libc/net/getprotoent.c
51
close(fd);
lib/libc/net/getservent.c
51
close(fd);
lib/libc/net/getservent.c
87
close(fd);
lib/libc/net/rcmd.c
140
(void)close(s);
lib/libc/net/rcmd.c
201
(void)close(s2);
lib/libc/net/rcmd.c
220
(void)close(s2);
lib/libc/net/rcmd.c
228
close(s2);
lib/libc/net/rcmd.c
244
close(s3);
lib/libc/net/rcmd.c
249
(void)close(s2);
lib/libc/net/rcmd.c
289
(void)close(*fd2p);
lib/libc/net/rcmd.c
291
(void)close(s);
lib/libc/net/rcmdsh.c
105
(void) close(sp[0]);
lib/libc/net/rcmdsh.c
186
(void) close(sp[1]);
lib/libc/net/rresvport.c
101
(void)close(s);
lib/libc/net/rresvport.c
93
(void)close(s);
lib/libc/nls/catopen.c
177
close (fd);
lib/libc/nls/catopen.c
183
close (fd);
lib/libc/nls/catopen.c
188
close (fd);
lib/libc/rpc/clnt_simple.c
88
(void)close(crp->socket);
lib/libc/rpc/clnt_tcp.c
158
(void)close(*sockp);
lib/libc/rpc/clnt_tcp.c
190
(void)close(*sockp);
lib/libc/rpc/clnt_tcp.c
374
(void)close(ct->ct_sock);
lib/libc/rpc/clnt_udp.c
421
(void)close(cu->cu_sock);
lib/libc/rpc/pmap_rmt.c
380
(void)close(sock);
lib/libc/rpc/svc_tcp.c
151
(void)close(sock);
lib/libc/rpc/svc_tcp.c
157
(void)close(sock);
lib/libc/rpc/svc_tcp.c
165
(void)close(sock);
lib/libc/rpc/svc_tcp.c
177
(void)close(sock);
lib/libc/rpc/svc_tcp.c
264
close(sock);
lib/libc/rpc/svc_tcp.c
281
close(sock);
lib/libc/rpc/svc_tcp.c
308
(void)close(xprt->xp_sock);
lib/libc/rpc/svc_udp.c
120
(void)close(sock);
lib/libc/rpc/svc_udp.c
126
(void)close(sock);
lib/libc/rpc/svc_udp.c
132
(void)close(sock);
lib/libc/rpc/svc_udp.c
139
(void)close(sock);
lib/libc/rpc/svc_udp.c
154
(void)close(sock);
lib/libc/rpc/svc_udp.c
260
(void)close(xprt->xp_sock);
lib/libc/stdio/freopen.c
137
(void) close(f);
lib/libc/stdio/stdio.c
87
return (close(((FILE *)cookie)->_file));
lib/libc/stdio/tmpfile.c
64
(void)close(fd);
lib/libc/stdlib/icdb.c
200
close(fd);
lib/libc/stdlib/icdb.c
386
close(db->fd);
lib/libc/stdlib/posix_pty.c
48
close(ptm.sfd);
lib/libc/stdlib/posix_pty.c
51
close(fd);
lib/libc/sys/w_close.c
27
ret = HIDDEN(close)(fd);
lib/libc/sys/w_close.c
31
DEF_CANCEL(close);
lib/libc/time/localtime.c
398
if (close(fid) == -1 || nread <= 0)
lib/libc/yp/yp_all.c
127
close(ypbinding.dom_socket);
lib/libc/yp/yp_all.c
142
close(ypbinding.dom_socket);
lib/libc/yp/yp_bind.c
82
close(ypbinding->dom_socket);
lib/libc/yp/yp_bind.c
95
close(ypb->dom_socket);
lib/libcrypto/arc4random/getentropy_aix.c
149
close(fd);
lib/libcrypto/arc4random/getentropy_aix.c
159
close(fd);
lib/libcrypto/arc4random/getentropy_aix.c
164
close(fd);
lib/libcrypto/arc4random/getentropy_hpux.c
153
close(fd);
lib/libcrypto/arc4random/getentropy_hpux.c
163
close(fd);
lib/libcrypto/arc4random/getentropy_hpux.c
168
close(fd);
lib/libcrypto/arc4random/getentropy_linux.c
227
close(fd);
lib/libcrypto/arc4random/getentropy_linux.c
231
close(fd);
lib/libcrypto/arc4random/getentropy_linux.c
241
close(fd);
lib/libcrypto/arc4random/getentropy_linux.c
246
close(fd);
lib/libcrypto/arc4random/getentropy_osx.c
173
close(fd);
lib/libcrypto/arc4random/getentropy_osx.c
183
close(fd);
lib/libcrypto/arc4random/getentropy_osx.c
188
close(fd);
lib/libcrypto/arc4random/getentropy_solaris.c
180
close(fd);
lib/libcrypto/arc4random/getentropy_solaris.c
190
close(fd);
lib/libcrypto/arc4random/getentropy_solaris.c
195
close(fd);
lib/libcrypto/bio/b_sock.c
207
close(s);
lib/libcrypto/bio/bss_acpt.c
171
close(c->accept_sock);
lib/libcrypto/bio/bss_acpt.c
216
close(s);
lib/libcrypto/bio/bss_conn.c
353
close(bio->num);
lib/libcrypto/bio/bss_dgram.c
177
close(a->num);
lib/libcrypto/bio/bss_fd.c
127
close(a->num);
lib/libcrypto/bio/bss_sock.c
127
close(a->num);
lib/libcrypto/rand/randfile.c
114
close(fd);
lib/libcurses/tinfo/hashed_db.c
191
result = db->close(db, 0);
lib/libcurses/tinfo/hashed_db.c
193
result = db->close(db);
lib/libcurses/tinfo/read_termcap.c
373
(void) close(fd);
lib/libcurses/tinfo/read_termcap.c
415
(void) close(fd);
lib/libcurses/tinfo/read_termcap.c
510
(void) close(fd);
lib/libcurses/tinfo/read_termcap.c
555
(void) close(fd);
lib/libcurses/tinfo/read_termcap.c
588
(void) close(fd);
lib/libedit/readline.c
1209
close(fd);
lib/libedit/vi.c
1004
close(fd);
lib/libedit/vi.c
1010
close(fd);
lib/libedit/vi.c
1035
close(fd);
lib/libedit/vi.c
983
close(fd);
lib/libedit/vi.c
989
close(fd);
lib/libevent/evutil.h
60
#define EVUTIL_CLOSESOCKET(s) close(s)
lib/libevent/kqueue.c
447
close(kqop->kq);
lib/libevent/signal.c
285
close(base->sig.ev_signal_pair[0]);
lib/libevent/signal.c
289
close(base->sig.ev_signal_pair[1]);
lib/libexpat/lib/xmlparse.c
1103
close(fd);
lib/libexpat/tests/benchmark/benchmark.c
102
close(fd);
lib/libexpat/tests/benchmark/benchmark.c
109
close(fd);
lib/libfido2/src/dev.c
100
if (dev->io.open == NULL || dev->io.close == NULL) {
lib/libfido2/src/dev.c
155
dev->io.close(dev->io_handle);
lib/libfido2/src/dev.c
219
dev->io.close(dev->io_handle);
lib/libfido2/src/dev.c
318
if (dev->io_handle == NULL || dev->io.close == NULL)
lib/libfido2/src/dev.c
321
dev->io.close(dev->io_handle);
lib/libfido2/src/dev.c
369
if (io == NULL || io->open == NULL || io->close == NULL ||
lib/libfido2/src/dev.c
440
if (di->io.open == NULL || di->io.close == NULL ||
lib/libfido2/src/fido/types.h
33
fido_dev_io_close_t *close;
lib/libfido2/src/hid_openbsd.c
178
if (close(ctx->fd) == -1)
lib/libfido2/src/hid_openbsd.c
54
if (close(fd) == -1)
lib/libfido2/src/hid_unix.c
34
if (close(fd) == -1)
lib/libfido2/src/hid_unix.c
41
if (close(fd) == -1)
lib/libfuse/fuse.c
186
close(fc->fd);
lib/libfuse/fuse.c
203
if (close(ch->fd) == -1)
lib/libkeynote/keynote-sign.c
139
close(fd);
lib/libkeynote/keynote-sign.c
174
close(fd);
lib/libkeynote/keynote-sigver.c
91
close(fd);
lib/libkeynote/keynote-verify.c
138
close(fd);
lib/libkeynote/keynote-verify.c
258
close(fd);
lib/libkeynote/keynote-verify.c
342
close(fd);
lib/libkvm/kvm.c
641
error |= close(kd->pmfd);
lib/libkvm/kvm.c
643
error |= close(kd->vmfd);
lib/libkvm/kvm.c
646
error |= close(kd->nlfd);
lib/libkvm/kvm.c
648
error |= close(kd->swfd);
lib/libkvm/kvm.c
650
error |= (kd->db->close)(kd->db);
lib/libkvm/kvm.c
717
goto close;
lib/libkvm/kvm.c
719
goto close;
lib/libkvm/kvm.c
732
goto close;
lib/libkvm/kvm.c
734
goto close;
lib/libkvm/kvm.c
738
goto close;
lib/libkvm/kvm.c
745
close:
lib/libkvm/kvm.c
746
(void)(kd->db->close)(kd->db);
lib/libpcap/inet.c
178
(void)close(fd);
lib/libpcap/inet.c
213
(void)close(fd);
lib/libpcap/inet.c
232
(void)close(fd);
lib/libpcap/inet.c
273
(void)close(fd);
lib/libpcap/inet.c
281
(void)close(fd);
lib/libpcap/inet.c
284
(void)close(fd);
lib/libpcap/pcap-bpf.c
334
close(sock);
lib/libpcap/pcap-bpf.c
349
close(p->fd);
lib/libpcap/pcap-bpf.c
642
close(sock);
lib/libpcap/pcap-bpf.c
650
close(sock);
lib/libpcap/pcap-bpf.c
656
close(sock);
lib/libpcap/pcap-bpf.c
664
close(sock);
lib/libpcap/pcap-bpf.c
676
close(sock);
lib/libpcap/pcap-bpf.c
684
close(sock);
lib/libpcap/pcap-bpf.c
709
close(sock);
lib/libpcap/pcap-bpf.c
736
close(sock);
lib/libpcap/pcap-bpf.c
746
close(sock);
lib/librthread/rthread_sem.c
349
close(fd);
lib/librthread/rthread_sem.c
354
close(fd);
lib/librthread/rthread_sem.c
360
close(fd);
lib/librthread/rthread_sem.c
365
close(fd);
lib/librthread/rthread_sem.c
370
close(fd);
lib/librthread/rthread_sem.c
379
close(fd);
lib/librthread/rthread_sem_compat.c
364
close(fd);
lib/librthread/rthread_sem_compat.c
369
close(fd);
lib/librthread/rthread_sem_compat.c
375
close(fd);
lib/librthread/rthread_sem_compat.c
380
close(fd);
lib/librthread/rthread_sem_compat.c
385
close(fd);
lib/librthread/rthread_sem_compat.c
394
close(fd);
lib/libskey/skeylogin.c
127
close(fd);
lib/libskey/skeylogin.c
137
close(fd);
lib/libskey/skeylogin.c
179
close(fd);
lib/libsndio/aucat.c
244
close(fd);
lib/libsndio/aucat.c
247
close(fd);
lib/libsndio/aucat.c
272
close(fd);
lib/libsndio/aucat.c
275
close(fd);
lib/libsndio/aucat.c
316
close(s);
lib/libsndio/aucat.c
328
close(s);
lib/libsndio/aucat.c
361
close(s);
lib/libsndio/aucat.c
504
while (close(hdl->fd) == -1 && errno == EINTR)
lib/libsndio/aucat.c
537
while (close(hdl->fd) == -1 && errno == EINTR)
lib/libsndio/mio.c
79
hdl->ops->close(hdl);
lib/libsndio/mio_priv.h
38
void (*close)(struct mio_hdl *);
lib/libsndio/mio_rmidi.c
133
while (close(fd) == -1 && errno == EINTR)
lib/libsndio/mio_rmidi.c
145
rc = close(hdl->fd);
lib/libsndio/sio.c
95
hdl->ops->close(hdl);
lib/libsndio/sio_priv.h
57
void (*close)(struct sio_hdl *);
lib/libsndio/sio_sun.c
348
while (close(fd) == -1 && errno == EINTR)
lib/libsndio/sio_sun.c
358
while (close(hdl->fd) == -1 && errno == EINTR)
lib/libsndio/sioctl.c
98
hdl->ops->close(hdl);
lib/libsndio/sioctl_priv.h
42
void (*close)(struct sioctl_hdl *);
lib/libsndio/sioctl_sun.c
402
while (close(fd) < 0 && errno == EINTR)
lib/libsndio/sioctl_sun.c
412
close(hdl->fd);
lib/libtls/tls.c
955
if (close(ctx->socket) != 0) {
lib/libtls/tls_client.c
137
close(s);
lib/libtls/tls_client.c
153
close(s);
lib/libtls/tls_config.c
80
close(fd);
lib/libtls/tls_config.c
85
close(fd);
lib/libtls/tls_util.c
180
close(fd);
lib/libtls/tls_util.c
214
close(fd);
lib/libutil/imsg-buffer.c
590
close(buf->fd);
lib/libutil/imsg-buffer.c
622
close(buf->fd);
lib/libutil/imsg-buffer.c
804
close(buf0->fd);
lib/libutil/imsg-buffer.c
854
close(fd);
lib/libutil/imsg-buffer.c
860
close(fd);
lib/libutil/imsg-buffer.c
962
close(f);
lib/libutil/login.c
66
(void)close(fd);
lib/libutil/login.c
70
(void)close(fd);
lib/libutil/login_tty.c
47
(void) close(fd);
lib/libutil/logout.c
63
(void)close(fd);
lib/libutil/logwtmp.c
60
(void) close(fd);
lib/libutil/opendev.c
80
close(fd);
lib/libutil/pty.c
109
close(ptmfd);
lib/libutil/pty.c
112
close(ptmfd);
lib/libutil/pty.c
127
(void) close(master);
lib/libutil/pty.c
128
(void) close(slave);
lib/libutil/pty.c
134
(void) close(master);
lib/libutil/pty.c
142
(void) close(slave);
lib/libutil/pty.c
61
close(ptmfd);
lib/libutil/pty.c
64
close(ptmfd);
lib/libutil/readlabel.c
131
close(fd);
lib/libutil/readlabel.c
137
close(fd);
lib/libutil/readlabel.c
140
close(fd);
lib/libutil/readlabel.c
70
close(fd);
lib/libutil/uucplock.c
113
(void)close(fd);
lib/libutil/uucplock.c
115
(void)close(tmpfd);
lib/libutil/uucplock.c
139
close(fd);
lib/libutil/uucplock.c
92
close(fd);
lib/libz/gzread.c
665
ret = close(state->fd);
lib/libz/gzwrite.c
696
if (close(state->fd) == -1)
libexec/fingerd/fingerd.c
205
(void) close(p[0]);
libexec/fingerd/fingerd.c
208
(void) close(p[1]);
libexec/fingerd/fingerd.c
219
(void) close(p[1]);
libexec/ftpd/ftpcmd.y
189
(void) close(pdata);
libexec/ftpd/ftpcmd.y
207
(void) close(pdata);
libexec/ftpd/ftpcmd.y
226
(void) close(pdata);
libexec/ftpd/ftpd.c
1176
(void) close(pdata);
libexec/ftpd/ftpd.c
1327
(void) close(s);
libexec/ftpd/ftpd.c
1360
(void) close(pdata);
libexec/ftpd/ftpd.c
1380
(void) close(pdata);
libexec/ftpd/ftpd.c
1381
(void) close(s);
libexec/ftpd/ftpd.c
1389
(void) close(pdata);
libexec/ftpd/ftpd.c
1390
(void) close(s);
libexec/ftpd/ftpd.c
1397
(void) close(pdata);
libexec/ftpd/ftpd.c
1398
(void) close(s);
libexec/ftpd/ftpd.c
1402
(void) close(pdata);
libexec/ftpd/ftpd.c
2217
close(pdata);
libexec/ftpd/ftpd.c
2262
(void) close(pdata);
libexec/ftpd/ftpd.c
2320
close(pdata);
libexec/ftpd/ftpd.c
2399
(void) close(pdata);
libexec/ftpd/ftpd.c
2426
(void) close(pdata);
libexec/ftpd/ftpd.c
2478
(void) close(pdata);
libexec/ftpd/ftpd.c
2707
close(pdata);
libexec/ftpd/ftpd.c
442
close(fds[n]);
libexec/ftpd/ftpd.c
449
close(fds[n]);
libexec/ftpd/ftpd.c
455
close(fds[n]);
libexec/ftpd/ftpd.c
460
close(fds[n]);
libexec/ftpd/ftpd.c
496
close(fd);
libexec/ftpd/ftpd.c
506
close(fds[i]);
libexec/ftpd/monitor.c
190
close(fd_slave);
libexec/ftpd/monitor.c
219
close(fd_slave);
libexec/ftpd/monitor.c
229
close(nullfd);
libexec/ftpd/monitor.c
230
close(fd_monitor);
libexec/ftpd/monitor.c
344
close(s);
libexec/ftpd/monitor.c
372
close(s);
libexec/ftpd/popen.c
102
(void)close(pdes[0]);
libexec/ftpd/popen.c
103
(void)close(pdes[1]);
libexec/ftpd/popen.c
109
(void)close(pdes[1]);
libexec/ftpd/popen.c
112
(void)close(pdes[0]);
libexec/ftpd/popen.c
123
(void)close(pdes[1]);
libexec/ld.so/ldconfig/ldconfig.c
417
close(fd);
libexec/ld.so/ldconfig/ldconfig.c
471
close(fd);
libexec/ld.so/ldconfig/sod.c
184
close(hfd);
libexec/ld.so/ldconfig/sod.c
192
close(hfd);
libexec/ld.so/ldd/ldd.c
115
close(fd);
libexec/ld.so/ldd/ldd.c
121
close(fd);
libexec/ld.so/ldd/ldd.c
127
close(fd);
libexec/ld.so/ldd/ldd.c
133
close(fd);
libexec/ld.so/ldd/ldd.c
139
close(fd);
libexec/ld.so/ldd/ldd.c
149
close(fd);
libexec/ld.so/ldd/ldd.c
153
close(fd);
libexec/login_ldap/aldap.c
76
close(al->fd);
libexec/login_ldap/util.c
358
close(fd);
libexec/login_token/tokendb.c
214
(tokendb->close)(tokendb);
libexec/login_token/tokendb.c
238
(tokendb->close)(tokendb);
libexec/mail.local/mail.local.c
266
(void)close(mbfd); /* Implicit unlock. */
libexec/mail.local/mail.local.c
341
close(pfd[0]);
libexec/mail.local/mail.local.c
349
close(pfd[1]);
libexec/mail.local/mail.local.c
371
close(lockfd);
libexec/rpc.rquotad/rquotad.c
252
close(fd);
libexec/rpc.rquotad/rquotad.c
269
close(fd);
libexec/rpc.rquotad/rquotad.c
272
close(fd);
libexec/rpc.rusersd/rusers_proc.c
117
close(fd);
libexec/rpc.rusersd/rusers_proc.c
149
close(fd);
libexec/rpc.rusersd/rusers_proc.c
213
close(fd);
libexec/rpc.rusersd/rusers_proc.c
277
close(fd);
libexec/snmpd/snmpd_metrics/mib.c
2328
close(s);
libexec/snmpd/snmpd_metrics/mib.c
2338
close(s);
libexec/snmpd/snmpd_metrics/mib.c
2436
close(s);
libexec/snmpd/snmpd_metrics/mib.c
2448
close(s);
libexec/snmpd/snmpd_metrics/mib.c
2504
close(s);
libexec/snmpd/snmpd_metrics/mib.c
2510
close(s);
libexec/snmpd/snmpd_metrics/mib.c
4404
snmp_connect(struct agentx *sa, void *cookie, int close)
libexec/snmpd/snmpd_metrics/mib.c
4408
if (close) {
libexec/snmpd/snmpd_metrics/mib.c
4440
close(fd);
libexec/spamd-setup/spamd-setup.c
269
close(pdes[0]);
libexec/spamd-setup/spamd-setup.c
270
close(pdes[1]);
libexec/spamd-setup/spamd-setup.c
274
close(pdes[0]);
libexec/spamd-setup/spamd-setup.c
277
close(pdes[1]);
libexec/spamd-setup/spamd-setup.c
287
close(pdes[1]);
libexec/spamd-setup/spamd-setup.c
628
close(s);
libexec/spamd-setup/spamd-setup.c
641
close(s);
libexec/spamd-setup/spamd-setup.c
659
close(pdes[0]);
libexec/spamd-setup/spamd-setup.c
660
close(pdes[1]);
libexec/spamd-setup/spamd-setup.c
664
close(pdes[1]);
libexec/spamd-setup/spamd-setup.c
667
close(pdes[0]);
libexec/spamd-setup/spamd-setup.c
675
close(pdes[0]);
libexec/spamd-setup/spamd-setup.c
678
close(pdes[1]);
libexec/spamd/grey.c
1059
close(i);
libexec/spamd/grey.c
1069
db->close(db);
libexec/spamd/grey.c
1108
close(pfdev);
libexec/spamd/grey.c
185
close(pdes[0]);
libexec/spamd/grey.c
186
close(pdes[1]);
libexec/spamd/grey.c
191
close(pdes[1]);
libexec/spamd/grey.c
194
close(pdes[0]);
libexec/spamd/grey.c
204
close(pdes[0]);
libexec/spamd/grey.c
208
close(pdes[1]);
libexec/spamd/grey.c
609
db->close(db);
libexec/spamd/grey.c
620
db->close(db);
libexec/spamd/grey.c
749
db->close(db);
libexec/spamd/grey.c
752
db->close(db);
libexec/spamd/grey.c
872
db->close(db);
libexec/spamd/grey.c
889
db->close(db);
libexec/spamd/spamd.c
1502
close(greyback[0]);
libexec/spamd/spamd.c
1503
close(greypipe[0]);
libexec/spamd/spamd.c
1510
close(trappipe[1]);
libexec/spamd/spamd.c
1520
close(greyback[1]);
libexec/spamd/spamd.c
1526
close(greypipe[1]);
libexec/spamd/spamd.c
1532
close(trappipe[0]);
libexec/spamd/spamd.c
1691
close(s2);
libexec/spamd/spamd.c
1725
close(conffd);
libexec/spamd/spamd.c
416
close(conffd);
libexec/spamd/spamd.c
766
close(cp->pfd->fd);
libexec/spamd/sync.c
233
close(syncfd);
libexec/spamlogd/spamlogd.c
360
db->close(db);
libexec/spamlogd/spamlogd.c
366
db->close(db);
libexec/tradcpp/files.c
377
close(fd);
libexec/tradcpp/files.c
390
close(fd);
libexec/tradcpp/files.c
435
close(fd);
libexec/tradcpp/output.c
200
close(outputfd);
regress/bin/ksh/edit/edit.c
148
close(ptyfd);
regress/lib/libagentx/main.c
333
regress_fd(struct agentx *sa2, void *cookie, int close)
regress/lib/libagentx/main.c
340
if (!close)
regress/lib/libc/db/dbtest.c
324
if (dbp->close(dbp))
regress/lib/libc/db/dbtest.c
326
(void)close(ofd);
regress/lib/libc/db/dbtest.c
692
(void)close(fd);
regress/lib/libc/explicit_bzero/explicit_bzero.c
135
ASSERT_EQ(0, close(fds[1]));
regress/lib/libc/explicit_bzero/explicit_bzero.c
138
ASSERT_EQ(0, close(fds[0]));
regress/lib/libc/fread/fread.c
107
close(sv[0]);
regress/lib/libc/fread/fread.c
110
close(sv[1]);
regress/lib/libc/fread/fread.c
72
close(fd);
regress/lib/libc/mkstemp/mkstemp_test.c
59
close(fd);
regress/lib/libc/orientation/orientation_test.c
130
if (write(fd, "0123456789\n\n", 12) != 12 || close(fd))
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
55
close(fd);
regress/lib/libc/stdio_threading/fgetln/fgetln_test.c
67
close(fd);
regress/lib/libc/stdio_threading/fgets/fgets_test.c
54
close(fd);
regress/lib/libc/stdio_threading/fgets/fgets_test.c
66
close(fd);
regress/lib/libc/stdio_threading/fputs/fputs_test.c
52
close(fd);
regress/lib/libc/stdio_threading/fputs/fputs_test.c
64
close(fd);
regress/lib/libc/stdio_threading/fread/fread_test.c
56
close(fd);
regress/lib/libc/stdio_threading/fread/fread_test.c
68
close(fd);
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
52
close(fd);
regress/lib/libc/stdio_threading/fwrite/fwrite_test.c
64
close(fd);
regress/lib/libc/sys/t_access.c
77
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_bind.c
72
close(sock);
regress/lib/libc/sys/t_chroot.c
107
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_chroot.c
203
if (close(fd) != 0)
regress/lib/libc/sys/t_chroot.c
211
if (close(fd) != 0)
regress/lib/libc/sys/t_chroot.c
230
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_chroot.c
254
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_chroot.c
88
if (close(fd) != 0)
regress/lib/libc/sys/t_connect.c
125
close(sock);
regress/lib/libc/sys/t_connect.c
96
close(sd);
regress/lib/libc/sys/t_connect.c
97
close(slist);
regress/lib/libc/sys/t_dup.c
127
(void)close(fd);
regress/lib/libc/sys/t_dup.c
128
(void)close(fd1);
regress/lib/libc/sys/t_dup.c
130
ATF_REQUIRE(close(fd2) != 0);
regress/lib/libc/sys/t_dup.c
160
(void)close(fd);
regress/lib/libc/sys/t_dup.c
234
(void)close(fd);
regress/lib/libc/sys/t_dup.c
97
(void)close(fd);
regress/lib/libc/sys/t_dup.c
98
(void)close(fd1);
regress/lib/libc/sys/t_dup.c
99
(void)close(fd2);
regress/lib/libc/sys/t_fsync.c
114
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_fsync.c
84
ATF_REQUIRE(close(fd[0]) == 0);
regress/lib/libc/sys/t_fsync.c
85
ATF_REQUIRE(close(fd[1]) == 0);
regress/lib/libc/sys/t_getrusage.c
155
close(fd);
regress/lib/libc/sys/t_getrusage.c
193
close(s);
regress/lib/libc/sys/t_getsockname.c
75
ATF_REQUIRE(close(sd) != -1);
regress/lib/libc/sys/t_kevent.c
106
close(s[0]);
regress/lib/libc/sys/t_kevent.c
121
close(s[1]);
regress/lib/libc/sys/t_kevent.c
145
close(kq);
regress/lib/libc/sys/t_kevent.c
184
(void)close(fd);
regress/lib/libc/sys/t_kevent.c
185
(void)close(kq);
regress/lib/libc/sys/t_kevent.c
215
(void)close(kq);
regress/lib/libc/sys/t_link.c
144
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_link.c
210
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_link.c
92
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_listen.c
129
close(sd);
regress/lib/libc/sys/t_listen.c
76
(void)close(fdc);
regress/lib/libc/sys/t_listen.c
89
(void)close(fda);
regress/lib/libc/sys/t_listen.c
90
(void)close(fdb);
regress/lib/libc/sys/t_mkdir.c
65
(void)close(fd);
regress/lib/libc/sys/t_mkfifo.c
107
(void)close(fd);
regress/lib/libc/sys/t_mkfifo.c
199
(void)close(fd);
regress/lib/libc/sys/t_mknod.c
95
(void)close(fd);
regress/lib/libc/sys/t_mmap.c
150
ATF_REQUIRE(close(fds[0]) == 0);
regress/lib/libc/sys/t_mmap.c
151
ATF_REQUIRE(close(fds[1]) == 0);
regress/lib/libc/sys/t_mmap.c
213
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_mmap.c
327
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_mmap.c
395
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_mmap.c
463
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_mmap.c
516
(void)close(fd);
regress/lib/libc/sys/t_mmap.c
527
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_msync.c
122
(void)close(fd);
regress/lib/libc/sys/t_pipe.c
130
RL(close(pp[0]));
regress/lib/libc/sys/t_pipe.c
147
RL(close(pp[1]));
regress/lib/libc/sys/t_pipe.c
98
RL(close(pp[1]));
regress/lib/libc/sys/t_pipe2.c
92
ATF_REQUIRE(close(fd[0]) != -1);
regress/lib/libc/sys/t_pipe2.c
93
ATF_REQUIRE(close(fd[1]) != -1);
regress/lib/libc/sys/t_poll.c
113
(void)close(pf[1]);
regress/lib/libc/sys/t_poll.c
123
(void)close(pf[1]);
regress/lib/libc/sys/t_poll.c
133
(void)close(pf[1]);
regress/lib/libc/sys/t_poll.c
214
ATF_REQUIRE_EQ(close(fds[0]), 0);
regress/lib/libc/sys/t_poll.c
215
ATF_REQUIRE_EQ(close(fds[1]), 0);
regress/lib/libc/sys/t_pollts.c
118
ATF_REQUIRE_EQ(close(fds[0]), 0);
regress/lib/libc/sys/t_pollts.c
119
ATF_REQUIRE_EQ(close(fds[1]), 0);
regress/lib/libc/sys/t_pollts.c
192
ATF_REQUIRE_EQ(close(fd), 0);
regress/lib/libc/sys/t_ptrace.c
163
FORKEE_ASSERT(close(fds_toparent[0]) == 0);
regress/lib/libc/sys/t_ptrace.c
164
FORKEE_ASSERT(close(fds_fromparent[1]) == 0);
regress/lib/libc/sys/t_ptrace.c
183
ATF_REQUIRE(close(fds_toparent[1]) == 0);
regress/lib/libc/sys/t_ptrace.c
184
ATF_REQUIRE(close(fds_fromparent[0]) == 0);
regress/lib/libc/sys/t_ptrace.c
195
ATF_REQUIRE(close(fds_fromparent[1]) == 0);
regress/lib/libc/sys/t_ptrace.c
198
ATF_REQUIRE(close(fds_toparent[0]) == 0);
regress/lib/libc/sys/t_revoke.c
164
if (close(fd) != 0)
regress/lib/libc/sys/t_revoke.c
175
(void)close(fd);
regress/lib/libc/sys/t_revoke.c
85
(void)close(buf[i]);
regress/lib/libc/sys/t_sendrecv.c
109
close(sd);
regress/lib/libc/sys/t_sendrecv.c
148
close(sd[0]);
regress/lib/libc/sys/t_sendrecv.c
78
close(sd);
regress/lib/libc/sys/t_setrlimit.c
222
(void)close(fd);
regress/lib/libc/sys/t_setrlimit.c
328
(void)close(i);
regress/lib/libc/sys/t_setrlimit.c
376
(void)close(i);
regress/lib/libc/sys/t_socketpair.c
93
ATF_REQUIRE(close(fd[0]) != -1);
regress/lib/libc/sys/t_socketpair.c
94
ATF_REQUIRE(close(fd[1]) != -1);
regress/lib/libc/sys/t_stat.c
225
ATF_REQUIRE(close(fd[i]) == 0);
regress/lib/libc/sys/t_stat.c
270
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_stat.c
313
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_stat.c
363
(void)close(fd);
regress/lib/libc/sys/t_stat.c
397
(void)close(fd);
regress/lib/libc/sys/t_stat.c
78
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_truncate.c
105
(void)close(fd);
regress/lib/libc/sys/t_truncate.c
136
(void)close(fd);
regress/lib/libc/sys/t_truncate.c
76
(void)close(fd);
regress/lib/libc/sys/t_umask.c
133
(void)close(fd);
regress/lib/libc/sys/t_unlink.c
63
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_write.c
117
ATF_REQUIRE(close(fds[0]) == 0);
regress/lib/libc/sys/t_write.c
125
ATF_REQUIRE(close(fds[1]) == 0);
regress/lib/libc/sys/t_write.c
152
ATF_REQUIRE(close(fd) == 0);
regress/lib/libc/sys/t_write.c
185
(void)close(fd);
regress/lib/libc/sys/t_write.c
241
close(fd[0]);
regress/lib/libc/sys/t_write.c
242
close(fd[1]);
regress/lib/libc/sys/t_write.c
267
close(fd);
regress/lib/libc/sys/t_write.c
93
(void)close(fd);
regress/lib/libc/telldir/utils.c
28
close(fd);
regress/lib/libcrypto/ocsp/ocsp_test.c
57
close(sd);
regress/lib/libevent/event_regress.c
299
close(pair[0]);
regress/lib/libevent/event_regress.c
300
close(pair[1]);
regress/lib/libevent/event_regress.c
350
close(read_evs[j].ev_fd);
regress/lib/libevent/event_regress.c
351
close(write_evs[j].ev_fd);
regress/lib/libevent/event_regress.c
697
if (close(pipe1) != -1 || errno!=EBADF) {
regress/lib/libpthread/blocked_close/blocked_close.c
87
CHECKr(close(fd));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
119
CHECKe(close(fd));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
130
close(expected_fd);
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
136
ASSERT(close(fd) == -1);
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
141
CHECKe(close(free_fd));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
56
CHECKe(close(fd));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
61
CHECKe(close(fd));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
77
CHECKe(close(fd));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
78
CHECKe(close(expected_fd));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
83
CHECKe(close(fd));
regress/lib/libpthread/blocked_shutdown/blocked_shutdown.c
92
CHECKr(close(fd));
regress/lib/libpthread/cancel/cancel.c
46
CHECKe(close(*(int *)arg));
regress/lib/libpthread/close/close.c
156
CHECKe(close(fd));
regress/lib/libpthread/close/close.c
91
CHECKe(close(sock));
regress/lib/libpthread/close/close.c
93
CHECKe(close(client));
regress/lib/libpthread/close_race/close_race.c
71
CHECKr(close(fd));
regress/lib/libpthread/dlopen/dlopen.c
308
close(fds[0]);
regress/lib/libpthread/dlopen/dlopen.c
309
close(fds[1]);
regress/lib/libpthread/dlopen/dlopen.c
313
close(fds[1]);
regress/lib/libpthread/dlopen/dlopen.c
315
close(fds[0]);
regress/lib/libpthread/dlopen/dlopen.c
330
close(fcntl_fd);
regress/lib/libpthread/dlopen/dlopen.c
361
close(fds[0]);
regress/lib/libpthread/dlopen/dlopen.c
362
close(fds[1]);
regress/lib/libpthread/dlopen/dlopen.c
366
close(fds[1]);
regress/lib/libpthread/dlopen/dlopen.c
368
close(fds[0]);
regress/lib/libpthread/dlopen/dlopen.c
383
close(flock_fd);
regress/lib/libpthread/dlopen/dlopen.c
440
close(connect_fd);
regress/lib/libpthread/dlopen/dlopen.c
471
close(accept_fd);
regress/lib/libpthread/dup2_race/dup2_race.c
78
CHECKe(close(newfd));
regress/lib/libpthread/errno/errno.c
145
r = close(11);
regress/lib/libpthread/poll/poll.c
101
close(null);
regress/lib/libpthread/poll/poll.c
88
close(zero);
regress/lib/libpthread/setsockopt/2/setsockopt2.c
97
CHECKe(close(s));
regress/lib/libpthread/setsockopt/2/setsockopt2.c
98
CHECKe(close(s2));
regress/lib/libpthread/setsockopt/2/setsockopt2.c
99
CHECKe(close(s3));
regress/lib/libpthread/socket/1/socket1.c
149
CHECKe(close(fd));
regress/lib/libpthread/socket/1/socket1.c
164
CHECKe(close(fd));
regress/lib/libpthread/socket/1/socket1.c
79
CHECKe(close(fd));
regress/lib/libpthread/socket/1/socket1.c
98
CHECKe(close(fd));
regress/lib/libpthread/socket/2/socket2.c
143
CHECKe(close(fd));
regress/lib/libpthread/socket/2/socket2.c
160
CHECKe(close(fd));
regress/lib/libpthread/socket/2a/socket2a.c
77
CHECKe(close(fd));
regress/lib/libpthread/socket/2a/socket2a.c
92
CHECKe(close(fd));
regress/lib/libpthread/socket/3/socket3.c
100
CHECKe(close(STDIN_FILENO));
regress/lib/libpthread/socket/3/socket3.c
107
CHECKe(close(listen_fd));
regress/lib/libpthread/socket/3/socket3.c
108
CHECKe(close(accept_fd));
regress/lib/libpthread/socket/3/socket3.c
37
CHECKe(close(sock));
regress/lib/libpthread/stdfiles/stdfiles.c
83
assert(close(STDERR_FILENO) != -1);
regress/lib/libssl/dtls/dtlstest.c
1047
close(client_sock);
regress/lib/libssl/dtls/dtlstest.c
1049
close(server_sock);
regress/lib/libssl/interop/botan/client.cpp
222
if (close(s) == -1)
regress/lib/libssl/interop/botan/client.cpp
97
m_channel->close();
regress/lib/libtls/keypair/keypairtest.c
57
close(fd);
regress/lib/libtls/signer/signertest.c
338
close(sv[0]);
regress/lib/libtls/signer/signertest.c
339
close(sv[1]);
regress/lib/libtls/signer/signertest.c
79
close(fd);
regress/lib/libtls/tls/tlstest.c
259
close(cfds[0]);
regress/lib/libtls/tls/tlstest.c
260
close(cfds[1]);
regress/lib/libtls/tls/tlstest.c
261
close(sfds[0]);
regress/lib/libtls/tls/tlstest.c
262
close(sfds[1]);
regress/lib/libtls/tls/tlstest.c
288
close(sv[0]);
regress/lib/libtls/tls/tlstest.c
289
close(sv[1]);
regress/sbin/ifconfig/ifaddr.c
489
close(sock);
regress/sbin/isakmpd/x509/x509test.c
87
close (fd);
regress/sys/arch/amd64/vmm/vcpu.c
397
close(fd);
regress/sys/dev/fdesc/confuse.c
24
close(fd);
regress/sys/dev/kcov/kcov.c
135
close(ctx.c_fd);
regress/sys/dev/kcov/kcov.c
170
if (close(ctx.c_fd) == -1)
regress/sys/dev/kcov/kcov.c
285
close(fd);
regress/sys/dev/kcov/kcov.c
306
close(ctx->c_fd);
regress/sys/dev/kcov/kcov.c
327
if (close(ctx->c_fd) == -1) {
regress/sys/dev/kcov/kcov.c
403
close(pair[0]);
regress/sys/dev/kcov/kcov.c
404
close(pair[1]);
regress/sys/dev/kcov/kcov.c
469
close(fd);
regress/sys/dev/kcov/kcov.c
533
if (close(ctx->c_fd) == -1)
regress/sys/dev/video/videotest.c
140
close(fd);
regress/sys/dev/video/videotest.c
414
close(fd2);
regress/sys/dev/video/videotest.c
417
close(fd1);
regress/sys/dev/video/videotest.c
426
close(fd1);
regress/sys/dev/wscons/sigio.c
123
close(cfd[1]);
regress/sys/dev/wscons/sigio.c
124
close(pfd[0]);
regress/sys/dev/wscons/sigio.c
133
close(cfd[0]);
regress/sys/dev/wscons/sigio.c
134
close(pfd[1]);
regress/sys/dev/wscons/sigio.c
137
close(cfd[0]);
regress/sys/dev/wscons/sigio.c
138
close(pfd[1]);
regress/sys/ffs/fstest.c
348
close(rval);
regress/sys/fifofs/fifotest.c
183
close(fd);
regress/sys/fifofs/fifotest.c
205
close(fd);
regress/sys/fifofs/fifotest.c
277
close(fd);
regress/sys/kern/accept/accept.c
65
close(lastfd); /* Close one fd so that accept can succeed */
regress/sys/kern/access/access.c
99
close(fd);
regress/sys/kern/cmsgsize/cmsgsize.c
64
close(so);
regress/sys/kern/cmsgsize/cmsgsize.c
76
close(so);
regress/sys/kern/cmsgsize/cmsgsize.c
86
close(so);
regress/sys/kern/cmsgsize/cmsgsize.c
96
close(so);
regress/sys/kern/fchdir/fchdir.c
29
close(fd);
regress/sys/kern/fchdir/fchdir.c
37
close(fds[0]);
regress/sys/kern/fchdir/fchdir.c
38
close(fds[1]);
regress/sys/kern/fchdir/fchdir.c
46
close(fd);
regress/sys/kern/fchown/fchown.c
37
close(fd);
regress/sys/kern/flock/flock.c
1030
close(pfd[0]);
regress/sys/kern/flock/flock.c
1031
close(pfd[1]);
regress/sys/kern/flock/flock.c
1316
close(pfd[0]);
regress/sys/kern/flock/flock.c
1317
close(pfd[1]);
regress/sys/kern/flock/flock.c
1391
close(nfd);
regress/sys/kern/flock/flock.c
1415
close(nfd);
regress/sys/kern/flock/flock.c
1447
close(nfd);
regress/sys/kern/flock/flock.c
1509
close(nfd);
regress/sys/kern/flock/flock.c
1533
close(nfd);
regress/sys/kern/flock/flock.c
1557
close(nfd);
regress/sys/kern/flock/flock.c
158
close(pfd[0]);
regress/sys/kern/flock/flock.c
159
close(pfd[1]);
regress/sys/kern/flock/flock.c
1732
close(master);
regress/sys/kern/flock/flock.c
1758
close(slave);
regress/sys/kern/flock/flock.c
232
close(pfd[0]);
regress/sys/kern/flock/flock.c
233
close(pfd[1]);
regress/sys/kern/flock/flock.c
305
close(pfd[0]);
regress/sys/kern/flock/flock.c
306
close(pfd[1]);
regress/sys/kern/flock/flock.c
572
close(pfd[0]);
regress/sys/kern/flock/flock.c
573
close(pfd[1]);
regress/sys/kern/flock/flock.c
645
close(pfd[0]);
regress/sys/kern/flock/flock.c
646
close(pfd[1]);
regress/sys/kern/flock/flock.c
721
close(pfd[0]);
regress/sys/kern/flock/flock.c
722
close(pfd[1]);
regress/sys/kern/flock/flock.c
790
close(pfd[0]);
regress/sys/kern/flock/flock.c
791
close(pfd[1]);
regress/sys/kern/flock/flock.c
942
close(pfd[0]);
regress/sys/kern/flock/flock.c
943
close(pfd[1]);
regress/sys/kern/fork-exit/fork-exit.c
179
if (close(fd) == -1)
regress/sys/kern/fork-exit/fork-exit.c
321
if (close(pipefds[0]) == -1)
regress/sys/kern/fork-exit/fork-exit.c
328
if (close(pipefds[1]) == -1)
regress/sys/kern/fork-exit/fork-exit.c
358
if (close(rfds[i]) == -1)
regress/sys/kern/ftruncate/ftruncate.c
39
close(fd);
regress/sys/kern/futex/futex.c
88
close(fd);
regress/sys/kern/kqueue/kqueue-fdpass.c
42
close(pfd[0]);
regress/sys/kern/kqueue/kqueue-fdpass.c
68
close(pfd[1]);
regress/sys/kern/kqueue/kqueue-fdpass.c
72
close(pfd[1]);
regress/sys/kern/kqueue/kqueue-fdpass.c
74
close(pfd[0]);
regress/sys/kern/kqueue/kqueue-flock.c
48
close(fd);
regress/sys/kern/kqueue/kqueue-flock.c
87
close(kq);
regress/sys/kern/kqueue/kqueue-flock.c
91
close(fd);
regress/sys/kern/kqueue/kqueue-fork.c
33
if (close(kq) < 0)
regress/sys/kern/kqueue/kqueue-fork.c
44
close(kq);
regress/sys/kern/kqueue/kqueue-pipe.c
85
close(fd[0]);
regress/sys/kern/kqueue/kqueue-pipe.c
86
close(fd[1]);
regress/sys/kern/kqueue/kqueue-process.c
142
close(kq);
regress/sys/kern/kqueue/kqueue-pty.c
137
close(slave);
regress/sys/kern/kqueue/kqueue-random.c
50
close(kq);
regress/sys/kern/kqueue/kqueue-random.c
51
close(fd);
regress/sys/kern/kqueue/kqueue-regress.c
423
close(kq);
regress/sys/kern/kqueue/kqueue-signal.c
94
close(kq);
regress/sys/kern/kqueue/kqueue-user.c
169
close(kq);
regress/sys/kern/mmap/mmaptest.c
66
if (close(fd) == -1)
regress/sys/kern/mmap/mmaptest.c
78
if (close(fd) == -1)
regress/sys/kern/mmap2/mmaptest.c
67
close(fd);
regress/sys/kern/mmap3/mmaptest.c
55
if (close(fd))
regress/sys/kern/mmap3/mmaptest.c
71
if (close(fd))
regress/sys/kern/mmap3/mmaptest.c
80
if (close(fd))
regress/sys/kern/open/open.c
35
close(fd);
regress/sys/kern/pipe/test-close.c
71
close(pip[0]);
regress/sys/kern/pipe/test-close.c
73
close(pip[1]);
regress/sys/kern/pipe/test-close.c
92
close(ctx->c_fd);
regress/sys/kern/pipe/test-kqueue.c
108
close(ctx.c_pipe[1]);
regress/sys/kern/pipe/test-kqueue.c
208
close(ctx->c_pipe[0]);
regress/sys/kern/pipe/test-kqueue.c
209
close(ctx->c_pipe[1]);
regress/sys/kern/pipe/test-kqueue.c
210
close(ctx->c_kq);
regress/sys/kern/pipe/test-kqueue.c
303
close(fd);
regress/sys/kern/pipe/test-ping-pong.c
100
close(pip[0][0]);
regress/sys/kern/pipe/test-ping-pong.c
123
close(rp);
regress/sys/kern/pipe/test-ping-pong.c
124
close(wp);
regress/sys/kern/pipe/test-ping-pong.c
54
close(pip[0][1]);
regress/sys/kern/pipe/test-ping-pong.c
57
close(pip[1][0]);
regress/sys/kern/pipe/test-ping-pong.c
97
close(pip[1][1]);
regress/sys/kern/pipe/test-run-down.c
108
close(ctx->c_pipe[0]);
regress/sys/kern/pipe/test-run-down.c
111
close(ctx->c_pipe[1]);
regress/sys/kern/pipe/test-run-down.c
170
close(ctx.c_pipe[0]);
regress/sys/kern/pipe/test-select.c
41
close(pip[0]);
regress/sys/kern/pipe/test-thundering-herd.c
137
close(ctx.c_pipe[1]);
regress/sys/kern/pipe/test-thundering-herd.c
139
close(ctx.c_pipe[0]);
regress/sys/kern/pipe/test-thundering-herd.c
169
close(wp);
regress/sys/kern/pipe/test-thundering-herd.c
171
close(rp);
regress/sys/kern/pledge/execpromise/execpromise.c
63
close(s);
regress/sys/kern/pledge/generic/main.c
54
close(fd);
regress/sys/kern/pledge/generic/main.c
83
close(fd);
regress/sys/kern/pledge/generic/main.c
98
close(fd);
regress/sys/kern/pledge/generic/manager.c
211
(void)close(fildes[0]);
regress/sys/kern/pledge/generic/manager.c
212
(void)close(fildes[1]);
regress/sys/kern/pledge/generic/manager.c
220
(void)close(fildes[0]);
regress/sys/kern/pledge/generic/manager.c
259
(void)close(fildes[1]);
regress/sys/kern/pledge/generic/manager.c
265
if (close(fildes[0]) != 0) {
regress/sys/kern/pledge/generic/manager.c
70
(void)close(fd);
regress/sys/kern/pledge/generic/pty.c
45
close(pty->slave);
regress/sys/kern/pledge/generic/pty.c
46
close(pty->master);
regress/sys/kern/pledge/generic/pty.c
60
close(fd);
regress/sys/kern/pledge/generic/test_tty.c
40
close(amaster);
regress/sys/kern/pledge/ioctl/pfioctl1.c
67
close(s);
regress/sys/kern/pledge/ioctl/pfioctl2.c
65
close(s);
regress/sys/kern/pledge/ioctl/unfdpass.c
120
close(pfd[0]);
regress/sys/kern/pledge/ioctl/unfdpass.c
126
close(pfd[1]);
regress/sys/kern/pledge/ioctl/unfdpass.c
151
(void) close(sock);
regress/sys/kern/pledge/sendrecvfd/sendrecvfd.c
243
close(fd);
regress/sys/kern/pledge/sendrecvfd/sendrecvfd.c
244
close(sv[0]);
regress/sys/kern/pledge/sendrecvfd/sendrecvfd.c
250
close(sv[1]);
regress/sys/kern/poll/poll_close.c
105
close(sock[1]);
regress/sys/kern/poll/poll_close.c
107
close(saved_fd);
regress/sys/kern/poll/poll_close.c
116
close(sock[1]);
regress/sys/kern/poll/poll_close.c
120
close(sock[0]);
regress/sys/kern/poll/poll_iocond.c
238
close(parent_fd);
regress/sys/kern/poll/poll_iocond.c
242
close(sock);
regress/sys/kern/poll/poll_iocond.c
273
close(child_fd);
regress/sys/kern/poll/poll_iocond.c
277
close(sock);
regress/sys/kern/poll/poll_iocond.c
477
close(fd);
regress/sys/kern/poll/poll_iocond.c
831
close(fd);
regress/sys/kern/poll/poll_regevent.c
45
close(p2[0]);
regress/sys/kern/poll/pollnval.c
34
close(0);
regress/sys/kern/pread/pread.c
67
close(fd);
regress/sys/kern/preadv/preadv.c
78
close(fd);
regress/sys/kern/ptrace2/ptrace_test.c
192
close(cpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
199
close(cpipe[1]);
regress/sys/kern/ptrace2/ptrace_test.c
210
close(cpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
243
close(cpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
250
close(cpipe[1]);
regress/sys/kern/ptrace2/ptrace_test.c
257
close(dpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
281
close(dpipe[1]);
regress/sys/kern/ptrace2/ptrace_test.c
291
close(cpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
304
close(dpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
337
close(cpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
344
close(cpipe[1]);
regress/sys/kern/ptrace2/ptrace_test.c
361
close(dpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
385
close(dpipe[1]);
regress/sys/kern/ptrace2/ptrace_test.c
405
close(cpipe[0]);
regress/sys/kern/ptrace2/ptrace_test.c
422
close(dpipe[0]);
regress/sys/kern/pwrite/pwrite.c
78
close(fd);
regress/sys/kern/pwritev/pwritev.c
85
close(fd);
regress/sys/kern/recvwait/mcontrol-stream.c
91
if (close(s[0]) == -1)
regress/sys/kern/select/select_close.c
104
close(sock[1]);
regress/sys/kern/select/select_close.c
106
close(saved_fd);
regress/sys/kern/select/select_close.c
115
close(sock[1]);
regress/sys/kern/select/select_close.c
119
close(sock[0]);
regress/sys/kern/select/select_iocond.c
239
close(parent_fd);
regress/sys/kern/select/select_iocond.c
243
close(sock);
regress/sys/kern/select/select_iocond.c
274
close(child_fd);
regress/sys/kern/select/select_iocond.c
278
close(sock);
regress/sys/kern/select/select_iocond.c
472
close(fd);
regress/sys/kern/select/select_iocond.c
805
close(fd);
regress/sys/kern/select/select_regevent.c
46
close(p2[0]);
regress/sys/kern/signal/siginfo-fault/siginfo-fault.c
166
CHECK_EQ(0, close(fd));
regress/sys/kern/signal/sigio/sigio_socket.c
105
close(cli);
regress/sys/kern/signal/sigio/sigio_socket.c
115
close(cli);
regress/sys/kern/signal/sigio/sigio_socket.c
123
close(cli);
regress/sys/kern/signal/sigio/sigio_socket.c
96
close(cli);
regress/sys/kern/signal/sigio/util.c
115
close(fds[0]);
regress/sys/kern/signal/sigio/util.c
119
close(fds[1]);
regress/sys/kern/signal/sigio/util.c
130
close(sfd);
regress/sys/kern/sosplice/perf/relay.c
156
close(ls[nls]);
regress/sys/kern/sosplice/perf/relay.c
258
close(cs);
regress/sys/kern/sosplice/perf/relay.c
360
if (close(cs) == -1)
regress/sys/kern/sosplice/perf/relay.c
363
if (close(as) == -1)
regress/sys/kern/sysvmsg/msgtest.c
95
close(fd);
regress/sys/kern/sysvsem/semtest.c
91
close(fd);
regress/sys/kern/sysvshm/shmtest.c
85
close(fd);
regress/sys/kern/unfdpass/unfdpass.c
110
(void) close(fd);
regress/sys/kern/unfdpass/unfdpass.c
151
close(pfd[0]);
regress/sys/kern/unfdpass/unfdpass.c
157
close(pfd[1]);
regress/sys/kern/unfdpass/unfdpass.c
196
(void) close(sock);
regress/sys/kern/unixsockets/unconacc.c
116
close(s);
regress/sys/kern/unixsockets/unconacc.c
83
close(n);
regress/sys/kern/unixsockets/undgram_conclose.c
78
close(s);
regress/sys/kern/unixsockets/undgram_conclose.c
94
close(s);
regress/sys/kern/unixsockets/undgram_selfconn.c
78
close(s);
regress/sys/kern/unixsockets/unfdpassfail.c
100
close(s[0]);
regress/sys/kern/unixsockets/unfdpassfail.c
101
close(s[1]);
regress/sys/kern/unixsockets/unfdpassfail.c
102
close(fd);
regress/sys/kern/unixsockets/unfdpassfail.c
114
close(kqfd);
regress/sys/kern/unixsockets/unfdpassfail.c
39
close(*(int *)arg);
regress/sys/kern/unixsockets/ungc.c
106
close(sp[0]);
regress/sys/kern/unixsockets/ungc.c
140
close(sl[0]);
regress/sys/kern/unixsockets/ungc.c
141
close(sl[1]);
regress/sys/kern/unixsockets/ungc.c
166
close(ts);
regress/sys/kern/unixsockets/ungc.c
178
close(ts);
regress/sys/kern/unixsockets/ungc.c
181
close(sp[1]);
regress/sys/kern/unixsockets/ungc.c
77
close(sp[0]);
regress/sys/kern/unixsockets/ungc.c
89
close(sp[0]);
regress/sys/kern/unixsockets/unixsock_test.c
30
close(s);
regress/sys/kern/unixsockets/unixsock_test.c
56
close(s);
regress/sys/kern/unixsockets/unixsock_test.c
57
close(s2);
regress/sys/kern/unixsockets/unsopassgc.c
179
close(fd);
regress/sys/kern/unixsockets/unsopassgc.c
242
close(s[0]);
regress/sys/kern/unixsockets/unsopassgc.c
243
close(s[1]);
regress/sys/kern/unp-write-closed/unp-write-closed.c
56
if (close(s[0]) < 0)
regress/sys/kern/unp-write-closed/unp-write-closed.c
58
if (close(s[1]) < 0)
regress/sys/kern/unp-write-closed/unp-write-closed.c
62
if (close(s[1]) < 0)
regress/sys/kern/unp-write-closed/unp-write-closed.c
72
if (close(s[0]) < 0)
regress/sys/kern/unveil-unmount/unveil-unlink.c
40
close(fd);
regress/sys/kern/unveil/access.c
39
UV_SHOULD_SUCCEED((close(fd) == -1), "close");
regress/sys/kern/unveil/socket.c
100
close(fd2);
regress/sys/kern/unveil/socket.c
101
close(c_fd2);
regress/sys/kern/unveil/socket.c
98
close(fd1);
regress/sys/kern/unveil/socket.c
99
close(c_fd1);
regress/sys/kern/unveil/unveil.h
109
close(fd1);
regress/sys/kern/unveil/unveil.h
116
close(fd2);
regress/sys/kern/xonly/xonly.c
227
close(p[0]);
regress/sys/kern/xonly/xonly.c
228
close(p[1]);
regress/sys/net/pf_print/pf_print_test.c
103
close(fds[1]);
regress/sys/net/pf_print/pf_print_test.c
95
close(fds[0]);
regress/sys/net/pf_print/pf_print_test.c
98
close(fds[1]);
regress/sys/net/pflow/gen_traffic.c
244
close(fd);
regress/sys/netinet/bindconnect/bindconnect.c
188
close(fd);
regress/sys/netinet/broadcast_bind/broadcast_bind.c
55
close(s);
regress/sys/netinet/broadcast_bind/broadcast_bind.c
61
close(s);
regress/sys/netinet/in_pcbbind/runtest.c
113
if (close(*fds++) && errno != EBADF)
regress/sys/netinet/ipsec/nonxt-reflect.c
79
close(s);
regress/sys/netinet/ipsec/nonxt-sendrecv.c
84
close(s);
regress/sys/netinet/recvmsg/recvmsg.c
72
close(s);
regress/sys/netinet/tcpthread/tcpthread.c
124
if (close(sock) < 0)
regress/sys/netinet/tcpthread/tcpthread.c
133
if (close(sock) < 0)
regress/sys/netinet/tcpthread/tcpthread.c
214
if (close(sock) < 0)
regress/sys/netinet/tcpthread/tcpthread.c
273
if (close(sock) < 0)
regress/sys/netinet/tcpthread/tcpthread.c
311
if (close(sock) < 0)
regress/sys/netinet/tcpthread/tcpthread.c
339
if (close(sock) < 0)
regress/sys/netinet/tcpthread/tcpthread.c
369
if (close(sock) < 0)
regress/sys/netinet/tcpthread/tcpthread.c
379
if (close(sock) < 0) {
regress/sys/netinet/tcpthread/tcpthread.c
412
if (close(sock) < 0) {
regress/sys/netinet/tcpthread/tcpthread.c
420
if (close(sock) < 0) {
regress/sys/netinet/tcpthread/tcpthread.c
462
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
118
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
150
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
210
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
265
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
324
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
362
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
390
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
419
if (close(sock) < 0)
regress/sys/netinet/udpthread/udpthread.c
429
if (close(sock) < 0) {
regress/sys/netinet/udpthread/udpthread.c
462
if (close(sock) < 0) {
regress/sys/netinet/udpthread/udpthread.c
470
if (close(sock) < 0) {
regress/sys/netinet/udpthread/udpthread.c
512
if (close(sock) < 0)
regress/sys/netinet6/pktinfo_addr/runtest.c
128
close(first_sock);
regress/sys/netinet6/pktinfo_addr/runtest.c
225
close(s);
regress/sys/nfs/mmap-sysctl-copyin.c
50
if (close(fd) == -1)
regress/sys/nfs/mmap-sysctl-copyin.c
65
if (close(fd) == -1)
regress/sys/nfs/mmap-sysctl-copyout.c
50
if (close(fd) == -1)
regress/sys/nfs/mmap-sysctl-copyout.c
66
if (close(fd) == -1)
regress/sys/nfs/mmap-sysctl-copyout.c
79
if (close(fd) == -1)
regress/sys/uvm/minherit_zero/minherit_zero.c
127
CHECK_EQ(0, close(fd));
regress/sys/uvm/mmap_4g/mmap_4g.c
41
close(fd);
regress/sys/uvm/mmap_4g/mmap_4g.c
54
close(fd);
regress/sys/uvm/mmap_4g/mmap_4g.c
75
close(fd);
regress/sys/uvm/vnode/test-deadlock.c
113
close(fd);
regress/sys/uvm/vnode/test-deadlock.c
58
close(killpip[1]);
regress/sys/uvm/vnode/test-deadlock.c
62
close(killpip[0]);
regress/sys/uvm/vnode/test-deadlock.c
74
close(killpip[1]);
regress/usr.bin/mandoc/db/makeinodes/makeinodes.c
56
if (close(fd) == -1)
regress/usr.bin/mandoc/db/makeinodes/makeinodes.c
62
if (close(fd) == -1)
regress/usr.bin/mandoc/db/makeinodes/makeinodes.c
69
if (close(fd) == -1)
regress/usr.bin/nc/client-tcp.c
115
close(s);
regress/usr.bin/nc/client-tcp.c
84
if (close(s) == -1)
regress/usr.bin/nc/server-tcp.c
129
close(s);
regress/usr.bin/nc/server-tcp.c
98
if (close(s) == -1)
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
93
close(fd);
regress/usr.sbin/rpki-client/test-http.c
144
close(fd[1]);
regress/usr.sbin/rpki-client/test-http.c
153
close(fd[0]);
regress/usr.sbin/rpki-client/test-rrdp.c
178
close(s->infd);
regress/usr.sbin/rpki-client/test-rrdp.c
242
close(s->infd);
regress/usr.sbin/snmpd/agentx.c
1026
close(s);
regress/usr.sbin/snmpd/agentx.c
1074
close(s1);
regress/usr.sbin/snmpd/agentx.c
1075
close(s2);
regress/usr.sbin/snmpd/agentx.c
1103
close(s);
regress/usr.sbin/snmpd/agentx.c
1133
close(s);
regress/usr.sbin/snmpd/agentx.c
1160
close(s);
regress/usr.sbin/snmpd/agentx.c
1189
close(s);
regress/usr.sbin/snmpd/agentx.c
1218
close(s);
regress/usr.sbin/snmpd/agentx.c
1247
close(s);
regress/usr.sbin/snmpd/agentx.c
1276
close(s);
regress/usr.sbin/snmpd/agentx.c
1304
close(s);
regress/usr.sbin/snmpd/agentx.c
1336
close(s);
regress/usr.sbin/snmpd/agentx.c
1368
close(s);
regress/usr.sbin/snmpd/agentx.c
1401
close(s);
regress/usr.sbin/snmpd/agentx.c
1432
close(s);
regress/usr.sbin/snmpd/agentx.c
146
close(s);
regress/usr.sbin/snmpd/agentx.c
1464
close(s);
regress/usr.sbin/snmpd/agentx.c
1496
close(s);
regress/usr.sbin/snmpd/agentx.c
1528
close(s);
regress/usr.sbin/snmpd/agentx.c
1571
close(s);
regress/usr.sbin/snmpd/agentx.c
1619
close(s1);
regress/usr.sbin/snmpd/agentx.c
1620
close(s2);
regress/usr.sbin/snmpd/agentx.c
1664
close(s);
regress/usr.sbin/snmpd/agentx.c
1695
close(s);
regress/usr.sbin/snmpd/agentx.c
1726
close(s);
regress/usr.sbin/snmpd/agentx.c
174
close(s);
regress/usr.sbin/snmpd/agentx.c
1757
close(s);
regress/usr.sbin/snmpd/agentx.c
1802
close(s);
regress/usr.sbin/snmpd/agentx.c
1847
close(s);
regress/usr.sbin/snmpd/agentx.c
1893
close(s);
regress/usr.sbin/snmpd/agentx.c
1936
close(s);
regress/usr.sbin/snmpd/agentx.c
1979
close(s);
regress/usr.sbin/snmpd/agentx.c
2009
close(s);
regress/usr.sbin/snmpd/agentx.c
203
close(s);
regress/usr.sbin/snmpd/agentx.c
2037
close(s);
regress/usr.sbin/snmpd/agentx.c
2069
close(s);
regress/usr.sbin/snmpd/agentx.c
2101
close(s);
regress/usr.sbin/snmpd/agentx.c
2135
close(s);
regress/usr.sbin/snmpd/agentx.c
2173
close(s);
regress/usr.sbin/snmpd/agentx.c
2209
close(s);
regress/usr.sbin/snmpd/agentx.c
2243
close(s);
regress/usr.sbin/snmpd/agentx.c
2279
close(s);
regress/usr.sbin/snmpd/agentx.c
2316
close(s);
regress/usr.sbin/snmpd/agentx.c
2353
close(s);
regress/usr.sbin/snmpd/agentx.c
2394
close(s);
regress/usr.sbin/snmpd/agentx.c
252
close(s1);
regress/usr.sbin/snmpd/agentx.c
253
close(s2);
regress/usr.sbin/snmpd/agentx.c
280
close(s);
regress/usr.sbin/snmpd/agentx.c
309
close(s);
regress/usr.sbin/snmpd/agentx.c
337
close(s);
regress/usr.sbin/snmpd/agentx.c
366
close(s);
regress/usr.sbin/snmpd/agentx.c
394
close(s);
regress/usr.sbin/snmpd/agentx.c
422
close(s);
regress/usr.sbin/snmpd/agentx.c
450
close(s);
regress/usr.sbin/snmpd/agentx.c
472
close(s);
regress/usr.sbin/snmpd/agentx.c
498
close(s);
regress/usr.sbin/snmpd/agentx.c
524
close(s);
regress/usr.sbin/snmpd/agentx.c
551
close(s);
regress/usr.sbin/snmpd/agentx.c
576
close(s);
regress/usr.sbin/snmpd/agentx.c
602
close(s);
regress/usr.sbin/snmpd/agentx.c
628
close(s);
regress/usr.sbin/snmpd/agentx.c
654
close(s);
regress/usr.sbin/snmpd/agentx.c
680
close(s);
regress/usr.sbin/snmpd/agentx.c
706
close(s);
regress/usr.sbin/snmpd/agentx.c
736
close(ax_s);
regress/usr.sbin/snmpd/agentx.c
770
close(s);
regress/usr.sbin/snmpd/agentx.c
800
close(s);
regress/usr.sbin/snmpd/agentx.c
830
close(s);
regress/usr.sbin/snmpd/agentx.c
860
close(s);
regress/usr.sbin/snmpd/agentx.c
890
close(s);
regress/usr.sbin/snmpd/agentx.c
920
close(s);
regress/usr.sbin/snmpd/agentx.c
950
close(s);
regress/usr.sbin/snmpd/agentx.c
979
close(s);
regress/usr.sbin/snmpd/backend.c
1301
close(ax_s);
regress/usr.sbin/snmpd/backend.c
1344
close(ax_s1);
regress/usr.sbin/snmpd/backend.c
1389
close(ax_s);
regress/usr.sbin/snmpd/transport.c
139
close(snmp_s);
regress/usr.sbin/snmpd/transport.c
79
close(snmp_s);
regress/usr.sbin/syslogd/logflush.c
60
close(pair[1]);
regress/usr.sbin/syslogd/ttylog.c
159
close(fd);
sbin/bioctl/bioctl.c
1023
close(fd);
sbin/bioctl/bioctl.c
1026
close(fd);
sbin/bioctl/bioctl.c
826
close(bioh);
sbin/bioctl/bioctl.c
921
close(fd);
sbin/bioctl/bioctl.c
924
close(fd);
sbin/clri/clri.c
158
(void)close(fd);
sbin/dhcp6leased/control.c
155
close(connfd);
sbin/dhcp6leased/control.c
161
close(connfd);
sbin/dhcp6leased/control.c
214
close(c->iev.ibuf.fd);
sbin/dhcp6leased/control.c
80
close(fd);
sbin/dhcp6leased/control.c
87
close(fd);
sbin/dhcp6leased/control.c
95
close(fd);
sbin/dhcp6leased/dhcp6leased.c
1069
if (close(fd) == -1)
sbin/dhcp6leased/dhcp6leased.c
1079
close(fd);
sbin/dhcp6leased/dhcp6leased.c
1220
if (close(fd) == -1) {
sbin/dhcp6leased/dhcp6leased.c
1231
close(fd);
sbin/dhcp6leased/dhcp6leased.c
1247
close(fd);
sbin/dhcp6leased/dhcp6leased.c
347
close(iev_frontend->ibuf.fd);
sbin/dhcp6leased/dhcp6leased.c
349
close(iev_engine->ibuf.fd);
sbin/dhcp6leased/dhcp6leased.c
386
close(fd);
sbin/dhcp6leased/dhcp6leased.c
983
close(udpsock);
sbin/dhcp6leased/dhcp6leased.c
988
close(udpsock);
sbin/dhcp6leased/engine.c
245
close(iev_frontend->ibuf.fd);
sbin/dhcp6leased/engine.c
247
close(iev_main->ibuf.fd);
sbin/dhcp6leased/frontend.c
1001
close(udpsock);
sbin/dhcp6leased/frontend.c
204
close(iev_engine->ibuf.fd);
sbin/dhcp6leased/frontend.c
207
close(iev_main->ibuf.fd);
sbin/dhcp6leased/frontend.c
976
close(EVENT_FD(&iface->udpev));
sbin/dhcp6leased/frontend.c
993
close(udpsock);
sbin/dhcpleased/bpf.c
179
close(bpffd);
sbin/dhcpleased/control.c
155
close(connfd);
sbin/dhcpleased/control.c
161
close(connfd);
sbin/dhcpleased/control.c
214
close(c->iev.ibuf.fd);
sbin/dhcpleased/control.c
80
close(fd);
sbin/dhcpleased/control.c
87
close(fd);
sbin/dhcpleased/control.c
95
close(fd);
sbin/dhcpleased/dhcpleased.c
1298
close(fd);
sbin/dhcpleased/dhcpleased.c
360
close(iev_frontend->ibuf.fd);
sbin/dhcpleased/dhcpleased.c
362
close(iev_engine->ibuf.fd);
sbin/dhcpleased/dhcpleased.c
401
close(fd);
sbin/dhcpleased/dhcpleased.c
886
close(udpsock);
sbin/dhcpleased/dhcpleased.c
892
close(udpsock);
sbin/dhcpleased/dhcpleased.c
950
if (close(fd) == -1)
sbin/dhcpleased/dhcpleased.c
960
close(fd);
sbin/dhcpleased/engine.c
256
close(iev_frontend->ibuf.fd);
sbin/dhcpleased/engine.c
258
close(iev_main->ibuf.fd);
sbin/dhcpleased/frontend.c
1182
close(EVENT_FD(&iface->bpfev.ev));
sbin/dhcpleased/frontend.c
1185
close(iface->udpsock);
sbin/dhcpleased/frontend.c
1201
close(bpfsock);
sbin/dhcpleased/frontend.c
1207
close(bpfsock);
sbin/dhcpleased/frontend.c
201
close(iev_engine->ibuf.fd);
sbin/dhcpleased/frontend.c
204
close(iev_main->ibuf.fd);
sbin/dhcpleased/frontend.c
318
close(udpsock);
sbin/dhcpleased/frontend.c
333
close(iface->udpsock);
sbin/dhcpleased/frontend.c
645
close(iface->udpsock);
sbin/disklabel/disklabel.c
613
close(fd);
sbin/dump/main.c
247
(void)close(diskfd);
sbin/dump/main.c
687
close(fd);
sbin/dump/main.c
691
close(fd);
sbin/dump/tape.c
387
(void) close(slaves[f].fd);
sbin/dump/tape.c
418
(void) close(tapefd);
sbin/dump/tape.c
422
(void) close(tapefd);
sbin/dump/tape.c
425
(void) close(f);
sbin/dump/tape.c
766
(void) close(slaves[j].fd);
sbin/dump/tape.c
809
(void) close(diskfd);
sbin/dumpfs/dumpfs.c
118
close(fd);
sbin/dumpfs/dumpfs.c
149
close(fd);
sbin/fdisk/fdisk.c
235
close(disk.dk_fd);
sbin/fdisk/fdisk.c
313
close(fd);
sbin/fsck_ext2fs/setup.c
98
close(fsreadfd);
sbin/fsck_ext2fs/utilities.c
237
(void)close(fsreadfd);
sbin/fsck_ext2fs/utilities.c
277
(void)close(fsreadfd);
sbin/fsck_ext2fs/utilities.c
278
(void)close(fswritefd);
sbin/fsck_ffs/main.c
227
(void)close(fsreadfd);
sbin/fsck_ffs/main.c
231
(void)close(fswritefd);
sbin/fsck_ffs/setup.c
117
close(fsreadfd);
sbin/fsck_ffs/setup.c
123
close(fsreadfd);
sbin/fsck_ffs/utilities.c
305
(void)close(fsreadfd);
sbin/fsck_ffs/utilities.c
369
(void)close(fsreadfd);
sbin/fsck_ffs/utilities.c
371
(void)close(fswritefd);
sbin/fsck_msdos/check.c
101
(void)close(dosfs);
sbin/fsck_msdos/check.c
112
(void)close(dosfs);
sbin/fsck_msdos/check.c
120
(void)close(dosfs);
sbin/fsck_msdos/check.c
131
(void)close(dosfs);
sbin/fsck_msdos/check.c
139
(void)close(dosfs);
sbin/fsck_msdos/check.c
149
close(dosfs);
sbin/fsck_msdos/check.c
158
(void)close(dosfs);
sbin/fsck_msdos/check.c
166
(void)close(dosfs);
sbin/fsck_msdos/check.c
177
(void)close(dosfs);
sbin/fsck_msdos/check.c
186
(void)close(dosfs);
sbin/fsck_msdos/check.c
88
(void)close(dosfs);
sbin/fsirand/fsirand.c
322
(void)close(devfd);
sbin/growfs/growfs.c
1946
close(fsi);
sbin/growfs/growfs.c
1948
close(fso);
sbin/ifconfig/ifconfig.c
1029
close(sock);
sbin/iked/config.c
1215
close(sock);
sbin/iked/config.c
1350
close(sock);
sbin/iked/config.c
610
close(rad->rs_sock);
sbin/iked/config.c
619
close(rad->rs_sock);
sbin/iked/config.c
631
close(dae->rd_sock);
sbin/iked/control.c
104
close(fd);
sbin/iked/control.c
118
close(fd);
sbin/iked/control.c
126
close(fd);
sbin/iked/control.c
190
close(connfd);
sbin/iked/control.c
196
close(connfd);
sbin/iked/control.c
243
close(c->iev.ibuf.fd);
sbin/iked/control.c
97
close(fd);
sbin/iked/ocsp.c
185
close(fd);
sbin/iked/ocsp.c
219
close(fd);
sbin/iked/ocsp.c
250
close(fd);
sbin/iked/ocsp.c
345
close(ocsp->ocsp_sock->sock_fd);
sbin/iked/ocsp.c
387
close(fd);
sbin/iked/parse.y
2207
close(fd);
sbin/iked/parse.y
2470
close(s);
sbin/iked/parse.y
2473
close(s);
sbin/iked/parse.y
2498
close(s);
sbin/iked/parse.y
2523
close(s);
sbin/iked/proc.c
135
close(fd);
sbin/iked/proc.c
286
close(fd);
sbin/iked/proc.c
292
close(fd);
sbin/iked/proc.c
486
close(pp->pp_pipes[dst][n]);
sbin/iked/util.c
218
close(s);
sbin/init/init.c
1012
close(p[1]);
sbin/init/init.c
1014
close(p[0]);
sbin/init/init.c
1017
close(p[0]);
sbin/init/init.c
1028
close(p[0]);
sbin/init/init.c
1033
close(p[1]);
sbin/init/init.c
1037
close(p[1]);
sbin/init/init.c
1038
close(fd);
sbin/init/init.c
214
(void)close(fd);
sbin/ipsecctl/parse.y
1625
close(fd);
sbin/ipsecctl/parse.y
1946
close(s);
sbin/ipsecctl/parse.y
1949
close(s);
sbin/ipsecctl/parse.y
1974
close(s);
sbin/ipsecctl/parse.y
1999
close(s);
sbin/ipsecctl/pfkey.c
1354
close(fd);
sbin/isakmpd/conf.c
622
close(fd);
sbin/isakmpd/conf.c
638
close(fd);
sbin/isakmpd/conf.c
664
close(fd);
sbin/isakmpd/ike_auth.c
207
close(fd);
sbin/isakmpd/ike_auth.c
217
close(fd);
sbin/isakmpd/ike_auth.c
226
close(fd);
sbin/isakmpd/ike_auth.c
229
close(fd);
sbin/isakmpd/ike_auth.c
303
close(fd);
sbin/isakmpd/ike_auth.c
310
close(fd);
sbin/isakmpd/isakmpd.c
382
close(nullfd);
sbin/isakmpd/monitor.c
121
close(p[1]);
sbin/isakmpd/monitor.c
130
close(p[0]);
sbin/isakmpd/monitor.c
167
close(m_state.s);
sbin/isakmpd/monitor.c
276
close(fd);
sbin/isakmpd/monitor.c
295
close(fd);
sbin/isakmpd/monitor.c
496
close(fd);
sbin/isakmpd/monitor.c
499
close(fd);
sbin/isakmpd/monitor.c
540
close(v);
sbin/isakmpd/monitor.c
566
close(sock);
sbin/isakmpd/monitor.c
581
close(sock);
sbin/isakmpd/monitor.c
609
close(sock);
sbin/isakmpd/monitor.c
626
close(sock);
sbin/isakmpd/monitor.c
869
close(fd);
sbin/isakmpd/monitor.c
878
close(fd);
sbin/isakmpd/pf_key_v2.c
498
close(pf_key_v2_socket);
sbin/isakmpd/policy.c
1953
close(fd);
sbin/isakmpd/policy.c
1972
close(fd);
sbin/isakmpd/policy.c
2191
close(fd);
sbin/isakmpd/policy.c
2201
close(fd);
sbin/isakmpd/policy.c
2212
close(fd);
sbin/isakmpd/policy.c
2215
close(fd);
sbin/isakmpd/udp.c
191
close(s);
sbin/isakmpd/udp.c
365
close(u->s);
sbin/isakmpd/udp_encap.c
193
close (s);
sbin/isakmpd/util.c
249
close(fd);
sbin/isakmpd/util.c
256
close(fd);
sbin/isakmpd/util.c
264
close(fd);
sbin/isakmpd/util.c
274
close(fd);
sbin/isakmpd/util.c
280
close(fd);
sbin/isakmpd/virtual.c
410
close(s);
sbin/isakmpd/virtual.c
414
close(s);
sbin/isakmpd/virtual.c
425
close(s);
sbin/isakmpd/virtual.c
438
close(s);
sbin/isakmpd/virtual.c
446
close(s);
sbin/isakmpd/virtual.c
454
close(s);
sbin/isakmpd/virtual.c
458
close(s);
sbin/isakmpd/x509.c
641
close(fd);
sbin/isakmpd/x509.c
646
close(fd);
sbin/isakmpd/x509.c
652
close(fd);
sbin/isakmpd/x509.c
724
close(fd);
sbin/isakmpd/x509.c
729
close(fd);
sbin/isakmpd/x509.c
735
close(fd);
sbin/kbd/kbd_wscons.c
215
close(fd);
sbin/kbd/kbd_wscons.c
291
close(fd);
sbin/ldattach/ldattach.c
300
close(slave);
sbin/mount_nfs/mount_nfs.c
498
(void) close(STDIN_FILENO);
sbin/mount_nfs/mount_nfs.c
499
(void) close(STDOUT_FILENO);
sbin/mount_nfs/mount_nfs.c
500
(void) close(STDERR_FILENO);
sbin/mount_udf/mount_udf.c
69
close(fd);
sbin/mount_vnd/mount_vnd.c
174
close(fd);
sbin/mount_vnd/mount_vnd.c
212
close(fd);
sbin/mountd/mountd.c
312
close(socks[0]);
sbin/mountd/mountd.c
316
close(socks[1]);
sbin/ncheck_ffs/ncheck_ffs.c
567
close(diskfd);
sbin/ncheck_ffs/ncheck_ffs.c
614
close(diskfd);
sbin/newfs/newfs.c
513
close(fso);
sbin/newfs/newfs.c
515
close(fsi);
sbin/newfs/newfs.c
552
(void) close(0);
sbin/newfs/newfs.c
553
(void) close(1);
sbin/newfs/newfs.c
554
(void) close(2);
sbin/newfs_ext2fs/newfs_ext2fs.c
370
close(fd);
sbin/nfsd/nfsd.c
245
(void)close(sock);
sbin/nfsd/nfsd.c
310
(void)close(msgsock);
sbin/nologin/nologin.c
61
close (nfd);
sbin/pdisk/pdisk.c
128
close(fd);
sbin/pfctl/pfctl.c
3523
close(dev);
sbin/pfctl/pfctl_parser.c
1548
close(s);
sbin/pfctl/pfctl_parser.c
1551
close(s);
sbin/pfctl/pfctl_parser.c
1574
close(s);
sbin/pfctl/pfctl_parser.c
1597
close(s);
sbin/pflogd/pflogd.c
357
close(fd);
sbin/pflogd/privsep.c
108
close(socks[0]);
sbin/pflogd/privsep.c
111
close(socks[1]);
sbin/pflogd/privsep.c
124
close(socks[1]);
sbin/pflogd/privsep.c
197
close(bpfd);
sbin/ping/ping.c
566
close(dummy);
sbin/quotacheck/quotacheck.c
347
close(fi);
sbin/quotacheck/quotacheck.c
506
close(fd);
sbin/quotacheck/quotacheck.c
513
close(fd);
sbin/reboot/reboot.c
204
close(fd);
sbin/resolvd/resolvd.c
298
close(resolvfd);
sbin/resolvd/resolvd.c
324
close(unwindsock);
sbin/resolvd/resolvd.c
644
close(fd2);
sbin/resolvd/resolvd.c
688
close(fd);
sbin/resolvd/resolvd.c
692
close(fd);
sbin/resolvd/resolvd.c
700
close(fd);
sbin/resolvd/resolvd.c
730
close(s);
sbin/restore/dirs.c
153
close(fd);
sbin/restore/dirs.c
168
close(fd);
sbin/restore/dirs.c
533
(void)close(dirp->dd_fd);
sbin/restore/dirs.c
560
(void)close(fd);
sbin/restore/dirs.c
659
(void)close(dp);
sbin/restore/dirs.c
660
(void)close(ofile);
sbin/restore/symtab.c
556
close(fd);
sbin/restore/tape.c
650
(void)close(ofile);
sbin/restore/tape.c
987
(void)close(mt);
sbin/savecore/savecore.c
500
(void)close(ifd);
sbin/savecore/savecore.c
549
(void)close(ofd);
sbin/savecore/savecore.c
637
close(fd);
sbin/savecore/zopen.c
317
(void)close(zs->zs_fd);
sbin/savecore/zopen.c
323
(void)close(zs->zs_fd);
sbin/savecore/zopen.c
337
rval = close(zs->zs_fd);
sbin/savecore/zopen.c
532
close(fd);
sbin/savecore/zopen.c
537
close(fd);
sbin/shutdown/shutdown.c
321
close(fd[0]);
sbin/shutdown/shutdown.c
322
close(fd[1]);
sbin/shutdown/shutdown.c
330
close(fd[0]);
sbin/shutdown/shutdown.c
331
close(fd[1]);
sbin/shutdown/shutdown.c
338
close(fd[0]);
sbin/shutdown/shutdown.c
365
close(fd[1]);
sbin/shutdown/shutdown.c
474
close(fd);
sbin/shutdown/shutdown.c
588
close(fastfd);
sbin/shutdown/shutdown.c
617
close(logfd);
sbin/slaacd/control.c
156
close(connfd);
sbin/slaacd/control.c
162
close(connfd);
sbin/slaacd/control.c
215
close(c->iev.ibuf.fd);
sbin/slaacd/control.c
81
close(fd);
sbin/slaacd/control.c
88
close(fd);
sbin/slaacd/control.c
96
close(fd);
sbin/slaacd/engine.c
422
close(iev_frontend->ibuf.fd);
sbin/slaacd/engine.c
424
close(iev_main->ibuf.fd);
sbin/slaacd/frontend.c
1112
close(EVENT_FD(&icmp6ev->ev));
sbin/slaacd/frontend.c
1139
close(icmp6sock);
sbin/slaacd/frontend.c
252
close(iev_engine->ibuf.fd);
sbin/slaacd/frontend.c
255
close(iev_main->ibuf.fd);
sbin/slaacd/slaacd.c
317
close(iev_frontend->ibuf.fd);
sbin/slaacd/slaacd.c
319
close(iev_engine->ibuf.fd);
sbin/slaacd/slaacd.c
353
close(fd);
sbin/slaacd/slaacd.c
944
close(fd);
sbin/slaacd/slaacd.c
952
close(fd);
sbin/slaacd/slaacd.c
980
close(icmp6sock);
sbin/ttyflags/ttyflags.c
242
if (close(fd) == -1) {
sbin/tunefs/tunefs.c
238
close(fi);
sbin/unwind/control.c
155
close(connfd);
sbin/unwind/control.c
161
close(connfd);
sbin/unwind/control.c
214
close(c->iev.ibuf.fd);
sbin/unwind/control.c
79
close(fd);
sbin/unwind/control.c
86
close(fd);
sbin/unwind/control.c
95
close(fd);
sbin/unwind/frontend.c
1553
close(fd);
sbin/unwind/frontend.c
1673
close(s);
sbin/unwind/frontend.c
281
close(iev_resolver->ibuf.fd);
sbin/unwind/frontend.c
284
close(iev_main->ibuf.fd);
sbin/unwind/frontend.c
697
close(pq->fd);
sbin/unwind/libunbound/services/listen_dnsport.c
312
close(s);
sbin/unwind/libunbound/services/outside_network.c
353
close(s);
sbin/unwind/libunbound/services/outside_network.c
3667
close(fd);
sbin/unwind/libunbound/services/outside_network.c
3749
close(fd);
sbin/unwind/libunbound/services/outside_network.c
3826
close(fd);
sbin/unwind/libunbound/services/outside_network.c
720
close(s);
sbin/unwind/libunbound/util/data/msgencode.c
117
struct compress_tree_node* close = 0;
sbin/unwind/libunbound/util/data/msgencode.c
131
close = p; /* p->dname is smaller than dname */
sbin/unwind/libunbound/util/data/msgencode.c
138
*match = close;
sbin/unwind/libunbound/util/net_help.c
1991
close(socket);
sbin/unwind/libunbound/util/tube.c
106
close(tube->sr);
sbin/unwind/libunbound/util/tube.c
114
close(tube->sw);
sbin/unwind/resolver.c
459
close(iev_frontend->ibuf.fd);
sbin/unwind/resolver.c
461
close(iev_main->ibuf.fd);
sbin/unwind/unwind.c
320
close(iev_frontend->ibuf.fd);
sbin/unwind/unwind.c
322
close(iev_resolver->ibuf.fd);
sbin/unwind/unwind.c
358
close(fd);
sbin/unwind/unwind.c
752
close(udp4sock);
sbin/unwind/unwind.c
773
close(udp6sock);
sbin/unwind/unwind.c
797
close(tcp4sock);
sbin/unwind/unwind.c
801
close(tcp4sock);
sbin/unwind/unwind.c
823
close(tcp6sock);
sbin/unwind/unwind.c
827
close(tcp6sock);
sbin/vnconfig/vnconfig.c
213
close(fd);
sbin/vnconfig/vnconfig.c
252
close(vd);
sbin/vnconfig/vnconfig.c
274
close(vd);
sbin/vnconfig/vnconfig.c
323
close(fd);
sbin/vnconfig/vnconfig.c
354
close(fd);
sbin/wsconsctl/wsconsctl.c
283
close(devfd);
sys/arch/alpha/stand/boot/boot.c
96
close(fd);
sys/arch/alpha/stand/installboot.c
193
(void)close(devfd);
sys/arch/alpha/stand/installboot.c
233
(void)close(devfd);
sys/arch/alpha/stand/installboot.c
254
close(fd);
sys/arch/alpha/stand/installboot.c
260
close(fd);
sys/arch/alpha/stand/installboot.c
266
close(fd);
sys/arch/alpha/stand/installboot.c
269
close(fd);
sys/arch/alpha/stand/installboot.c
376
close(fd);
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
190
close(fd);
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
245
close(fd);
sys/arch/amd64/amd64/conf.c
103
dev_init(c,n,open), dev_init(c,n,close), \
sys/arch/amd64/amd64/conf.c
80
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/amd64/amd64/conf.c
87
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/arch/amd64/amd64/conf.c
94
dev_init(c,n,open), dev_init(c,n,close), \
sys/arch/amd64/include/conf.h
47
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/amd64/include/conf.h
63
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/amd64/stand/efiboot/exec_i386.c
230
close(fd);
sys/arch/amd64/stand/efiboot/exec_i386.c
238
close(fd);
sys/arch/amd64/stand/libsa/exec_i386.c
251
close(fd);
sys/arch/amd64/stand/libsa/exec_i386.c
259
close(fd);
sys/arch/amd64/stand/libsa/pxe.c
507
t_PXENV_UDP_CLOSE *close = (void *) pxe_command_buf;
sys/arch/amd64/stand/libsa/pxe.c
516
printf("pxe_shutdown: PXENV_UDP_CLOSE returned 0x%x\n", close->status);
sys/arch/amd64/stand/rdboot/cmd.c
175
close(fd);
sys/arch/amd64/stand/rdboot/cmd.c
397
close(oldcwd);
sys/arch/amd64/stand/rdboot/cmd.c
402
close(dirfd);
sys/arch/amd64/stand/rdboot/cmd.c
403
close(oldcwd);
sys/arch/amd64/stand/rdboot/cmd.c
418
close(oldcwd);
sys/arch/amd64/stand/rdboot/disk.c
189
close(fd);
sys/arch/amd64/stand/rdboot/rdboot.c
146
close(fd);
sys/arch/amd64/stand/rdboot/rdboot.c
161
close(fd);
sys/arch/amd64/stand/rdboot/rdboot.c
249
close(fd);
sys/arch/arm/include/conf.h
62
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/arm/include/conf.h
75
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/arm64/dev/aplaudio.c
260
if (hwif->close)
sys/arch/arm64/dev/aplaudio.c
261
hwif->close(dai->dd_cookie);
sys/arch/arm64/dev/aplaudio.c
266
if (hwif->close)
sys/arch/arm64/dev/aplaudio.c
267
hwif->close(dai->dd_cookie);
sys/arch/arm64/dev/aplaudio.c
67
.close = aplaudio_close,
sys/arch/arm64/include/conf.h
44
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/arm64/include/conf.h
53
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/hppa/gsc/harmony.c
77
.close = harmony_close,
sys/arch/hppa/stand/mkboot/mkboot.c
172
if (close(to) < 0)
sys/arch/hppa/stand/mkboot/mkboot.c
303
if (close(from) < 0 )
sys/arch/i386/i386/conf.c
80
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/arch/i386/i386/conf.c
87
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/i386/i386/conf.c
94
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/arch/i386/include/conf.h
43
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/i386/stand/libsa/exec_i386.c
239
close(fd);
sys/arch/i386/stand/libsa/exec_i386.c
247
close(fd);
sys/arch/i386/stand/libsa/pxe.c
507
t_PXENV_UDP_CLOSE *close = (void *) pxe_command_buf;
sys/arch/i386/stand/libsa/pxe.c
516
printf("pxe_shutdown: PXENV_UDP_CLOSE returned 0x%x\n", close->status);
sys/arch/loongson/include/conf.h
37
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/luna88k/cbus/nec86.c
72
.close = nec86hw_close,
sys/arch/luna88k/include/conf.h
53
dev_init(c,n,open), dev_init(c,n,close), \
sys/arch/luna88k/include/conf.h
60
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/luna88k/include/conf.h
67
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/macppc/dev/aoa.c
70
.close = i2s_close,
sys/arch/macppc/dev/awacs.c
133
.close = awacs_close,
sys/arch/macppc/dev/daca.c
76
.close = i2s_close,
sys/arch/macppc/dev/onyx.c
89
.close = i2s_close,
sys/arch/macppc/dev/snapper.c
82
.close = i2s_close,
sys/arch/macppc/dev/tumbler.c
80
.close = i2s_close,
sys/arch/macppc/include/conf.h
41
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/macppc/include/conf.h
51
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/octeon/include/conf.h
40
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/octeon/include/conf.h
47
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/octeon/stand/rdboot/cmd.c
171
close(fd);
sys/arch/octeon/stand/rdboot/cmd.c
393
close(oldcwd);
sys/arch/octeon/stand/rdboot/cmd.c
398
close(dirfd);
sys/arch/octeon/stand/rdboot/cmd.c
399
close(oldcwd);
sys/arch/octeon/stand/rdboot/cmd.c
414
close(oldcwd);
sys/arch/octeon/stand/rdboot/disk.c
174
close(fd);
sys/arch/octeon/stand/rdboot/rdboot.c
147
close(fd);
sys/arch/octeon/stand/rdboot/rdboot.c
162
close(fd);
sys/arch/octeon/stand/rdboot/rdboot.c
212
close(fd);
sys/arch/octeon/stand/rdboot/rdboot.c
248
close(fd);
sys/arch/powerpc64/include/conf.h
11
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/powerpc64/include/conf.h
18
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/powerpc64/stand/rdboot/cmd.c
169
close(fd);
sys/arch/powerpc64/stand/rdboot/cmd.c
391
close(oldcwd);
sys/arch/powerpc64/stand/rdboot/cmd.c
396
close(dirfd);
sys/arch/powerpc64/stand/rdboot/cmd.c
397
close(oldcwd);
sys/arch/powerpc64/stand/rdboot/cmd.c
412
close(oldcwd);
sys/arch/powerpc64/stand/rdboot/disk.c
189
close(fd);
sys/arch/powerpc64/stand/rdboot/rdboot.c
145
close(fd);
sys/arch/powerpc64/stand/rdboot/rdboot.c
160
close(fd);
sys/arch/powerpc64/stand/rdboot/rdboot.c
208
close(fd);
sys/arch/powerpc64/stand/rdboot/rdboot.c
231
close(fd);
sys/arch/riscv64/include/conf.h
43
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/sparc64/dev/ce4231.c
154
.close = ce4231_close,
sys/arch/sparc64/include/conf.h
41
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/arch/sparc64/include/conf.h
50
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/sparc64/include/conf.h
59
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/sparc64/include/conf.h
65
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/arch/sparc64/include/conf.h
99
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/arch/sparc64/stand/ofwboot/boot.c
266
close(fd);
sys/arch/sparc64/stand/ofwboot/boot.c
277
close(fd);
sys/arch/sparc64/stand/ofwboot/boot.c
319
close(fd);
sys/ddb/db_dwarf.c
466
close(fd);
sys/dev/audio.c
1213
ops->close == 0 ||
sys/dev/audio.c
1415
sc->ops->close(sc->arg);
sys/dev/audio.c
1516
sc->ops->close(sc->arg);
sys/dev/audio.c
1590
sc->ops->close(sc->arg);
sys/dev/audio_if.h
70
void (*close)(void *); /* close hardware */
sys/dev/fdt/graphaudio.c
242
if (hwif->close)
sys/dev/fdt/graphaudio.c
243
hwif->close(dai->dd_cookie);
sys/dev/fdt/graphaudio.c
247
if (hwif->close)
sys/dev/fdt/graphaudio.c
248
hwif->close(dai->dd_cookie);
sys/dev/fdt/graphaudio.c
69
.close = graphaudio_close,
sys/dev/fdt/simpleamp.c
51
.close = simpleamp_close,
sys/dev/fdt/simpleaudio.c
276
if (hwif->close)
sys/dev/fdt/simpleaudio.c
277
hwif->close(dai->dd_cookie);
sys/dev/fdt/simpleaudio.c
282
if (hwif->close)
sys/dev/fdt/simpleaudio.c
283
hwif->close(dai->dd_cookie);
sys/dev/fdt/simpleaudio.c
287
if (hwif->close)
sys/dev/fdt/simpleaudio.c
288
hwif->close(dai->dd_cookie);
sys/dev/fdt/simpleaudio.c
71
.close = simpleaudio_close,
sys/dev/ic/arcofi.c
213
.close = arcofi_close,
sys/dev/isa/ess.c
202
.close = ess_1788_close,
sys/dev/isa/ess.c
219
.close = ess_1888_close,
sys/dev/isa/gus.c
264
.close = gusclose,
sys/dev/isa/gus.c
282
.close = gusmax_close,
sys/dev/isa/pas.c
113
.close = sbdsp_close,
sys/dev/isa/sb.c
98
.close = sbdsp_close,
sys/dev/microcode/afb/build.c
47
close(fd);
sys/dev/microcode/aic7xxx/aicasm_symbol.c
158
symtable->close(symtable);
sys/dev/microcode/atmel/build.c
49
close(fd);
sys/dev/microcode/bnx/build.c
159
close(fd);
sys/dev/microcode/bwi/build/build.c
109
close(fdout);
sys/dev/microcode/bwi/build/build.c
114
close(fdout);
sys/dev/microcode/bwi/build/build.c
129
close(fdout);
sys/dev/microcode/bwi/build/build.c
134
close(fdout);
sys/dev/microcode/bwi/build/build.c
135
close(fdin);
sys/dev/microcode/bwi/build/build.c
141
close(fdout);
sys/dev/microcode/bwi/build/build.c
142
close(fdin);
sys/dev/microcode/bwi/build/build.c
148
close(fdout);
sys/dev/microcode/bwi/build/build.c
149
close(fdin);
sys/dev/microcode/bwi/build/build.c
153
close(fdin);
sys/dev/microcode/bwi/build/build.c
156
close(fdout);
sys/dev/microcode/bwi/extract/extract.c
100
close (fdin);
sys/dev/microcode/bwi/extract/extract.c
89
close(fdout);
sys/dev/microcode/cirruslogic/build.c
43
close(fd);
sys/dev/microcode/cyclades/cyzfirm2h.c
98
(void) close(i);
sys/dev/microcode/fxp/build.c
60
close(fd);
sys/dev/microcode/kue/build.c
69
close(fd);
sys/dev/microcode/neomagic/build.c
52
close(fd);
sys/dev/microcode/ral/build.c
47
close(fd);
sys/dev/microcode/rsu/build.c
47
close(fd);
sys/dev/microcode/rtwn/build.c
47
close(fd);
sys/dev/microcode/rum/build.c
47
close(fd);
sys/dev/microcode/tht/build.c
50
close(fd);
sys/dev/microcode/tigon/build.c
99
close(fd);
sys/dev/microcode/typhoon/build.c
55
close(fd);
sys/dev/microcode/urtwn/build.c
47
close(fd);
sys/dev/microcode/yds/build.c
85
close(fd);
sys/dev/microcode/zydas/build.c
47
close(fd);
sys/dev/midi.c
483
sc->hw_if->close(sc->hw_hdl);
sys/dev/midi.c
509
hwif->close == 0 ||
sys/dev/midi.c
556
sc->hw_if->close(sc->hw_hdl);
sys/dev/midi_if.h
48
void (*close)(void *); /* close hardware */
sys/dev/pci/auacer.c
181
.close = auacer_close,
sys/dev/pci/auglx.c
237
.close = auglx_close,
sys/dev/pci/auich.c
319
.close = auich_close,
sys/dev/pci/auixp.c
155
.close = auixp_close,
sys/dev/pci/autri.c
141
.close = autri_close,
sys/dev/pci/auvia.c
182
.close = auvia_close,
sys/dev/pci/azalia.c
294
.close = azalia_close,
sys/dev/pci/cmpci.c
151
.close = cmpci_close,
sys/dev/pci/cs4280.c
235
.close = cs4280_close,
sys/dev/pci/cs4281.c
195
.close = cs4281_close,
sys/dev/pci/drm/amd/amdgpu/amdgpu_gem.c
152
.close = ttm_bo_vm_close,
sys/dev/pci/drm/amd/amdgpu/amdgpu_gem.c
496
.close = amdgpu_gem_object_close,
sys/dev/pci/drm/amd/display/dc/gpio/gpio_service.c
377
pin->funcs->close(pin);
sys/dev/pci/drm/amd/display/dc/gpio/hw_ddc.c
212
.close = dal_hw_gpio_close,
sys/dev/pci/drm/amd/display/dc/gpio/hw_generic.c
90
.close = dal_hw_gpio_close,
sys/dev/pci/drm/amd/display/dc/gpio/hw_gpio.h
66
void (*close)(
sys/dev/pci/drm/amd/display/dc/gpio/hw_hpd.c
111
.close = dal_hw_gpio_close,
sys/dev/pci/drm/drm_gem.c
517
if (obj->funcs->close)
sys/dev/pci/drm/drm_gem.c
518
obj->funcs->close(obj, file_priv);
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
1338
.close = vm_close,
sys/dev/pci/drm/i915/gem/i915_gem_mman.c
1345
.close = vm_close,
sys/dev/pci/drm/i915/gem/i915_gem_object.c
253
DRM_LIST_HEAD(close);
sys/dev/pci/drm/i915/gem/i915_gem_object.c
261
list_move(&lut->obj_link, &close);
sys/dev/pci/drm/i915/gem/i915_gem_object.c
279
list_for_each_entry_safe(lut, ln, &close, obj_link) {
sys/dev/pci/drm/i915/gem/i915_gem_object.c
944
.close = i915_gem_close_object,
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
1215
.close = ttm_vm_close,
sys/dev/pci/drm/i915/gt/intel_context.h
289
if (ce->ops->close)
sys/dev/pci/drm/i915/gt/intel_context.h
290
ce->ops->close(ce);
sys/dev/pci/drm/i915/gt/intel_context_types.h
46
void (*close)(struct intel_context *ce);
sys/dev/pci/drm/i915/gt/intel_lrc.c
50
bool close)
sys/dev/pci/drm/i915/gt/intel_lrc.c
98
if (close) {
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
3784
.close = guc_context_close,
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
4060
.close = guc_context_close,
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
4152
.close = guc_context_close,
sys/dev/pci/drm/include/drm/drm_gem.h
98
void (*close)(struct drm_gem_object *obj, struct drm_file *file);
sys/dev/pci/drm/radeon/radeon_gem.c
370
.close = radeon_gem_object_close,
sys/dev/pci/drm/radeon/radeon_gem.c
80
.close = ttm_bo_vm_close,
sys/dev/pci/drm/ttm/ttm_bo_vm.c
753
.close = ttm_bo_vm_close,
sys/dev/pci/eap.c
197
.close = eap_close,
sys/dev/pci/eap.c
213
.close = eap_close,
sys/dev/pci/emuxki.c
214
.close = emuxki_close,
sys/dev/pci/envy.c
183
.close = envy_close,
sys/dev/pci/esa.c
152
.close = esa_close,
sys/dev/pci/eso.c
125
.close = eso_close,
sys/dev/pci/fms.c
102
.close = fms_close,
sys/dev/pci/if_ixl.c
4165
int (*close)(struct ixl_softc *sc, struct if_sffpage *, uint8_t);
sys/dev/pci/if_ixl.c
4280
error = (*ops->close)(sc, sff, page);
sys/dev/pci/maestro.c
530
.close = maestro_close,
sys/dev/pci/neo.c
238
.close = neo_close,
sys/dev/pci/sv.c
149
.close = sv_close,
sys/dev/pci/yds.c
208
.close = yds_close,
sys/dev/pv/vmt.c
532
goto close;
sys/dev/pv/vmt.c
540
goto close;
sys/dev/pv/vmt.c
546
goto close;
sys/dev/pv/vmt.c
554
goto close;
sys/dev/pv/vmt.c
561
goto close;
sys/dev/pv/vmt.c
568
close:
sys/dev/pv/xenreg.h
543
struct evtchn_close close;
sys/dev/radio.c
104
if (sc->hw_if->close != NULL)
sys/dev/radio.c
105
return (sc->hw_if->close(sc->hw_hdl, flags, fmt, p));
sys/dev/radio_if.h
43
int (*close)(void *, int, int, struct proc *);
sys/dev/sbus/cs4231.c
155
.close = cs4231_close,
sys/dev/tc/bba.c
156
.close = am7930_close,
sys/dev/usb/dwc2/dwc2.c
151
.close = dwc2_root_ctrl_close,
sys/dev/usb/dwc2/dwc2.c
160
.close = dwc2_root_intr_close,
sys/dev/usb/dwc2/dwc2.c
169
.close = dwc2_device_ctrl_close,
sys/dev/usb/dwc2/dwc2.c
178
.close = dwc2_device_intr_close,
sys/dev/usb/dwc2/dwc2.c
187
.close = dwc2_device_bulk_close,
sys/dev/usb/dwc2/dwc2.c
196
.close = dwc2_device_isoc_close,
sys/dev/usb/ehci.c
233
.close = ehci_root_ctrl_close,
sys/dev/usb/ehci.c
241
.close = ehci_root_intr_close,
sys/dev/usb/ehci.c
249
.close = ehci_device_ctrl_close,
sys/dev/usb/ehci.c
257
.close = ehci_device_intr_close,
sys/dev/usb/ehci.c
266
.close = ehci_device_bulk_close,
sys/dev/usb/ehci.c
275
.close = ehci_device_isoc_close,
sys/dev/usb/ohci.c
245
.close = ohci_root_ctrl_close,
sys/dev/usb/ohci.c
253
.close = ohci_root_intr_close,
sys/dev/usb/ohci.c
261
.close = ohci_device_ctrl_close,
sys/dev/usb/ohci.c
269
.close = ohci_device_intr_close,
sys/dev/usb/ohci.c
278
.close = ohci_device_bulk_close,
sys/dev/usb/ohci.c
287
.close = ohci_device_isoc_close,
sys/dev/usb/uaudio.c
486
.close = uaudio_close,
sys/dev/usb/uhci.c
262
.close = uhci_root_ctrl_close,
sys/dev/usb/uhci.c
270
.close = uhci_root_intr_close,
sys/dev/usb/uhci.c
278
.close = uhci_device_ctrl_close,
sys/dev/usb/uhci.c
286
.close = uhci_device_intr_close,
sys/dev/usb/uhci.c
295
.close = uhci_device_bulk_close,
sys/dev/usb/uhci.c
304
.close = uhci_device_isoc_close,
sys/dev/usb/usbdi.c
270
pipe->methods->close(pipe);
sys/dev/usb/usbdivar.h
76
void (*close)(struct usbd_pipe *);
sys/dev/usb/utvfu.c
843
.close = utvfu_audio_close,
sys/dev/usb/xhci.c
173
.close = xhci_pipe_close,
sys/dev/usb/xhci.c
181
.close = xhci_pipe_close,
sys/dev/usb/xhci.c
189
.close = xhci_pipe_close,
sys/dev/usb/xhci.c
197
.close = xhci_pipe_close,
sys/dev/usb/xhci.c
205
.close = xhci_pipe_close,
sys/dev/usb/xhci.c
213
.close = xhci_pipe_close,
sys/dev/video.c
626
if (sc->hw_if->close != NULL)
sys/dev/video.c
627
error = sc->hw_if->close(sc->hw_hdl);
sys/dev/video_if.h
34
int (*close)(void *);
sys/lib/libsa/close.c
82
err1 = (f->f_ops->close)(f);
sys/lib/libsa/closeall.c
73
(void)close(i);
sys/lib/libsa/loadfile.c
155
(void)close(fd);
sys/lib/libsa/readdir.c
95
close(fd);
sys/lib/libsa/stand.h
167
int close(int);
sys/lib/libsa/stand.h
62
int (*close)(struct open_file *f);
sys/lib/libsa/stat.c
52
(void)close(fd);
sys/net/bfd.c
460
goto close;
sys/net/bfd.c
486
goto close;
sys/net/bfd.c
495
close:
sys/net/bfd.c
537
goto close;
sys/net/bfd.c
549
goto close;
sys/net/bfd.c
561
goto close;
sys/net/bfd.c
587
goto close;
sys/net/bfd.c
610
goto close;
sys/net/bfd.c
617
close:
sys/net/if_vxlan.c
953
goto close;
sys/net/if_vxlan.c
987
goto close;
sys/net/if_vxlan.c
996
close:
sys/netinet/tcp_input.c
1413
goto close;
sys/netinet/tcp_input.c
1420
close:
sys/stand/boot/boot.c
141
close(fd);
sys/stand/boot/boot.c
205
close(fd);
sys/stand/boot/cmd.c
129
close(fd);
sys/stand/boot/cmd.c
167
close(fd);
sys/sys/conf.h
109
dev_decl(n,open); dev_decl(n,close); dev_decl(n,strategy); \
sys/sys/conf.h
113
dev_init(c,n,open), dev_init(c,n,close), \
sys/sys/conf.h
163
dev_decl(n,open); dev_decl(n,close); dev_decl(n,read); \
sys/sys/conf.h
170
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
177
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
184
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
191
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
204
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
218
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
225
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
232
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
238
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
252
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
259
dev_init(c,n,open), dev_init(c,n,close), \
sys/sys/conf.h
267
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
274
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
281
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
288
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
295
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
302
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
309
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
316
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
323
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
330
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
337
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
344
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
350
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
357
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
364
dev_init(c,n,open), dev_init(c,uhid,close), dev_init(c,uhid,read), \
sys/sys/conf.h
371
dev_init(c,n,open), dev_init(c,uhid,close), dev_init(c,uhid,read), \
sys/sys/conf.h
378
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
385
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
392
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
399
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
406
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
413
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
420
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
427
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
434
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
441
dev_init(c,n,open), dev_init(c,n,close), dev_init(c, n, read), \
sys/sys/conf.h
448
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
455
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
sys/sys/conf.h
462
dev_init(c,n,open), dev_init(c,n,close), \
sys/sys/conf.h
471
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
478
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
485
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
sys/sys/conf.h
492
dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
usr.bin/aucat/afile.c
798
close(f->fd);
usr.bin/aucat/afile.c
921
close(f->fd);
usr.bin/audioctl/audioctl.c
318
close(fd);
usr.bin/bc/bc.y
1152
close(STDOUT_FILENO);
usr.bin/bc/bc.y
1154
close(p[0]);
usr.bin/bc/bc.y
1155
close(p[1]);
usr.bin/bc/bc.y
1163
close(STDIN_FILENO);
usr.bin/bc/bc.y
1165
close(p[0]);
usr.bin/bc/bc.y
1166
close(p[1]);
usr.bin/bgplg/bgplg.c
241
close(fd);
usr.bin/bgplg/bgplg.c
317
if (close(2) == -1 || dup2(1, 2) == -1)
usr.bin/bgplg/bgplg.c
319
if (close(2) == -1)
usr.bin/calendar/io.c
343
close(fdin);
usr.bin/calendar/io.c
348
(void)close(pdes[0]);
usr.bin/calendar/io.c
349
(void)close(pdes[1]);
usr.bin/calendar/io.c
350
close(fdin);
usr.bin/calendar/io.c
357
(void)close(pdes[1]);
usr.bin/calendar/io.c
359
(void)close(pdes[0]);
usr.bin/calendar/io.c
370
(void)close(fderr);
usr.bin/calendar/io.c
379
(void)close(pdes[0]);
usr.bin/calendar/io.c
380
(void)close(pdes[1]);
usr.bin/calendar/io.c
408
(void)close(pdes[0]);
usr.bin/calendar/io.c
409
(void)close(pdes[1]);
usr.bin/calendar/io.c
415
(void)close(pdes[0]);
usr.bin/calendar/io.c
417
(void)close(pdes[1]);
usr.bin/calendar/io.c
424
(void)close(pdes[0]);
usr.bin/calendar/io.c
431
(void)close(pdes[1]);
usr.bin/cap_mkdb/cap_mkdb.c
116
if (capdbp->close(capdbp) < 0)
usr.bin/cdio/cddb.c
166
close(s);
usr.bin/cdio/cddb.c
382
close(s);
usr.bin/cdio/cddb.c
384
close(s2);
usr.bin/cdio/cdio.c
1602
close(fd);
usr.bin/cdio/cdio.c
318
close(fd);
usr.bin/cdio/cdio.c
389
close(fd);
usr.bin/cdio/cdio.c
411
close(fd);
usr.bin/cdio/cdio.c
435
close(fd);
usr.bin/cdio/cdio.c
450
close(fd);
usr.bin/cdio/mmc.c
518
close(tr->fd);
usr.bin/cdio/rip.c
568
close(info.fd);
usr.bin/chpass/chpass.c
149
close(dfd);
usr.bin/chpass/getpwent.c
216
(void)(_pw_db->close)(_pw_db);
usr.bin/chpass/getpwent.c
290
(void)(_pw_db->close)(_pw_db);
usr.bin/chpass/getpwent.c
361
(void)(_pw_db->close)(_pw_db);
usr.bin/compress/gzopen.c
534
err = close(s->z_fd);
usr.bin/compress/gzopen.c
536
(void)close(s->z_fd);
usr.bin/compress/main.c
506
close(fd);
usr.bin/compress/main.c
549
close(fd);
usr.bin/compress/main.c
574
close(ifd);
usr.bin/compress/main.c
582
(void) close(ofd);
usr.bin/compress/main.c
583
(void) close(ifd);
usr.bin/compress/main.c
597
(void) close(ofd);
usr.bin/compress/main.c
598
(void) close(ifd);
usr.bin/compress/main.c
616
if (method->close(cookie, &info, out, sb)) {
usr.bin/compress/main.c
622
if (close(ifd)) {
usr.bin/compress/main.c
690
close (ifd);
usr.bin/compress/main.c
699
close (ifd);
usr.bin/compress/main.c
71
int (*close)(void *, struct z_info *, const char *, struct stat *);
usr.bin/compress/main.c
720
method->close(cookie, NULL, NULL, NULL);
usr.bin/compress/main.c
741
if (method->close(cookie, &info, NULL, NULL) && !error) {
usr.bin/compress/main.c
766
if (ofd != -1 && close(ofd)) {
usr.bin/compress/nullopen.c
106
err = close(s->fd);
usr.bin/compress/zipopen.c
449
(void)close(s->z_fd);
usr.bin/compress/zopen.c
318
(void)close(zs->zs_fd);
usr.bin/compress/zopen.c
324
(void)close(zs->zs_fd);
usr.bin/compress/zopen.c
341
rval = close(zs->zs_fd);
usr.bin/ctfconv/ctfconv.c
194
close(fd);
usr.bin/ctfconv/ctfconv.c
199
close(fd);
usr.bin/ctfconv/ctfconv.c
211
close(fd);
usr.bin/ctfconv/generate.c
426
close(fd);
usr.bin/ctfdump/ctfdump.c
172
close(fd);
usr.bin/cu/command.c
65
close(fd);
usr.bin/cvs/buf.c
231
(void)close(fd);
usr.bin/cvs/buf.c
93
(void)close(fd);
usr.bin/cvs/checkout.c
520
(void)close(cf->fd);
usr.bin/cvs/client.c
235
close(ifd[1]);
usr.bin/cvs/client.c
236
close(ofd[0]);
usr.bin/cvs/client.c
264
close(ifd[0]);
usr.bin/cvs/client.c
265
close(ofd[1]);
usr.bin/cvs/client.c
787
(void)close(fd);
usr.bin/cvs/client.c
866
(void)close(fd);
usr.bin/cvs/commit.c
618
(void)close(cf->fd);
usr.bin/cvs/commit.c
718
close(fd1);
usr.bin/cvs/commit.c
719
close(fd2);
usr.bin/cvs/commit.c
746
(void)close(fd);
usr.bin/cvs/diff.c
602
close(fd1);
usr.bin/cvs/diff.c
603
close(fd2);
usr.bin/cvs/diff3.c
242
(void)close(cf->fd);
usr.bin/cvs/file.c
1061
(void)close(fd1);
usr.bin/cvs/file.c
1062
(void)close(fd2);
usr.bin/cvs/file.c
1128
(void)close(dst);
usr.bin/cvs/file.c
1131
(void)close(src);
usr.bin/cvs/file.c
293
(void)close(fd);
usr.bin/cvs/file.c
305
(void)close(fd);
usr.bin/cvs/file.c
343
(void)close(fd);
usr.bin/cvs/file.c
348
(void)close(fd);
usr.bin/cvs/file.c
351
close(fd);
usr.bin/cvs/file.c
992
(void)close(cf->fd);
usr.bin/cvs/file.c
994
(void)close(cf->repo_fd);
usr.bin/cvs/history.c
178
(void)close(fd);
usr.bin/cvs/import.c
491
close(fd1);
usr.bin/cvs/import.c
492
close(fd2);
usr.bin/cvs/init.c
171
(void)close(fd);
usr.bin/cvs/init.c
191
(void)close(fd);
usr.bin/cvs/logmsg.c
352
(void)close(fd);
usr.bin/cvs/rcs.c
1270
close(fd1);
usr.bin/cvs/rcs.c
1271
close(fd2);
usr.bin/cvs/remove.c
131
(void)close(cf->fd);
usr.bin/cvs/repository.c
93
(void)close(i);
usr.bin/cvs/server.c
428
(void)close(fd);
usr.bin/cvs/update.c
647
(void)close(cf->fd);
usr.bin/cvs/util.c
557
close(fd);
usr.bin/cvs/util.c
901
close(fds[1]);
usr.bin/cvs/util.c
912
close(fds[0]);
usr.bin/cvs/util.c
916
close(fds[1]);
usr.bin/diff/diffreg.c
465
close(ifd);
usr.bin/diff/diffreg.c
471
close(ifd);
usr.bin/diff/diffreg.c
472
close(ofd);
usr.bin/diff/diffreg.c
476
close(ifd);
usr.bin/dig/lib/isc/unix/socket.c
1287
(void)close(sock->fd);
usr.bin/dig/lib/isc/unix/socket.c
1921
(void)close(i);
usr.bin/dig/lib/isc/unix/socket.c
313
(void)close(fd);
usr.bin/doas/doas.c
263
close(fd);
usr.bin/file/file.c
205
close(pair[0]);
usr.bin/file/file.c
208
close(pair[1]);
usr.bin/file/file.c
236
close(pair[0]);
usr.bin/file/file.c
428
close(inf.fd);
usr.bin/find/function.c
689
(void) close(fd);
usr.bin/find/function.c
720
(void) close(fd);
usr.bin/find/function.c
723
(void) close(fd);
usr.bin/finger/net.c
78
(void)close(s);
usr.bin/ftp/fetch.c
1142
close(out);
usr.bin/ftp/fetch.c
1691
close(*fd);
usr.bin/ftp/fetch.c
295
close(out);
usr.bin/ftp/fetch.c
296
close(fd);
usr.bin/ftp/fetch.c
582
close(fd);
usr.bin/ftp/fetch.c
590
close(fd);
usr.bin/ftp/fetch.c
603
close(fd);
usr.bin/ftp/ftp.c
1240
(void)close(data);
usr.bin/ftp/ftp.c
1307
close(data);
usr.bin/ftp/ftp.c
1366
(void)close(data);
usr.bin/ftp/ftp.c
1512
(void)close(data);
usr.bin/ftp/ftp.c
1535
(void)close(data);
usr.bin/ftp/ftp.c
1668
(void)close(data), data = -1;
usr.bin/ftp/ftp.c
1687
(void)close(data), data = -1;
usr.bin/ftp/ftp.c
1690
(void)close(data);
usr.bin/ftp/ftp.c
199
close(s);
usr.bin/ftp/ftp.c
208
close(s);
usr.bin/ftp/ftp.c
229
close(s);
usr.bin/ftp/ftp.c
297
(void)close(s);
usr.bin/ftp/ftp.c
616
(void)close(data);
usr.bin/ftp/ftp.c
838
(void)close(data);
usr.bin/ftp/ftp.c
913
(void)close(data);
usr.bin/ftp/main.c
702
(void)close(data);
usr.bin/ftp/util.c
410
close(fd);
usr.bin/gencat/gencat.c
160
close(ifd);
usr.bin/gprof/elf.c
66
close(fd);
usr.bin/gprof/elf.c
74
close(fd);
usr.bin/grep/file.c
152
close(fd);
usr.bin/grep/mmfile.c
70
close(mmf->fd);
usr.bin/indent/indent.c
1319
close(bakchn);
usr.bin/ktrace/ktrace.c
193
(void)close(fd);
usr.bin/last/last.c
294
close(wfd);
usr.bin/last/last.c
306
close(wfd);
usr.bin/last/last.c
323
close(wfd);
usr.bin/last/last.c
387
close(wfd);
usr.bin/last/last.c
394
close(wfd);
usr.bin/ldap/aldap.c
76
close(al->fd);
usr.bin/ldap/ldapclient.c
531
close(fd);
usr.bin/ldap/ldapclient.c
541
close(fd);
usr.bin/less/ch.c
366
close(logfile);
usr.bin/less/ch.c
794
close(ch_file);
usr.bin/less/decode.c
651
(void) close(f);
usr.bin/less/decode.c
655
(void) close(f);
usr.bin/less/decode.c
660
(void) close(f);
usr.bin/less/decode.c
664
close(f);
usr.bin/less/edit.c
274
(void) close(f);
usr.bin/less/edit.c
616
close(exists);
usr.bin/less/edit.c
651
close(logfile);
usr.bin/less/filename.c
214
(void) close(f);
usr.bin/less/lsystem.c
110
(void) close(0);
usr.bin/less/lsystem.c
112
(void) close(inp);
usr.bin/less/lsystem.c
76
(void) close(0);
usr.bin/lex/filter.c
168
close(pipes[1]);
usr.bin/lex/filter.c
172
close(pipes[0]);
usr.bin/lex/filter.c
190
close(pipes[0]);
usr.bin/lex/filter.c
193
close(pipes[1]);
usr.bin/locate/locate/locate.c
234
(void)close(fd);
usr.bin/login/failedlogin.c
134
(void)close(fd);
usr.bin/login/failedlogin.c
80
(void)close(fd);
usr.bin/login/login.c
818
(void)close(fd);
usr.bin/login/login.c
867
(void)close(fd);
usr.bin/m4/eval.c
404
close(fd);
usr.bin/m4/gnum4.c
645
(void) close(p[0]);
usr.bin/m4/gnum4.c
647
(void) close(p[1]);
usr.bin/m4/gnum4.c
653
(void) close(p[1]);
usr.bin/m4/gnum4.c
661
(void) close(p[0]);
usr.bin/mail/lex.c
114
(void)close(i);
usr.bin/mail/lex.c
595
(void)close(image);
usr.bin/mail/names.c
333
(void)close(image);
usr.bin/mail/popen.c
121
(void)close(p[READ]);
usr.bin/mail/popen.c
122
(void)close(p[WRITE]);
usr.bin/mail/popen.c
125
(void)close(hisside);
usr.bin/mail/popen.c
272
close(0);
usr.bin/mail/quit.c
226
close(fdx);
usr.bin/mail/quit.c
420
close(fd);
usr.bin/mail/v7.local.c
79
close(fd);
usr.bin/make/cmd_exec.c
149
(void)close(fds[0]);
usr.bin/make/cmd_exec.c
158
(void)close(fds[1]);
usr.bin/make/cmd_exec.c
170
(void)close(fds[1]);
usr.bin/make/cmd_exec.c
183
(void)close(fds[0]);
usr.bin/make/engine.c
234
(void)close(fd);
usr.bin/mandoc/cgi.c
367
close(fd);
usr.bin/mandoc/cgi.c
916
close(fd);
usr.bin/mandoc/dbm_map.c
112
close(ifd);
usr.bin/mandoc/dbm_map.c
122
if (close(ifd) == -1)
usr.bin/mandoc/main.c
1095
close(fd);
usr.bin/mandoc/main.c
935
close(fd);
usr.bin/mandoc/mandocdb.c
1164
close(fd);
usr.bin/mandoc/mandocdb.c
1282
close(fd);
usr.bin/mandoc/mandocdb.c
2273
close(fd1);
usr.bin/mandoc/mandocdb.c
2275
close(fd2);
usr.bin/mandoc/read.c
388
close(fd);
usr.bin/mandoc/read.c
486
close(fd);
usr.bin/mandoc/term_tag.c
133
close(ofd);
usr.bin/mandoc/term_tag.c
139
close(ofd);
usr.bin/mandoc/term_tag.c
141
close(tfd);
usr.bin/mandoc/term_tag.c
143
close(tag_files.ofd);
usr.bin/mandoc/term_tag.c
184
close(tag_files.ofd);
usr.bin/mg/dired.c
709
close(fds[0]);
usr.bin/mg/dired.c
718
close(infd);
usr.bin/mg/dired.c
719
close(fds[1]);
usr.bin/mg/dired.c
745
close(fds[0]);
usr.bin/mg/dired.c
747
close(fds[1]);
usr.bin/mg/dired.c
749
close(infd);
usr.bin/mg/fileio.c
118
close(fd);
usr.bin/mg/fileio.c
251
close(from);
usr.bin/mg/fileio.c
271
close(from);
usr.bin/mg/fileio.c
272
close(to);
usr.bin/mg/fileio.c
394
close(ifd);
usr.bin/mg/fileio.c
399
close(ifd);
usr.bin/mg/fileio.c
413
close(ifd);
usr.bin/mg/fileio.c
414
close(ofd);
usr.bin/mg/fileio.c
424
(void) close(ifd);
usr.bin/mg/fileio.c
425
(void) close(ofd);
usr.bin/mg/region.c
556
close(s[0]);
usr.bin/mg/region.c
570
close(s[1]);
usr.bin/mg/region.c
618
close(fd);
usr.bin/midicat/midicat.c
178
close(ifd);
usr.bin/midicat/midicat.c
180
close(ofd);
usr.bin/mktemp/mktemp.c
126
(void)close(fd);
usr.bin/nc/netcat.c
1073
close(s);
usr.bin/nc/netcat.c
583
close(s);
usr.bin/nc/netcat.c
651
close(connfd);
usr.bin/nc/netcat.c
664
close(s);
usr.bin/nc/netcat.c
682
close(s);
usr.bin/nc/netcat.c
734
close(s);
usr.bin/nc/netcat.c
761
close(s);
usr.bin/nc/netcat.c
768
close(s);
usr.bin/nc/netcat.c
889
close(s);
usr.bin/nc/netcat.c
895
close(s);
usr.bin/nc/netcat.c
914
close(s);
usr.bin/nc/netcat.c
994
close(s);
usr.bin/nc/socks.c
396
close(proxyfd);
usr.bin/netstat/net80211.c
141
close(s);
usr.bin/newsyslog/newsyslog.c
881
(void)close(fd);
usr.bin/nm/nm.c
900
close(pip[0]);
usr.bin/nm/nm.c
901
close(pip[1]);
usr.bin/nm/nm.c
906
close(pip[1]);
usr.bin/nm/nm.c
907
close(pip[0]);
usr.bin/nohup/nohup.c
130
(void)close(fd);
usr.bin/openssl/certhash.c
684
close(cwdfd);
usr.bin/openssl/s_client.c
1115
close(s);
usr.bin/openssl/s_client.c
1374
close(SSL_get_fd(con));
usr.bin/openssl/s_client.c
1634
close(SSL_get_fd(con));
usr.bin/openssl/s_server.c
1625
close(s);
usr.bin/openssl/s_server.c
1634
close(s);
usr.bin/openssl/s_server.c
1790
close(accept_socket);
usr.bin/openssl/s_socket.c
118
close(s);
usr.bin/openssl/s_socket.c
125
close(s);
usr.bin/openssl/s_socket.c
150
close(accept_socket);
usr.bin/openssl/s_socket.c
158
close(sock);
usr.bin/openssl/s_socket.c
164
close(accept_socket);
usr.bin/openssl/s_socket.c
214
close(s);
usr.bin/openssl/s_socket.c
256
close(ret);
usr.bin/openssl/s_socket.c
263
close(ret);
usr.bin/openssl/s_socket.c
269
close(ret);
usr.bin/openssl/speed.c
2753
close(fd[1]);
usr.bin/openssl/speed.c
2756
close(fd[0]);
usr.bin/openssl/speed.c
2757
close(1);
usr.bin/openssl/speed.c
2762
close(fd[1]);
usr.bin/passwd/pwd_check.c
118
close(pipefds[0]);
usr.bin/passwd/pwd_check.c
119
close(pipefds[1]);
usr.bin/passwd/pwd_check.c
170
close(pipefds[0]);
usr.bin/passwd/pwd_check.c
171
close(pipefds[1]);
usr.bin/passwd/pwd_check.c
184
close(pipefds[0]);
usr.bin/passwd/pwd_check.c
186
close(pipefds[1]);
usr.bin/patch/inp.c
163
close(fd);
usr.bin/patch/inp.c
190
close(ifd);
usr.bin/patch/inp.c
197
close(ifd);
usr.bin/patch/inp.c
365
close(tifd);
usr.bin/patch/inp.c
83
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
166
close(fromfd);
usr.bin/patch/util.c
167
close(tofd);
usr.bin/patch/util.c
67
close(fromfd);
usr.bin/pctr/pctr.c
345
close(fd);
usr.bin/pctr/pctr.c
349
return (close(fd));
usr.bin/pctr/pctr.c
362
close(fd);
usr.bin/pctr/pctr.c
366
return (close(fd));
usr.bin/pkgconf/libpkgconf/pkg.c
107
close(dirfd);
usr.bin/quota/quota.c
553
close(fd);
usr.bin/quota/quota.c
556
close(fd);
usr.bin/radioctl/radioctl.c
211
if (close(rd) == -1)
usr.bin/rcs/buf.c
131
(void)close(fd);
usr.bin/rcs/buf.c
296
(void)close(fd);
usr.bin/rcs/buf.c
321
(void)close(fd);
usr.bin/rcs/ci.c
263
(void)close(workfile_fd);
usr.bin/rcs/ci.c
270
(void)close(fd);
usr.bin/rcs/ci.c
271
(void)close(workfile_fd);
usr.bin/rcs/ci.c
568
(void)close(workfile_fd);
usr.bin/rcs/ci.c
688
(void)close(workfile_fd);
usr.bin/rcs/ci.c
774
(void)close(workfile_fd);
usr.bin/rcs/co.c
171
(void)close(fd);
usr.bin/rcs/co.c
478
(void)close(fd);
usr.bin/rcs/co.c
494
(void)close(fd);
usr.bin/rcs/rcsdiff.c
350
(void)close(fd);
usr.bin/rcs/rcsprog.c
325
close(fd);
usr.bin/rcs/rcsprog.c
394
(void)close(ofd);
usr.bin/rdist/child.c
119
(void) close(child->c_readfd);
usr.bin/rdist/child.c
480
(void) close(fildes[PIPE_WRITE]);
usr.bin/rdist/child.c
504
(void) close(fildes[PIPE_READ]);
usr.bin/rdist/client.c
409
(void) close(f);
usr.bin/rdist/client.c
455
(void) close(f);
usr.bin/rdist/common.c
686
(void) close(0);
usr.bin/rdist/common.c
687
(void) close(1);
usr.bin/rdist/common.c
688
(void) close(2);
usr.bin/rdist/common.c
692
(void) close(fd[PIPE_READ]);
usr.bin/rdist/common.c
693
(void) close(fd[PIPE_WRITE]);
usr.bin/rdist/common.c
697
(void) close(fd[PIPE_WRITE]);
usr.bin/rdist/common.c
738
(void) close(fd[PIPE_READ]);
usr.bin/rdist/docmd.c
124
(void) close(fd);
usr.bin/rdist/docmd.c
128
(void) close(fd);
usr.bin/rdist/docmd.c
142
(void) close(fd);
usr.bin/rdist/docmd.c
183
(void) close(fd);
usr.bin/rdist/docmd.c
79
(void) close(rem_w);
usr.bin/rdist/docmd.c
80
(void) close(rem_r); /* This can't hurt */
usr.bin/rdist/isexec.c
60
close(fd);
usr.bin/rdistd/server.c
765
(void) close(f);
usr.bin/rdistd/server.c
784
(void) close(f);
usr.bin/rdistd/server.c
791
(void) close(f);
usr.bin/rdistd/server.c
806
(void) close(f);
usr.bin/rdistd/server.c
814
(void) close(f);
usr.bin/rdistd/server.c
825
(void) close(f);
usr.bin/rdistd/server.c
842
(void) close(f);
usr.bin/rdistd/server.c
852
(void) close(f);
usr.bin/rdistd/server.c
856
(void) close(f);
usr.bin/rpcgen/rpc_main.c
319
(void) close(1);
usr.bin/rpcgen/rpc_main.c
321
(void) close(pd[0]);
usr.bin/rpcgen/rpc_main.c
329
(void) close(pd[1]);
usr.bin/rpcinfo/rpcinfo.c
335
(void) close(sock); /* Close it up again */
usr.bin/rpcinfo/rpcinfo.c
421
(void) close(sock);
usr.bin/rpcinfo/rpcinfo.c
439
(void) close(sock);
usr.bin/rsync/copy.c
79
close(dfd);
usr.bin/rsync/copy.c
90
close(fromfd);
usr.bin/rsync/copy.c
91
close(tofd);
usr.bin/rsync/downloader.c
153
close(p->ofd);
usr.bin/rsync/downloader.c
157
close(p->fd);
usr.bin/rsync/main.c
590
close(sd);
usr.bin/rsync/main.c
610
close(fds[0]);
usr.bin/rsync/main.c
631
close(fds[1]);
usr.bin/rsync/main.c
639
close(fds[0]);
usr.bin/rsync/mktemp.c
188
close(fd);
usr.bin/rsync/mktemp.c
192
close(fd);
usr.bin/rsync/mktemp.c
196
close(fd);
usr.bin/rsync/receiver.c
437
close(dfd);
usr.bin/rsync/sender.c
80
close(p->stat.fd);
usr.bin/rsync/socket.c
362
close(*sd);
usr.bin/rsync/socket.c
85
close(*sd);
usr.bin/rsync/uploader.c
1002
close(*fileinfd);
usr.bin/rsync/uploader.c
1014
close(*fileinfd);
usr.bin/rsync/uploader.c
1029
close(*fileinfd);
usr.bin/rsync/uploader.c
1036
close(*fileinfd);
usr.bin/rsync/uploader.c
774
close(dfd);
usr.bin/rsync/uploader.c
780
close(dfd);
usr.bin/rsync/uploader.c
995
close(*fileinfd);
usr.bin/rusers/rusers.c
621
(void)close(sock[0]);
usr.bin/rusers/rusers.c
623
(void)close(sock[1]);
usr.bin/rwall/rwall.c
152
(void)close(fd);
usr.bin/script/script.c
248
(void)close(STDIN_FILENO);
usr.bin/script/script.c
317
(void)close(master);
usr.bin/script/script.c
349
(void)close(master);
usr.bin/sdiff/edit.c
154
close(fd);
usr.bin/sdiff/sdiff.c
113
close(ifd);
usr.bin/sdiff/sdiff.c
146
close(ifd);
usr.bin/sdiff/sdiff.c
147
close(ofd);
usr.bin/sdiff/sdiff.c
319
close(fd[0]);
usr.bin/sdiff/sdiff.c
323
close(fd[1]);
usr.bin/sdiff/sdiff.c
333
close(fd[1]);
usr.bin/sed/process.c
621
if (cp->u.s->wfd != -1 && close(cp->u.s->wfd))
usr.bin/sed/process.c
626
if (cp->u.fd != -1 && close(cp->u.fd))
usr.bin/sendbug/sendbug.c
334
close(filedes[1]);
usr.bin/sendbug/sendbug.c
340
close(filedes[0]);
usr.bin/sendbug/sendbug.c
347
close(filedes[0]);
usr.bin/sendbug/sendbug.c
354
close(filedes[1]);
usr.bin/signify/signify.c
165
close(fd);
usr.bin/signify/signify.c
205
close(fd);
usr.bin/signify/signify.c
250
close(fd);
usr.bin/signify/signify.c
454
close(fd);
usr.bin/signify/signify.c
586
close(fd);
usr.bin/signify/zsig.c
230
close(fdout);
usr.bin/signify/zsig.c
231
close(fdin);
usr.bin/signify/zsig.c
317
close(fdout);
usr.bin/skeyaudit/skeyaudit.c
220
(void)close(pfd[0]);
usr.bin/skeyaudit/skeyaudit.c
221
(void)close(pfd[1]);
usr.bin/skeyaudit/skeyaudit.c
224
(void)close(pfd[1]);
usr.bin/skeyaudit/skeyaudit.c
226
(void)close(pfd[0]);
usr.bin/skeyaudit/skeyaudit.c
243
(void)close(pfd[0]);
usr.bin/skeyaudit/skeyaudit.c
63
close(nullfd);
usr.bin/sndiod/fdpass.c
118
close(fd);
usr.bin/sndiod/fdpass.c
330
close(sock);
usr.bin/sndiod/fdpass.c
344
close(f->fd);
usr.bin/sndiod/listen.c
157
close(sock);
usr.bin/sndiod/listen.c
212
close(s);
usr.bin/sndiod/listen.c
285
close(sock);
usr.bin/sndiod/listen.c
71
close(f->fd);
usr.bin/sndiod/sndiod.c
463
close(s[0]);
usr.bin/sndiod/sndiod.c
491
close(s[1]);
usr.bin/sndiod/sock.c
192
close(f->fd);
usr.bin/snmp/snmpc.c
1304
close(s);
usr.bin/sort/file.c
171
close(fd);
usr.bin/sort/file.c
549
close(fd);
usr.bin/sort/sort.c
1034
close(fd);
usr.bin/ssh/auth-rhosts.c
67
close(fd);
usr.bin/ssh/auth-rhosts.c
73
close(fd);
usr.bin/ssh/auth-rhosts.c
78
close(fd);
usr.bin/ssh/auth2-pubkeyfile.c
474
close(fd);
usr.bin/ssh/auth2-pubkeyfile.c
480
close(fd);
usr.bin/ssh/auth2-pubkeyfile.c
485
close(fd);
usr.bin/ssh/auth2.c
113
close(fd);
usr.bin/ssh/auth2.c
117
close(fd);
usr.bin/ssh/auth2.c
124
close(fd);
usr.bin/ssh/authfd.c
104
close(sock);
usr.bin/ssh/authfd.c
111
close(sock);
usr.bin/ssh/authfd.c
208
close(sock);
usr.bin/ssh/authfile.c
125
close(fd);
usr.bin/ssh/authfile.c
182
close(fd);
usr.bin/ssh/authfile.c
488
close(fd);
usr.bin/ssh/channels.c
2168
close(c->sock);
usr.bin/ssh/channels.c
2550
close(newsock);
usr.bin/ssh/channels.c
2556
close(newsock);
usr.bin/ssh/channels.c
3941
close(sock);
usr.bin/ssh/channels.c
3948
close(sock);
usr.bin/ssh/channels.c
4663
close(sock);
usr.bin/ssh/channels.c
5078
close(sock);
usr.bin/ssh/channels.c
5080
close(socks[n]);
usr.bin/ssh/channels.c
5101
close(sock);
usr.bin/ssh/channels.c
5138
close(sock);
usr.bin/ssh/channels.c
5228
close(sock);
usr.bin/ssh/channels.c
608
ret = close(fd);
usr.bin/ssh/hostfile.c
658
close(fd);
usr.bin/ssh/log.c
281
close(log_stderr_fd);
usr.bin/ssh/misc-agent.c
130
close(sock);
usr.bin/ssh/misc-agent.c
148
close(sock);
usr.bin/ssh/misc-agent.c
246
close(fd);
usr.bin/ssh/misc-agent.c
251
close(fd);
usr.bin/ssh/misc-agent.c
256
close(fd);
usr.bin/ssh/misc-agent.c
259
close(fd);
usr.bin/ssh/misc.c
1533
close(sock);
usr.bin/ssh/misc.c
1538
close(fd);
usr.bin/ssh/misc.c
1540
close(sock);
usr.bin/ssh/misc.c
1564
close(nullfd);
usr.bin/ssh/misc.c
1955
close(sock);
usr.bin/ssh/misc.c
1962
close(sock);
usr.bin/ssh/misc.c
2027
close(fd);
usr.bin/ssh/misc.c
2715
close(devnull);
usr.bin/ssh/misc.c
2801
close(p[0]);
usr.bin/ssh/misc.c
2802
close(p[1]);
usr.bin/ssh/misc.c
2875
close(p[1]);
usr.bin/ssh/misc.c
2877
close(p[0]);
usr.bin/ssh/misc.c
2880
close(p[0]);
usr.bin/ssh/moduli.c
418
close(r);
usr.bin/ssh/monitor.c
1482
close(0);
usr.bin/ssh/monitor.c
1502
close(s->ttyfd);
usr.bin/ssh/monitor.c
239
close(pmonitor->m_recvfd);
usr.bin/ssh/monitor.c
241
close(pmonitor->m_log_sendfd);
usr.bin/ssh/monitor.c
339
close(pmonitor->m_recvfd);
usr.bin/ssh/monitor.c
341
close(pmonitor->m_log_sendfd);
usr.bin/ssh/monitor.c
361
close(pmonitor->m_recvfd);
usr.bin/ssh/monitor.c
405
close(pmonitor->m_log_recvfd);
usr.bin/ssh/monitor_wrap.c
634
close(tmp1);
usr.bin/ssh/monitor_wrap.c
637
close(tmp1);
usr.bin/ssh/monitor_wrap.c
638
close(tmp2);
usr.bin/ssh/monitor_wrap.c
690
if (s->ptymaster != -1 && close(s->ptymaster) == -1)
usr.bin/ssh/mux.c
1026
close(new_fd[j]);
usr.bin/ssh/mux.c
1044
close(new_fd[0]);
usr.bin/ssh/mux.c
1045
close(new_fd[1]);
usr.bin/ssh/mux.c
1359
close(muxserver_sock);
usr.bin/ssh/mux.c
2146
close(fd);
usr.bin/ssh/mux.c
2413
close(sock);
usr.bin/ssh/mux.c
2424
close(sock);
usr.bin/ssh/mux.c
397
close(new_fd[j]);
usr.bin/ssh/mux.c
419
close(new_fd[0]);
usr.bin/ssh/mux.c
420
close(new_fd[1]);
usr.bin/ssh/mux.c
421
close(new_fd[2]);
usr.bin/ssh/packet.c
671
close(state->connection_out);
usr.bin/ssh/packet.c
673
close(state->connection_in);
usr.bin/ssh/packet.c
674
close(state->connection_out);
usr.bin/ssh/readpass.c
160
close(ttyfd);
usr.bin/ssh/readpass.c
71
close(p[0]);
usr.bin/ssh/readpass.c
79
close(p[1]);
usr.bin/ssh/readpass.c
93
close(p[0]);
usr.bin/ssh/scp.c
1058
(void) close(remin2);
usr.bin/ssh/scp.c
1059
(void) close(remout2);
usr.bin/ssh/scp.c
1081
(void) close(remin);
usr.bin/ssh/scp.c
1082
(void) close(remout);
usr.bin/ssh/scp.c
1232
(void) close(remin);
usr.bin/ssh/scp.c
1233
(void) close(remout);
usr.bin/ssh/scp.c
1248
(void) close(remin);
usr.bin/ssh/scp.c
1405
(void) close(fd);
usr.bin/ssh/scp.c
1437
if (close(fd) == -1 && !haderr)
usr.bin/ssh/scp.c
1838
(void) close(ofd);
usr.bin/ssh/scp.c
1907
if (close(ofd) == -1)
usr.bin/ssh/scp.c
2208
close(remin);
usr.bin/ssh/scp.c
2210
close(remout);
usr.bin/ssh/scp.c
2212
close(remin2);
usr.bin/ssh/scp.c
2214
close(remout2);
usr.bin/ssh/scp.c
286
close(sv[0]);
usr.bin/ssh/scp.c
287
close(sv[1]);
usr.bin/ssh/scp.c
308
close(sv[0]);
usr.bin/ssh/scp.c
648
(void) close(remin);
usr.bin/ssh/scp.c
650
(void) close(remout);
usr.bin/ssh/session.c
1145
close(auth_sock);
usr.bin/ssh/session.c
1151
close(ssh_packet_get_connection_in(ssh));
usr.bin/ssh/session.c
1153
close(ssh_packet_get_connection_in(ssh));
usr.bin/ssh/session.c
1154
close(ssh_packet_get_connection_out(ssh));
usr.bin/ssh/session.c
1930
if (s->ptymaster != -1 && close(s->ptymaster) == -1)
usr.bin/ssh/session.c
200
close(sock);
usr.bin/ssh/session.c
237
if (close(fd) != 0) {
usr.bin/ssh/session.c
245
close(fd);
usr.bin/ssh/session.c
363
close(pin[0]);
usr.bin/ssh/session.c
364
close(pin[1]);
usr.bin/ssh/session.c
369
close(pin[0]);
usr.bin/ssh/session.c
370
close(pin[1]);
usr.bin/ssh/session.c
371
close(pout[0]);
usr.bin/ssh/session.c
372
close(pout[1]);
usr.bin/ssh/session.c
388
close(inout[0]);
usr.bin/ssh/session.c
389
close(inout[1]);
usr.bin/ssh/session.c
401
close(pin[0]);
usr.bin/ssh/session.c
402
close(pin[1]);
usr.bin/ssh/session.c
403
close(pout[0]);
usr.bin/ssh/session.c
404
close(pout[1]);
usr.bin/ssh/session.c
405
close(perr[0]);
usr.bin/ssh/session.c
406
close(perr[1]);
usr.bin/ssh/session.c
408
close(inout[0]);
usr.bin/ssh/session.c
409
close(inout[1]);
usr.bin/ssh/session.c
410
close(err[0]);
usr.bin/ssh/session.c
411
close(err[1]);
usr.bin/ssh/session.c
429
close(pin[1]);
usr.bin/ssh/session.c
432
close(pin[0]);
usr.bin/ssh/session.c
435
close(pout[0]);
usr.bin/ssh/session.c
438
close(pout[1]);
usr.bin/ssh/session.c
441
close(perr[0]);
usr.bin/ssh/session.c
444
close(perr[1]);
usr.bin/ssh/session.c
451
close(inout[1]);
usr.bin/ssh/session.c
452
close(err[1]);
usr.bin/ssh/session.c
457
close(inout[0]);
usr.bin/ssh/session.c
460
close(err[0]);
usr.bin/ssh/session.c
474
close(pin[0]);
usr.bin/ssh/session.c
475
close(pout[1]);
usr.bin/ssh/session.c
476
close(perr[1]);
usr.bin/ssh/session.c
482
close(inout[0]);
usr.bin/ssh/session.c
483
close(err[0]);
usr.bin/ssh/session.c
521
close(ttyfd);
usr.bin/ssh/session.c
522
close(ptyfd);
usr.bin/ssh/session.c
528
close(ttyfd);
usr.bin/ssh/session.c
529
close(ptyfd);
usr.bin/ssh/session.c
530
close(fdout);
usr.bin/ssh/session.c
538
close(fdout);
usr.bin/ssh/session.c
539
close(ptymaster);
usr.bin/ssh/session.c
540
close(ttyfd);
usr.bin/ssh/session.c
541
close(ptyfd);
usr.bin/ssh/session.c
546
close(fdout);
usr.bin/ssh/session.c
547
close(ptymaster);
usr.bin/ssh/session.c
550
close(ptyfd);
usr.bin/ssh/session.c
564
close(ttyfd);
usr.bin/ssh/session.c
581
close(ttyfd);
usr.bin/ssh/sftp-client.c
1649
close(local_fd);
usr.bin/ssh/sftp-client.c
1855
close(local_fd);
usr.bin/ssh/sftp-client.c
2032
close(local_fd);
usr.bin/ssh/sftp-client.c
2037
close(local_fd);
usr.bin/ssh/sftp-client.c
2051
close(local_fd);
usr.bin/ssh/sftp-client.c
2058
close(local_fd);
usr.bin/ssh/sftp-client.c
2063
close(local_fd);
usr.bin/ssh/sftp-client.c
2078
close(local_fd);
usr.bin/ssh/sftp-client.c
2203
if (close(local_fd) == -1) {
usr.bin/ssh/sftp-server.c
453
ret = close(handles[handle].fd);
usr.bin/ssh/sftp-server.c
761
close(fd);
usr.bin/ssh/sftp.c
2374
close(*in);
usr.bin/ssh/sftp.c
2375
close(*out);
usr.bin/ssh/sftp.c
2376
close(c_in);
usr.bin/ssh/sftp.c
2377
close(c_out);
usr.bin/ssh/sftp.c
2400
close(c_in);
usr.bin/ssh/sftp.c
2401
close(c_out);
usr.bin/ssh/sftp.c
2666
close(in);
usr.bin/ssh/sftp.c
2667
close(out);
usr.bin/ssh/ssh-add.c
294
close(fd);
usr.bin/ssh/ssh-add.c
302
close(fd);
usr.bin/ssh/ssh-add.c
305
close(fd);
usr.bin/ssh/ssh-agent.c
1970
close(fd);
usr.bin/ssh/ssh-agent.c
1976
close(fd);
usr.bin/ssh/ssh-agent.c
198
close(e->fd);
usr.bin/ssh/ssh-agent.c
2460
close(sock);
usr.bin/ssh/ssh-keygen.c
1048
(void)close(fd); /* just using mkstemp() to reserve a name */
usr.bin/ssh/ssh-keygen.c
1071
(void)close(fd);
usr.bin/ssh/ssh-keygen.c
2599
close(wfd);
usr.bin/ssh/ssh-keygen.c
2714
close(fd);
usr.bin/ssh/ssh-keygen.c
2722
close(fd);
usr.bin/ssh/ssh-keyscan.c
352
close(s);
usr.bin/ssh/ssh-keyscan.c
411
close(s);
usr.bin/ssh/ssh-keysign.c
190
close(fd);
usr.bin/ssh/ssh-keysign.c
240
close(key_fd[i]);
usr.bin/ssh/ssh-pkcs11-client.c
130
close(helper->fd);
usr.bin/ssh/ssh-pkcs11-client.c
344
close(pair[0]);
usr.bin/ssh/ssh-pkcs11-client.c
345
close(pair[1]);
usr.bin/ssh/ssh-pkcs11-client.c
354
close(pair[0]);
usr.bin/ssh/ssh-pkcs11-client.c
355
close(pair[1]);
usr.bin/ssh/ssh-pkcs11-client.c
368
close(pair[1]);
usr.bin/ssh/ssh-sk-client.c
108
close(pair[1]);
usr.bin/ssh/ssh-sk-client.c
110
close(execpipe[1]);
usr.bin/ssh/ssh-sk-client.c
112
close(execpipe[0]);
usr.bin/ssh/ssh-sk-client.c
226
close(fd);
usr.bin/ssh/ssh-sk-client.c
71
close(execpipe[0]);
usr.bin/ssh/ssh-sk-client.c
72
close(execpipe[1]);
usr.bin/ssh/ssh-sk-client.c
79
close(pair[0]);
usr.bin/ssh/ssh-sk-client.c
80
close(pair[1]);
usr.bin/ssh/ssh-sk-client.c
81
close(execpipe[0]);
usr.bin/ssh/ssh-sk-client.c
82
close(execpipe[1]);
usr.bin/ssh/ssh-sk-client.c
88
close(execpipe[0]);
usr.bin/ssh/ssh-sk-client.c
97
close(pair[0]);
usr.bin/ssh/ssh-sk-client.c
98
close(pair[1]);
usr.bin/ssh/ssh-sk-helper.c
323
close(STDIN_FILENO);
usr.bin/ssh/ssh-sk-helper.c
324
close(STDOUT_FILENO);
usr.bin/ssh/ssh-sk-helper.c
331
close(in);
usr.bin/ssh/ssh-sk-helper.c
368
close(out);
usr.bin/ssh/ssh.c
1858
close(muxserver_sock);
usr.bin/ssh/sshbuf-io.c
106
sshbuf_len(buf)) != sshbuf_len(buf) || close(fd) != 0) {
usr.bin/ssh/sshbuf-io.c
108
close(fd);
usr.bin/ssh/sshbuf-io.c
92
close(fd);
usr.bin/ssh/sshconnect.c
120
close(sp[1]);
usr.bin/ssh/sshconnect.c
131
close(sp[0]);
usr.bin/ssh/sshconnect.c
157
close(sp[0]);
usr.bin/ssh/sshconnect.c
162
close(sp[1]);
usr.bin/ssh/sshconnect.c
1721
close(auth_sock);
usr.bin/ssh/sshconnect.c
1733
close(auth_sock);
usr.bin/ssh/sshconnect.c
204
close(pin[1]);
usr.bin/ssh/sshconnect.c
208
close(pin[0]);
usr.bin/ssh/sshconnect.c
210
close(pout[0]);
usr.bin/ssh/sshconnect.c
214
close(pout[1]);
usr.bin/ssh/sshconnect.c
245
close(pin[0]);
usr.bin/ssh/sshconnect.c
246
close(pout[1]);
usr.bin/ssh/sshconnect.c
401
close(sock);
usr.bin/ssh/sshconnect.c
487
close(sock);
usr.bin/ssh/sshconnect.c
532
close(in);
usr.bin/ssh/sshconnect2.c
1650
close(agent_fd);
usr.bin/ssh/sshconnect2.c
2053
close(from[0]);
usr.bin/ssh/sshconnect2.c
2056
close(to[1]);
usr.bin/ssh/sshconnect2.c
2059
close(from[1]);
usr.bin/ssh/sshconnect2.c
2060
close(to[0]);
usr.bin/ssh/sshconnect2.c
2075
close(from[1]);
usr.bin/ssh/sshconnect2.c
2076
close(to[0]);
usr.bin/ssh/sshconnect2.c
2089
close(from[0]);
usr.bin/ssh/sshconnect2.c
2090
close(to[1]);
usr.bin/ssh/sshd-session.c
1171
close(startup_pipe);
usr.bin/ssh/sshd-session.c
315
close(pmonitor->m_sendfd);
usr.bin/ssh/sshd-session.c
316
close(pmonitor->m_log_recvfd);
usr.bin/ssh/sshd-session.c
376
close(pmonitor->m_sendfd);
usr.bin/ssh/sshd.c
1116
close(*newsock);
usr.bin/ssh/sshd.c
1123
close(*newsock);
usr.bin/ssh/sshd.c
1128
close(*newsock);
usr.bin/ssh/sshd.c
1129
close(config_s[0]);
usr.bin/ssh/sshd.c
1130
close(config_s[1]);
usr.bin/ssh/sshd.c
1149
close(config_s[0]);
usr.bin/ssh/sshd.c
1180
close(config_s[0]);
usr.bin/ssh/sshd.c
1192
close(config_s[1]);
usr.bin/ssh/sshd.c
1193
close(*newsock);
usr.bin/ssh/sshd.c
1758
close(config_s[0]);
usr.bin/ssh/sshd.c
1808
close(newsock);
usr.bin/ssh/sshd.c
1813
close(config_s[1]);
usr.bin/ssh/sshd.c
194
close(listen_socks[i]);
usr.bin/ssh/sshd.c
272
close(child->pipefd);
usr.bin/ssh/sshd.c
295
close(child->pipefd);
usr.bin/ssh/sshd.c
821
close(listen_sock);
usr.bin/ssh/sshd.c
826
close(listen_sock);
usr.bin/ssh/sshd.c
833
close(listen_sock);
usr.bin/ssh/sshd.c
843
close(listen_sock);
usr.bin/ssh/sshlogin.c
101
close(fd);
usr.bin/ssh/sshlogin.c
104
close(fd);
usr.bin/ssh/sshlogin.c
186
close(fd);
usr.bin/ssh/sshlogin.c
92
close(fd);
usr.bin/ssh/sshlogin.c
97
close(fd);
usr.bin/ssh/sshpty.c
109
close(fd);
usr.bin/ssh/sshpty.c
117
close(fd);
usr.bin/ssh/sshpty.c
195
close(fd);
usr.bin/ssh/sshpty.c
84
close(fd);
usr.bin/ssh/sshpty.c
97
close(fd);
usr.bin/systat/if.c
304
close(s);
usr.bin/tail/forward.c
193
close(kq);
usr.bin/talk/invite.c
106
close(sockt);
usr.bin/talk/look_up.c
82
close(sockt);
usr.bin/tcpbench/tcpbench.c
626
close(sc->fd);
usr.bin/tcpbench/tcpbench.c
793
close(sock);
usr.bin/tcpbench/tcpbench.c
807
close(sock);
usr.bin/tcpbench/tcpbench.c
931
close(sock);
usr.bin/tee/tee.c
136
if (close(p->fd) == -1) {
usr.bin/telnet/commands.c
1197
(void)close(net);
usr.bin/telnet/commands.c
1848
close(net);
usr.bin/telnet/commands.c
1854
(void) close(net); /* dump descriptor */
usr.bin/telnet/commands.c
1885
close(net);
usr.bin/telnet/commands.c
1918
(void)close(net);
usr.bin/telnet/network.c
128
(void)close(net);
usr.bin/tftp/main.c
189
close(f);
usr.bin/tftp/main.c
220
close(f);
usr.bin/tmux/client.c
135
close(fd);
usr.bin/tmux/client.c
162
close(lockfd);
usr.bin/tmux/client.c
170
close(lockfd);
usr.bin/tmux/client.c
178
close(lockfd);
usr.bin/tmux/client.c
180
close(fd);
usr.bin/tmux/client.c
332
close(ptm_fd);
usr.bin/tmux/client.c
96
close(lockfd);
usr.bin/tmux/cmd-pipe-pane.c
138
close(pipe_fd[0]);
usr.bin/tmux/cmd-pipe-pane.c
155
close(pipe_fd[1]);
usr.bin/tmux/cmd-pipe-pane.c
169
close(pipe_fd[1]);
usr.bin/tmux/cmd-pipe-pane.c
229
close(wp->pipe_fd);
usr.bin/tmux/cmd-pipe-pane.c
81
close(wp->pipe_fd);
usr.bin/tmux/control.c
771
close(c->out_fd);
usr.bin/tmux/file.c
477
struct msg_write_close close;
usr.bin/tmux/file.c
501
close.stream = cf->stream;
usr.bin/tmux/file.c
502
proc_send(cf->peer, MSG_WRITE_CLOSE, -1, &close, sizeof close);
usr.bin/tmux/file.c
540
close(cf->fd);
usr.bin/tmux/file.c
560
close(cf->fd);
usr.bin/tmux/file.c
608
close(msg->fd); /* can only be used once */
usr.bin/tmux/file.c
669
close(cf->fd);
usr.bin/tmux/file.c
690
close(cf->fd);
usr.bin/tmux/file.c
769
close(msg->fd); /* can only be used once */
usr.bin/tmux/job.c
136
close(out[0]);
usr.bin/tmux/job.c
137
close(out[1]);
usr.bin/tmux/job.c
176
close(nullfd);
usr.bin/tmux/job.c
179
close(out[1]);
usr.bin/tmux/job.c
180
close(out[0]);
usr.bin/tmux/job.c
221
close(out[1]);
usr.bin/tmux/job.c
286
close(job->fd);
usr.bin/tmux/popup.c
447
pd->close = 1;
usr.bin/tmux/popup.c
491
pd->close = 1;
usr.bin/tmux/popup.c
56
int close;
usr.bin/tmux/popup.c
568
if (pd->close)
usr.bin/tmux/proc.c
332
close(peer->ibuf.fd);
usr.bin/tmux/proc.c
366
close(pair[0]);
usr.bin/tmux/proc.c
372
close(pair[1]);
usr.bin/tmux/proc.c
96
close(fd);
usr.bin/tmux/server-client.c
2472
close(c->fd);
usr.bin/tmux/server-client.c
2479
close(c->out_fd);
usr.bin/tmux/server-client.c
503
close(c->out_fd);
usr.bin/tmux/server-client.c
505
close(c->fd);
usr.bin/tmux/server-fn.c
329
close(wp->fd);
usr.bin/tmux/server.c
134
close(fd);
usr.bin/tmux/server.c
142
close(fd);
usr.bin/tmux/server.c
229
close(lockfd);
usr.bin/tmux/server.c
387
close(newfd);
usr.bin/tmux/server.c
443
close(server_fd);
usr.bin/tmux/spawn.c
262
close(sc->wp0->fd);
usr.bin/tmux/window-copy.c
1730
char open[] = "{[(", close[] = "}])";
usr.bin/tmux/window-copy.c
1755
cp = strchr(close, found);
usr.bin/tmux/window-copy.c
1764
window_copy_cursor_previous_word(wme, close, 1);
usr.bin/tmux/window-copy.c
1768
start = open[cp - close];
usr.bin/tmux/window-copy.c
1816
char open[] = "{[(", close[] = "}])";
usr.bin/tmux/window-copy.c
1849
cp = strchr(close, found);
usr.bin/tmux/window-copy.c
1862
strchr(close, *gc.data.data) != NULL)
usr.bin/tmux/window-copy.c
1895
end = close[cp - open];
usr.bin/tmux/window.c
1009
close(wp->fd);
usr.bin/tmux/window.c
1020
close(wp->pipe_fd);
usr.bin/touch/touch.c
149
if (close(fd) == -1) {
usr.bin/vacation/vacation.c
161
(void)(db->close)(db);
usr.bin/vacation/vacation.c
174
(void)(db->close)(db);
usr.bin/vacation/vacation.c
177
(void)(db->close)(db);
usr.bin/vacation/vacation.c
471
close(pvect[0]);
usr.bin/vacation/vacation.c
472
close(pvect[1]);
usr.bin/vacation/vacation.c
473
close(fileno(mfp));
usr.bin/vacation/vacation.c
479
close(pvect[0]);
usr.bin/vacation/vacation.c
484
close(pvect[1]);
usr.bin/vi/cl/cl_main.c
189
(void)close(fd);
usr.bin/vi/common/exf.c
1023
(void)close(rfd);
usr.bin/vi/common/exf.c
1035
(void)close(rfd);
usr.bin/vi/common/exf.c
1110
close(wfd);
usr.bin/vi/common/exf.c
1129
if (close(rfd)) {
usr.bin/vi/common/exf.c
1133
if (close(wfd)) {
usr.bin/vi/common/exf.c
1143
(void)close(rfd);
usr.bin/vi/common/exf.c
1146
(void)close(wfd);
usr.bin/vi/common/exf.c
198
close(fd);
usr.bin/vi/common/exf.c
203
(void)close(fd);
usr.bin/vi/common/exf.c
436
(void)ep->db->close(ep->db);
usr.bin/vi/common/exf.c
680
if (ep->db->close != NULL && ep->db->close(ep->db) && !force) {
usr.bin/vi/common/exf.c
713
(void)close(ep->fcntl_fd);
usr.bin/vi/common/exf.c
715
(void)close(ep->rcv_fd);
usr.bin/vi/common/exf.c
847
(void)close(fd);
usr.bin/vi/common/log.c
124
(void)(ep->log->close)(ep->log);
usr.bin/vi/common/log.c
639
(void)ep->log->close(ep->log);
usr.bin/vi/common/main.c
592
(void)close(fd);
usr.bin/vi/common/main.c
596
(void)close(fd);
usr.bin/vi/common/recover.c
158
(void)close(fd);
usr.bin/vi/common/recover.c
294
close(fd) || rcv_mailfile(sp, 1, buf)) {
usr.bin/vi/common/recover.c
296
(void)close(fd);
usr.bin/vi/common/recover.c
442
if (close(fd)) {
usr.bin/vi/common/recover.c
452
(void)close(fd);
usr.bin/vi/common/recover.c
505
close(fd);
usr.bin/vi/common/recover.c
549
close(fd);
usr.bin/vi/common/recover.c
695
(void)close(sv_fd);
usr.bin/vi/common/recover.c
698
next: (void)close(fd);
usr.bin/vi/common/recover.c
725
(void)close(sv_fd);
usr.bin/vi/common/recover.c
808
close(fd);
usr.bin/vi/common/recover.c
860
close(fd);
usr.bin/vi/ex/ex_argv.c
632
close(std_output[0]);
usr.bin/vi/ex/ex_argv.c
634
close(std_output[0]);
usr.bin/vi/ex/ex_argv.c
641
(void)close(std_output[0]);
usr.bin/vi/ex/ex_argv.c
642
(void)close(std_output[1]);
usr.bin/vi/ex/ex_argv.c
643
(void)close(STDERR_FILENO);
usr.bin/vi/ex/ex_argv.c
654
(void)close(std_output[1]);
usr.bin/vi/ex/ex_filter.c
134
(void)close(input[0]);
usr.bin/vi/ex/ex_filter.c
136
(void)close(input[1]);
usr.bin/vi/ex/ex_filter.c
140
(void)close(output[0]);
usr.bin/vi/ex/ex_filter.c
142
(void)close(output[1]);
usr.bin/vi/ex/ex_filter.c
162
(void)close(input[0]);
usr.bin/vi/ex/ex_filter.c
164
(void)close(input[1]);
usr.bin/vi/ex/ex_filter.c
165
(void)close(output[0]);
usr.bin/vi/ex/ex_filter.c
166
(void)close(output[1]);
usr.bin/vi/ex/ex_filter.c
180
(void)close(input[0]);
usr.bin/vi/ex/ex_filter.c
181
(void)close(output[1]);
usr.bin/vi/ex/ex_filter.c
206
(void)close(input[1]);
usr.bin/vi/ex/ex_filter.c
246
(void)close(input[1]);
usr.bin/vi/ex/ex_filter.c
247
(void)close(output[0]);
usr.bin/vi/ex/ex_filter.c
256
(void)close(output[0]);
usr.bin/vi/ex/ex_filter.c
263
(void)close(input[1]);
usr.bin/vi/ex/ex_filter.c
87
(void)close(fd);
usr.bin/vi/ex/ex_filter.c
96
(void)close(fd);
usr.bin/vi/ex/ex_init.c
218
close(fd);
usr.bin/vi/ex/ex_init.c
229
close(fd);
usr.bin/vi/ex/ex_init.c
358
close(*fdp);
usr.bin/vi/ex/ex_init.c
415
close(*fdp);
usr.bin/vi/ex/ex_mkexrc.c
72
(void)close(fd);
usr.bin/vi/ex/ex_script.c
132
(void)close(sc->sh_master);
usr.bin/vi/ex/ex_script.c
134
(void)close(sc->sh_slave);
usr.bin/vi/ex/ex_script.c
153
(void)close(sc->sh_master);
usr.bin/vi/ex/ex_script.c
157
(void)close(sc->sh_slave);
usr.bin/vi/ex/ex_script.c
641
(void)close(sc->sh_master);
usr.bin/vi/ex/ex_script.c
643
(void)close(sc->sh_slave);
usr.bin/vi/ex/ex_source.c
63
(void)close(fd);
usr.bin/vi/ex/ex_source.c
70
(void)close(fd);
usr.bin/vi/ex/ex_tag.c
1011
(void)close(fd);
usr.bin/vi/ex/ex_tag.c
1105
if (close(fd))
usr.bin/wall/ttymsg.c
101
close(fd);
usr.bin/wall/ttymsg.c
138
(void) close(fd);
usr.bin/wall/ttymsg.c
145
(void) close(fd);
usr.bin/wall/ttymsg.c
149
(void) close(fd);
usr.bin/wall/ttymsg.c
172
(void) close(fd);
usr.bin/wall/ttymsg.c
180
(void) close(fd);
usr.bin/wall/wall.c
257
(void)close(fd);
usr.bin/watch/watch.c
465
close(fds[0]);
usr.bin/watch/watch.c
468
close(fds[1]);
usr.bin/watch/watch.c
479
close(fds[1]);
usr.bin/watch/watch.c
505
close(child->fd);
usr.bin/wc/wc.c
223
close(fd);
usr.bin/wc/wc.c
267
if ((stream == NULL ? close(fd) : fclose(stream)) != 0) {
usr.bin/whois/whois.c
194
close(s);
usr.bin/write/write.c
133
(void)close(ufd);
usr.bin/write/write.c
137
(void)close(ufd);
usr.bin/write/write.c
186
(void)close(ufd);
usr.bin/write/write.c
246
close(fd);
usr.bin/xargs/xargs.c
551
close(fd);
usr.bin/xinstall/xinstall.c
279
close(to_fd);
usr.bin/xinstall/xinstall.c
316
(void)close(temp_fd);
usr.bin/xinstall/xinstall.c
320
(void)close(to_fd);
usr.bin/xinstall/xinstall.c
364
(void)close(to_fd);
usr.bin/xinstall/xinstall.c
366
(void)close(from_fd);
usr.sbin/acme-client/acctproc.c
553
close(netsock);
usr.sbin/acme-client/certproc.c
129
close(netsock);
usr.sbin/acme-client/certproc.c
130
close(filesock);
usr.sbin/acme-client/chngproc.c
129
if (close(fd) == -1) {
usr.sbin/acme-client/chngproc.c
155
close(netsock);
usr.sbin/acme-client/chngproc.c
157
close(fd);
usr.sbin/acme-client/dnsproc.c
180
close(nfd);
usr.sbin/acme-client/fileproc.c
215
close(certsock);
usr.sbin/acme-client/fileproc.c
75
if (close(fd) == -1)
usr.sbin/acme-client/fileproc.c
86
close(fd);
usr.sbin/acme-client/http.c
175
if (close(http->fd) == -1)
usr.sbin/acme-client/http.c
251
close(fd);
usr.sbin/acme-client/http.c
260
close(fd);
usr.sbin/acme-client/keyproc.c
258
close(netsock);
usr.sbin/acme-client/main.c
214
close(key_fds[0]);
usr.sbin/acme-client/main.c
215
close(acct_fds[0]);
usr.sbin/acme-client/main.c
216
close(chng_fds[0]);
usr.sbin/acme-client/main.c
217
close(cert_fds[0]);
usr.sbin/acme-client/main.c
218
close(file_fds[0]);
usr.sbin/acme-client/main.c
219
close(file_fds[1]);
usr.sbin/acme-client/main.c
220
close(dns_fds[0]);
usr.sbin/acme-client/main.c
221
close(rvk_fds[0]);
usr.sbin/acme-client/main.c
229
close(key_fds[1]);
usr.sbin/acme-client/main.c
230
close(acct_fds[1]);
usr.sbin/acme-client/main.c
231
close(chng_fds[1]);
usr.sbin/acme-client/main.c
232
close(cert_fds[1]);
usr.sbin/acme-client/main.c
233
close(dns_fds[1]);
usr.sbin/acme-client/main.c
234
close(rvk_fds[1]);
usr.sbin/acme-client/main.c
243
close(cert_fds[0]);
usr.sbin/acme-client/main.c
244
close(dns_fds[0]);
usr.sbin/acme-client/main.c
245
close(rvk_fds[0]);
usr.sbin/acme-client/main.c
246
close(acct_fds[0]);
usr.sbin/acme-client/main.c
247
close(chng_fds[0]);
usr.sbin/acme-client/main.c
248
close(file_fds[0]);
usr.sbin/acme-client/main.c
249
close(file_fds[1]);
usr.sbin/acme-client/main.c
254
close(key_fds[0]);
usr.sbin/acme-client/main.c
263
close(cert_fds[0]);
usr.sbin/acme-client/main.c
264
close(dns_fds[0]);
usr.sbin/acme-client/main.c
265
close(rvk_fds[0]);
usr.sbin/acme-client/main.c
266
close(chng_fds[0]);
usr.sbin/acme-client/main.c
267
close(file_fds[0]);
usr.sbin/acme-client/main.c
268
close(file_fds[1]);
usr.sbin/acme-client/main.c
274
close(acct_fds[0]);
usr.sbin/acme-client/main.c
283
close(cert_fds[0]);
usr.sbin/acme-client/main.c
284
close(dns_fds[0]);
usr.sbin/acme-client/main.c
285
close(rvk_fds[0]);
usr.sbin/acme-client/main.c
286
close(file_fds[0]);
usr.sbin/acme-client/main.c
287
close(file_fds[1]);
usr.sbin/acme-client/main.c
292
close(chng_fds[0]);
usr.sbin/acme-client/main.c
301
close(dns_fds[0]);
usr.sbin/acme-client/main.c
302
close(rvk_fds[0]);
usr.sbin/acme-client/main.c
303
close(file_fds[1]);
usr.sbin/acme-client/main.c
308
close(cert_fds[0]);
usr.sbin/acme-client/main.c
309
close(file_fds[0]);
usr.sbin/acme-client/main.c
318
close(dns_fds[0]);
usr.sbin/acme-client/main.c
319
close(rvk_fds[0]);
usr.sbin/acme-client/main.c
329
close(file_fds[1]);
usr.sbin/acme-client/main.c
338
close(rvk_fds[0]);
usr.sbin/acme-client/main.c
343
close(dns_fds[0]);
usr.sbin/acme-client/main.c
357
close(rvk_fds[0]);
usr.sbin/acme-client/netproc.c
972
close(cfd);
usr.sbin/acme-client/netproc.c
973
close(kfd);
usr.sbin/acme-client/netproc.c
974
close(afd);
usr.sbin/acme-client/netproc.c
975
close(Cfd);
usr.sbin/acme-client/netproc.c
976
close(dfd);
usr.sbin/acme-client/netproc.c
977
close(rfd);
usr.sbin/acme-client/revokeproc.c
397
close(fd);
usr.sbin/acpidump/acpidump.c
381
close(fd);
usr.sbin/amd/amd/amd.c
176
(void) close(t);
usr.sbin/amd/amd/nfs_start.c
76
close(next_fd);
usr.sbin/amd/amq/amq.c
323
close(s);
usr.sbin/amd/amq/amq.c
543
close(sock);
usr.sbin/amd/amq/amq.c
547
close(sock);
usr.sbin/apm/apm.c
143
close(sock);
usr.sbin/apmd/apmd.c
251
(void) close(cli_fd);
usr.sbin/apmd/apmd.c
257
close(cli_fd); /* terminate client */
usr.sbin/apmd/apmd.c
316
close(cli_fd);
usr.sbin/apmd/apmd.c
334
close(fd);
usr.sbin/arp/arp.c
836
(void)close(bpf);
usr.sbin/authpf/authpf.c
222
close(pidfd);
usr.sbin/bgpctl/bgpctl.c
454
close(fd);
usr.sbin/bgpd/bgpd.c
1269
close(i->fd);
usr.sbin/bgpd/bgpd.c
1277
close(i->fd);
usr.sbin/bgpd/bgpd.c
1283
close(i->fd);
usr.sbin/bgpd/bgpd.c
1441
close(ce->fd);
usr.sbin/bgpd/bgpd.c
1490
close(fd);
usr.sbin/bgpd/bgpd.c
462
close(ibuf_se->fd);
usr.sbin/bgpd/bgpd.c
468
close(ibuf_rde->fd);
usr.sbin/bgpd/bgpd.c
474
close(ibuf_rtr->fd);
usr.sbin/bgpd/bgpd.c
532
close(fd);
usr.sbin/bgpd/carp.c
124
close(s);
usr.sbin/bgpd/carp.c
128
close(s);
usr.sbin/bgpd/carp.c
182
close(s);
usr.sbin/bgpd/config.c
631
close(la->fd);
usr.sbin/bgpd/control.c
107
close(fd);
usr.sbin/bgpd/control.c
116
close(fd);
usr.sbin/bgpd/control.c
138
close(fd);
usr.sbin/bgpd/control.c
180
close(connfd);
usr.sbin/bgpd/control.c
188
close(connfd);
usr.sbin/bgpd/control.c
234
close(c->imsgbuf.fd);
usr.sbin/bgpd/control.c
59
close(fd);
usr.sbin/bgpd/control.c
63
close(fd);
usr.sbin/bgpd/control.c
86
close(fd);
usr.sbin/bgpd/control.c
93
close(fd);
usr.sbin/bgpd/kroute.c
2662
close(s);
usr.sbin/bgpd/kroute.c
2668
close(s);
usr.sbin/bgpd/kroute.c
2672
close(s);
usr.sbin/bgpd/mrt.c
1114
close(mrt->fd);
usr.sbin/bgpd/rde.c
1319
close(fd);
usr.sbin/bgpd/rde.c
374
close(ibuf_se->fd);
usr.sbin/bgpd/rde.c
379
close(ibuf_se_ctl->fd);
usr.sbin/bgpd/rde.c
384
close(ibuf_rtr->fd);
usr.sbin/bgpd/rde.c
388
close(ibuf_main->fd);
usr.sbin/bgpd/rtr.c
303
close(ibuf_rde->fd);
usr.sbin/bgpd/rtr.c
307
close(ibuf_main->fd);
usr.sbin/bgpd/rtr.c
361
close(fd);
usr.sbin/bgpd/rtr_proto.c
1136
close(rs->fd);
usr.sbin/bgpd/session.c
124
close(la->fd);
usr.sbin/bgpd/session.c
1416
close(mrt->fd);
usr.sbin/bgpd/session.c
158
close(la->fd);
usr.sbin/bgpd/session.c
551
close(ibuf_rde->fd);
usr.sbin/bgpd/session.c
556
close(ibuf_rde_ctl->fd);
usr.sbin/bgpd/session.c
561
close(ibuf_main->fd);
usr.sbin/bgpd/session.c
733
close(connfd);
usr.sbin/bgpd/session.c
742
close(connfd);
usr.sbin/bgpd/session.c
748
close(connfd);
usr.sbin/bgpd/session.c
753
close(connfd);
usr.sbin/bgpd/session.c
766
close(connfd);
usr.sbin/bgpd/session.c
933
close(peer->fd);
usr.sbin/bgplgd/slowcgi.c
1001
close(s_in[1]);
usr.sbin/bgplgd/slowcgi.c
1002
close(s_out[1]);
usr.sbin/bgplgd/slowcgi.c
1003
close(s_err[1]);
usr.sbin/bgplgd/slowcgi.c
1015
close(s_in[1]);
usr.sbin/bgplgd/slowcgi.c
1016
close(s_out[1]);
usr.sbin/bgplgd/slowcgi.c
1017
close(s_err[1]);
usr.sbin/bgplgd/slowcgi.c
1030
close(s_in[0]); /* close stdin, bgpctl does not expect anything */
usr.sbin/bgplgd/slowcgi.c
1087
close(fd);
usr.sbin/bgplgd/slowcgi.c
1183
close(EVENT_FD(&c->script_ev));
usr.sbin/bgplgd/slowcgi.c
1187
close(EVENT_FD(&c->script_err_ev));
usr.sbin/bgplgd/slowcgi.c
1191
close(c->fd);
usr.sbin/bgplgd/slowcgi.c
298
close(fd);
usr.sbin/bgplgd/slowcgi.c
485
close(s);
usr.sbin/bgplgd/slowcgi.c
527
close(EVENT_FD(&c->script_ev));
usr.sbin/bgplgd/slowcgi.c
531
close(EVENT_FD(&c->script_err_ev));
usr.sbin/bgplgd/slowcgi.c
975
close(s_in[0]);
usr.sbin/bgplgd/slowcgi.c
976
close(s_out[0]);
usr.sbin/bgplgd/slowcgi.c
977
close(s_err[0]);
usr.sbin/bgplgd/slowcgi.c
979
close(s_in[1]);
usr.sbin/bgplgd/slowcgi.c
980
close(s_out[1]);
usr.sbin/bgplgd/slowcgi.c
981
close(s_err[1]);
usr.sbin/bgplgd/slowcgi.c
990
close(s_in[0]);
usr.sbin/bgplgd/slowcgi.c
991
close(s_out[0]);
usr.sbin/bgplgd/slowcgi.c
992
close(s_err[0]);
usr.sbin/bpflogd/bpflogd.c
288
close(fd);
usr.sbin/bpflogd/bpflogd.c
437
close(bd->bd_fd);
usr.sbin/bpflogd/bpflogd.c
472
goto close;
usr.sbin/bpflogd/bpflogd.c
479
goto close;
usr.sbin/bpflogd/bpflogd.c
484
goto close;
usr.sbin/bpflogd/bpflogd.c
493
goto close;
usr.sbin/bpflogd/bpflogd.c
497
goto close;
usr.sbin/bpflogd/bpflogd.c
503
goto close;
usr.sbin/bpflogd/bpflogd.c
509
goto close;
usr.sbin/bpflogd/bpflogd.c
513
goto close;
usr.sbin/bpflogd/bpflogd.c
517
goto close;
usr.sbin/bpflogd/bpflogd.c
521
goto close;
usr.sbin/bpflogd/bpflogd.c
526
close:
usr.sbin/bpflogd/bpflogd.c
527
close(fd);
usr.sbin/btrace/btrace.c
225
close(fd);
usr.sbin/btrace/ksyms.c
281
close(dtrv.dtrv_fd);
usr.sbin/btrace/ksyms.c
292
close(dtrv.dtrv_fd);
usr.sbin/btrace/ksyms.c
377
close(fd);
usr.sbin/btrace/ksyms.c
383
close(fd);
usr.sbin/config/exec_elf.c
135
close(fd);
usr.sbin/config/exec_elf.c
149
close(fd);
usr.sbin/cron/atrun.c
236
close(dfd);
usr.sbin/cron/atrun.c
358
close(fd);
usr.sbin/cron/atrun.c
363
close(cronSock);
usr.sbin/cron/atrun.c
364
close(dfd);
usr.sbin/cron/atrun.c
464
close(fd);
usr.sbin/cron/atrun.c
470
close(output_pipe[WRITE_PIPE]);
usr.sbin/cron/atrun.c
473
close(output_pipe[READ_PIPE]);
usr.sbin/cron/atrun.c
545
close(fd);
usr.sbin/cron/atrun.c
546
close(output_pipe[WRITE_PIPE]);
usr.sbin/cron/atrun.c
79
close(dfd);
usr.sbin/cron/atrun.c
83
close(dfd);
usr.sbin/cron/atrun.c
89
close(dfd);
usr.sbin/cron/client.c
114
close(sock);
usr.sbin/cron/cron.c
395
close(fd);
usr.sbin/cron/crontab.c
413
close(fd);
usr.sbin/cron/database.c
195
close(fd);
usr.sbin/cron/do_command.c
186
close(stdin_pipe[WRITE_PIPE]);
usr.sbin/cron/do_command.c
187
close(stdout_pipe[READ_PIPE]);
usr.sbin/cron/do_command.c
194
close(stdin_pipe[READ_PIPE]);
usr.sbin/cron/do_command.c
198
close(stdout_pipe[WRITE_PIPE]);
usr.sbin/cron/do_command.c
278
close(stdin_pipe[READ_PIPE]);
usr.sbin/cron/do_command.c
279
close(stdout_pipe[WRITE_PIPE]);
usr.sbin/cron/do_command.c
302
close(stdout_pipe[READ_PIPE]);
usr.sbin/cron/do_command.c
339
close(stdin_pipe[WRITE_PIPE]);
usr.sbin/cron/popen.c
107
(void)close(pdes[1]);
usr.sbin/cron/popen.c
110
(void)close(pdes[0]);
usr.sbin/cron/popen.c
114
(void)close(pdes[0]);
usr.sbin/cron/popen.c
116
(void)close(pdes[1]);
usr.sbin/cron/popen.c
125
(void)close(pdes[1]);
usr.sbin/cron/popen.c
128
(void)close(pdes[0]);
usr.sbin/cron/popen.c
89
(void)close(pdes[0]);
usr.sbin/cron/popen.c
90
(void)close(pdes[1]);
usr.sbin/crunchgen/crunchgen.c
669
close(fd);
usr.sbin/crunchgen/crunchide.c
207
close(inf);
usr.sbin/crunchgen/crunchide.c
212
close(inf);
usr.sbin/crunchgen/crunchide.c
218
close(inf);
usr.sbin/crunchgen/crunchide.c
228
close(inf);
usr.sbin/crunchgen/elf_hide.c
150
close(pfile);
usr.sbin/crunchgen/mangle.c
107
close(key_fd);
usr.sbin/crunchgen/mangle.c
81
close(key_fd);
usr.sbin/dev_mkdb/dev_mkdb.c
139
(void)(db->close)(db);
usr.sbin/dhcp6leasectl/dhcp6leasectl.c
179
close(ctl_sock);
usr.sbin/dhcpd/dhcpd.c
232
close(pfpipe[1]);
usr.sbin/dhcpd/dhcpd.c
237
close(pfpipe[0]);
usr.sbin/dhcpd/dispatch.c
422
close(l->fd);
usr.sbin/dhcpd/sync.c
232
close(syncfd);
usr.sbin/dhcpd/udpsock.c
147
close(sockio);
usr.sbin/dhcpd/udpsock.c
150
close(sockio);
usr.sbin/dhcpleasectl/dhcpleasectl.c
213
close(ctl_sock);
usr.sbin/dhcrelay/dhcrelay.c
819
close(s);
usr.sbin/dhcrelay/dispatch.c
374
close(l->fd);
usr.sbin/dhcrelay6/dispatch.c
390
close(l->fd);
usr.sbin/dvmrpctl/dvmrpctl.c
232
close(ctl_sock);
usr.sbin/dvmrpd/control.c
151
close(connfd);
usr.sbin/dvmrpd/control.c
157
close(connfd);
usr.sbin/dvmrpd/control.c
211
close(c->iev.ibuf.fd);
usr.sbin/dvmrpd/control.c
70
close(fd);
usr.sbin/dvmrpd/control.c
77
close(fd);
usr.sbin/dvmrpd/control.c
85
close(fd);
usr.sbin/dvmrpd/dvmrpd.c
229
close(pipe_parent2dvmrpe[1]);
usr.sbin/dvmrpd/dvmrpd.c
230
close(pipe_parent2rde[1]);
usr.sbin/dvmrpd/dvmrpd.c
231
close(pipe_dvmrpe2rde[0]);
usr.sbin/dvmrpd/dvmrpd.c
232
close(pipe_dvmrpe2rde[1]);
usr.sbin/dvmrpd/dvmrpd.c
279
close(iev_dvmrpe->ibuf.fd);
usr.sbin/dvmrpd/dvmrpd.c
281
close(iev_rde->ibuf.fd);
usr.sbin/dvmrpd/dvmrpe.c
138
close(pipe_parent2dvmrpe[0]);
usr.sbin/dvmrpd/dvmrpe.c
139
close(pipe_dvmrpe2rde[1]);
usr.sbin/dvmrpd/dvmrpe.c
140
close(pipe_parent2rde[0]);
usr.sbin/dvmrpd/dvmrpe.c
141
close(pipe_parent2rde[1]);
usr.sbin/dvmrpd/dvmrpe.c
198
close(iev_rde->ibuf.fd);
usr.sbin/dvmrpd/dvmrpe.c
201
close(iev_main->ibuf.fd);
usr.sbin/dvmrpd/interface.c
224
close(s);
usr.sbin/dvmrpd/kroute.c
111
close(EVENT_FD((&kr_state.ev)));
usr.sbin/dvmrpd/rde.c
117
close(pipe_dvmrpe2rde[0]);
usr.sbin/dvmrpd/rde.c
118
close(pipe_parent2rde[0]);
usr.sbin/dvmrpd/rde.c
119
close(pipe_parent2dvmrpe[0]);
usr.sbin/dvmrpd/rde.c
120
close(pipe_parent2dvmrpe[1]);
usr.sbin/dvmrpd/rde.c
162
close(iev_dvmrpe->ibuf.fd);
usr.sbin/dvmrpd/rde.c
164
close(iev_main->ibuf.fd);
usr.sbin/edquota/edquota.c
181
close(tmpfd);
usr.sbin/edquota/edquota.c
298
close(fd);
usr.sbin/edquota/edquota.c
302
close(fd);
usr.sbin/edquota/edquota.c
337
close(fd);
usr.sbin/eeprom/ophandlers.c
157
(void)close(fd);
usr.sbin/eeprom/ophandlers.c
228
(void)close(fd);
usr.sbin/eeprom/optree.c
183
(void)close(fd);
usr.sbin/eigrpctl/eigrpctl.c
275
close(ctl_sock);
usr.sbin/eigrpd/control.c
143
close(connfd);
usr.sbin/eigrpd/control.c
149
close(connfd);
usr.sbin/eigrpd/control.c
202
close(c->iev.ibuf.fd);
usr.sbin/eigrpd/control.c
70
close(fd);
usr.sbin/eigrpd/control.c
77
close(fd);
usr.sbin/eigrpd/control.c
85
close(fd);
usr.sbin/eigrpd/eigrpd.c
292
close(iev_eigrpe->ibuf.fd);
usr.sbin/eigrpd/eigrpd.c
294
close(iev_rde->ibuf.fd);
usr.sbin/eigrpd/eigrpd.c
332
close(fd);
usr.sbin/eigrpd/eigrpe.c
180
close(iev_rde->ibuf.fd);
usr.sbin/eigrpd/eigrpe.c
183
close(iev_main->ibuf.fd);
usr.sbin/eigrpd/eigrpe.c
189
close(global.eigrp_socket_v4);
usr.sbin/eigrpd/eigrpe.c
190
close(global.eigrp_socket_v6);
usr.sbin/eigrpd/rde.c
137
close(iev_eigrpe->ibuf.fd);
usr.sbin/eigrpd/rde.c
139
close(iev_main->ibuf.fd);
usr.sbin/fdformat/fdformat.c
348
close(fd);
usr.sbin/ftp-proxy/ftp-proxy.c
292
close(s->client_fd);
usr.sbin/ftp-proxy/ftp-proxy.c
294
close(s->server_fd);
usr.sbin/ftp-proxy/ftp-proxy.c
415
close(client_fd);
usr.sbin/ftp-proxy/ftp-proxy.c
423
close(client_fd);
usr.sbin/hostapd/apme.c
205
if (close(apme->a_raw))
usr.sbin/hostapd/privsep.c
136
(void)close(socks[0]);
usr.sbin/hostapd/privsep.c
160
(void)close(socks[1]);
usr.sbin/hostctl/hostctl.c
182
close(fd);
usr.sbin/hostctl/hostctl.c
221
close(fd);
usr.sbin/hotplugd/hotplugd.c
141
close(devfd);
usr.sbin/httpd/config.c
290
close(srv->srv_s);
usr.sbin/httpd/config.c
706
close(fd);
usr.sbin/httpd/config.c
748
close(fd);
usr.sbin/httpd/control.c
164
close(connfd);
usr.sbin/httpd/control.c
170
close(connfd);
usr.sbin/httpd/control.c
211
close(c->iev.ibuf.fd);
usr.sbin/httpd/control.c
63
close(fd);
usr.sbin/httpd/control.c
70
close(fd);
usr.sbin/httpd/control.c
84
close(fd);
usr.sbin/httpd/control.c
92
close(fd);
usr.sbin/httpd/logger.c
91
close(log->log_fd);
usr.sbin/httpd/parse.y
2549
close(s);
usr.sbin/httpd/proc.c
134
close(fd);
usr.sbin/httpd/proc.c
259
close(fd);
usr.sbin/httpd/proc.c
265
close(fd);
usr.sbin/httpd/proc.c
463
close(pp->pp_pipes[dst][n]);
usr.sbin/httpd/server.c
1152
close(s);
usr.sbin/httpd/server.c
1334
close(clt->clt_fd);
usr.sbin/httpd/server.c
1336
close(clt->clt_s);
usr.sbin/httpd/server.c
443
close(srv->srv_s);
usr.sbin/httpd/server.c
734
close(s);
usr.sbin/httpd/server.c
755
close(s);
usr.sbin/httpd/server.c
776
close(s);
usr.sbin/httpd/server_fcgi.c
130
close(clt->clt_fd);
usr.sbin/httpd/server_fcgi.c
411
close(fd);
usr.sbin/httpd/server_file.c
102
close(fd);
usr.sbin/httpd/server_file.c
121
close(fd);
usr.sbin/httpd/server_file.c
127
close(fd);
usr.sbin/httpd/server_file.c
133
close(fd);
usr.sbin/httpd/server_file.c
146
close(fd);
usr.sbin/httpd/server_file.c
152
close(fd);
usr.sbin/httpd/server_file.c
156
close(fd);
usr.sbin/httpd/server_file.c
187
close(fd);
usr.sbin/httpd/server_file.c
202
close(fd);
usr.sbin/httpd/server_file.c
205
close(gzfd);
usr.sbin/httpd/server_file.c
290
close(fd);
usr.sbin/httpd/server_file.c
301
close(fd);
usr.sbin/httpd/server_file.c
338
close(fd);
usr.sbin/httpd/server_file.c
426
close(fd);
usr.sbin/httpd/server_file.c
463
close(fd);
usr.sbin/httpd/server_file.c
610
close(fd);
usr.sbin/httpd/server_file.c
648
close(fd);
usr.sbin/httpd/server_file.c
687
close(clt->clt_fd);
usr.sbin/httpd/server_file.c
83
close(fd);
usr.sbin/httpd/server_file.c
90
close(fd);
usr.sbin/httpd/server_file.c
96
close(fd);
usr.sbin/httpd/server_http.c
1558
close(rootfd);
usr.sbin/httpd/server_http.c
1810
close(fd);
usr.sbin/httpd/server_http.c
1817
close(fd);
usr.sbin/httpd/server_http.c
1822
close(fd);
usr.sbin/httpd/server_http.c
1826
close(fd);
usr.sbin/identd/identd.c
306
close(pair[1]);
usr.sbin/identd/identd.c
313
close(pair[0]);
usr.sbin/identd/identd.c
680
close(s);
usr.sbin/identd/identd.c
740
close(fd);
usr.sbin/identd/identd.c
766
close(fd);
usr.sbin/identd/identd.c
871
close(fd);
usr.sbin/identd/identd.c
915
close(fd);
usr.sbin/ikectl/ikeca.c
606
close(ifd);
usr.sbin/ikectl/ikeca.c
615
close(ofd);
usr.sbin/ikectl/ikeca.c
616
close(ifd);
usr.sbin/ikectl/ikeca.c
653
close(ofd);
usr.sbin/ikectl/ikeca.c
818
close(fd);
usr.sbin/ikectl/ikeca.c
966
close(fd);
usr.sbin/ikectl/ikeca.c
983
close(fd);
usr.sbin/ikectl/ikectl.c
374
close(ctl_sock);
usr.sbin/inetd/inetd.c
1124
close(s);
usr.sbin/inetd/inetd.c
1709
close(ctrl);
usr.sbin/inetd/inetd.c
1726
close(ctrl);
usr.sbin/inetd/inetd.c
1728
(void) close(sep->se_fd);
usr.sbin/inetd/inetd.c
1744
close(ctrl);
usr.sbin/inetd/inetd.c
1805
close(ctrl);
usr.sbin/inetd/inetd.c
1820
close(ctrl);
usr.sbin/inetd/inetd.c
416
close(ctrl);
usr.sbin/inetd/inetd.c
425
close(ctrl);
usr.sbin/inetd/inetd.c
661
(void) close(sep->se_fd);
usr.sbin/inetd/inetd.c
717
(void) close(sep->se_fd);
usr.sbin/inetd/inetd.c
752
(void) close(sep->se_fd);
usr.sbin/inetd/inetd.c
805
(void)close(sep->se_fd);
usr.sbin/inetd/inetd.c
868
(void) close(sep->se_fd);
usr.sbin/installboot/bootstrap.c
78
close(fd);
usr.sbin/installboot/efi_softraid.c
45
close(diskfd);
usr.sbin/installboot/i386_installboot.c
770
close(fd);
usr.sbin/installboot/i386_installboot.c
854
close(fd);
usr.sbin/installboot/i386_nlist.c
307
close(fd);
usr.sbin/installboot/i386_softraid.c
181
close(fd);
usr.sbin/installboot/i386_softraid.c
91
close(diskfd);
usr.sbin/installboot/landisk_installboot.c
125
close(fd);
usr.sbin/installboot/softraid.c
51
close(diskfd);
usr.sbin/installboot/sparc64_installboot.c
76
close(fd);
usr.sbin/installboot/sparc64_installboot.c
89
close(fd);
usr.sbin/installboot/sparc64_softraid.c
50
close(diskfd);
usr.sbin/installboot/util.c
177
close(fd);
usr.sbin/installboot/util.c
93
close(dfd);
usr.sbin/installboot/util.c
94
close(sfd);
usr.sbin/iscsictl/iscsictl.c
193
close(control.fd);
usr.sbin/iscsid/connection.c
125
close(c->fd);
usr.sbin/iscsid/connection.c
606
close(c->fd);
usr.sbin/iscsid/control.c
106
close(fd);
usr.sbin/iscsid/control.c
125
close(control_state->fd);
usr.sbin/iscsid/control.c
170
close(connfd);
usr.sbin/iscsid/control.c
184
close(c->fd);
usr.sbin/iscsid/control.c
77
close(fd);
usr.sbin/iscsid/control.c
84
close(fd);
usr.sbin/iscsid/control.c
91
close(fd);
usr.sbin/iscsid/control.c
99
close(fd);
usr.sbin/kvm_mkdb/kvm_mkdb.c
206
if (db->close(db)) {
usr.sbin/kvm_mkdb/testdb.c
61
goto close;
usr.sbin/kvm_mkdb/testdb.c
65
goto close;
usr.sbin/kvm_mkdb/testdb.c
69
goto close;
usr.sbin/kvm_mkdb/testdb.c
71
goto close;
usr.sbin/kvm_mkdb/testdb.c
76
close:
usr.sbin/kvm_mkdb/testdb.c
78
(void)(db->close)(db);
usr.sbin/ldapctl/ldapctl.c
389
close(ctl_sock);
usr.sbin/ldapd/btree.c
1155
close(fd);
usr.sbin/ldapd/btree.c
1179
close(bt->fd);
usr.sbin/ldapd/conn.c
328
close(afd);
usr.sbin/ldapd/conn.c
72
close(conn->fd);
usr.sbin/ldapd/control.c
152
close(connfd);
usr.sbin/ldapd/imsgev.c
81
close(iev->ibuf.fd);
usr.sbin/ldapd/ldapd.c
422
close(fd);
usr.sbin/ldapd/ldape.c
576
close(fd);
usr.sbin/ldomctl/ldomctl.c
378
close(fd);
usr.sbin/ldomctl/ldomctl.c
384
close(fd);
usr.sbin/ldomctl/ldomctl.c
743
close(hvctl_fd);
usr.sbin/ldomd/ldomd.c
481
close(hvctl_fd);
usr.sbin/ldpctl/ldpctl.c
263
close(ctl_sock);
usr.sbin/ldpd/control.c
104
close(control_fd);
usr.sbin/ldpd/control.c
132
close(connfd);
usr.sbin/ldpd/control.c
138
close(connfd);
usr.sbin/ldpd/control.c
192
close(c->iev.ibuf.fd);
usr.sbin/ldpd/control.c
64
close(fd);
usr.sbin/ldpd/control.c
71
close(fd);
usr.sbin/ldpd/control.c
79
close(fd);
usr.sbin/ldpd/lde.c
157
close(iev_ldpe->ibuf.fd);
usr.sbin/ldpd/lde.c
159
close(iev_main->ibuf.fd);
usr.sbin/ldpd/ldpd.c
299
close(iev_ldpe->ibuf.fd);
usr.sbin/ldpd/ldpd.c
301
close(iev_lde->ibuf.fd);
usr.sbin/ldpd/ldpd.c
339
close(fd);
usr.sbin/ldpd/ldpe.c
166
close(iev_lde->ibuf.fd);
usr.sbin/ldpd/ldpe.c
169
close(iev_main->ibuf.fd);
usr.sbin/ldpd/ldpe.c
176
close(global.pfkeysock);
usr.sbin/ldpd/ldpe.c
363
close(disc_socket);
usr.sbin/ldpd/ldpe.c
365
close(edisc_socket);
usr.sbin/ldpd/ldpe.c
367
close(session_socket);
usr.sbin/ldpd/ldpe.c
672
close(af_global->ldp_disc_socket);
usr.sbin/ldpd/ldpe.c
680
close(af_global->ldp_edisc_socket);
usr.sbin/ldpd/ldpe.c
687
close(af_global->ldp_session_socket);
usr.sbin/ldpd/neighbor.c
556
close(nbr->fd);
usr.sbin/ldpd/neighbor.c
585
close(nbr->fd);
usr.sbin/ldpd/neighbor.c
591
close(nbr->fd);
usr.sbin/ldpd/neighbor.c
606
close(nbr->fd);
usr.sbin/ldpd/neighbor.c
612
close(nbr->fd);
usr.sbin/ldpd/neighbor.c
634
close(nbr->fd);
usr.sbin/ldpd/packet.c
367
close(newfd);
usr.sbin/ldpd/packet.c
374
close(newfd);
usr.sbin/ldpd/packet.c
380
close(newfd);
usr.sbin/ldpd/packet.c
396
close(fd);
usr.sbin/ldpd/packet.c
403
close(fd);
usr.sbin/ldpd/packet.c
412
close(fd);
usr.sbin/ldpd/packet.c
719
close(tcp->fd);
usr.sbin/ldpd/socket.c
101
close(fd);
usr.sbin/ldpd/socket.c
105
close(fd);
usr.sbin/ldpd/socket.c
111
close(fd);
usr.sbin/ldpd/socket.c
117
close(fd);
usr.sbin/ldpd/socket.c
124
close(fd);
usr.sbin/ldpd/socket.c
129
close(fd);
usr.sbin/ldpd/socket.c
133
close(fd);
usr.sbin/ldpd/socket.c
138
close(fd);
usr.sbin/ldpd/socket.c
145
close(fd);
usr.sbin/ldpd/socket.c
151
close(fd);
usr.sbin/ldpd/socket.c
173
close(fd);
usr.sbin/ldpd/socket.c
76
close(fd);
usr.sbin/ldpd/socket.c
82
close(fd);
usr.sbin/ldpd/socket.c
87
close(fd);
usr.sbin/ldpd/socket.c
95
close(fd);
usr.sbin/lldpd/lldpd.c
1203
close(fd);
usr.sbin/lldpd/lldpd.c
1313
(void)close(devnull);
usr.sbin/lldpd/lldpd.c
876
close(fd);
usr.sbin/lpd/control.c
194
close(sock);
usr.sbin/lpd/frontend.c
145
close(l->sock);
usr.sbin/lpd/frontend.c
224
close(sock);
usr.sbin/lpd/frontend_lpr.c
112
close(sock);
usr.sbin/lpd/frontend_lpr.c
122
close(sock);
usr.sbin/lpd/frontend_lpr.c
230
close(fd);
usr.sbin/lpd/frontend_lpr.c
630
close(conn->ifd);
usr.sbin/lpd/frontend_lpr.c
694
close(conn->ifd);
usr.sbin/lpd/io.c
210
(void)close(io->sock);
usr.sbin/lpd/io.c
851
(void)close(fd);
usr.sbin/lpd/io.c
912
close(io->sock);
usr.sbin/lpd/lp.c
487
(void)close(fd);
usr.sbin/lpd/lp.c
495
(void)close(fd);
usr.sbin/lpd/lp.c
502
(void)close(fd);
usr.sbin/lpd/lp.c
751
(void)close(fd);
usr.sbin/lpd/parse.y
969
close(s);
usr.sbin/lpd/printer.c
1086
(void)close(prn->pfd);
usr.sbin/lpd/printer.c
1159
(void)close(fd);
usr.sbin/lpd/printer.c
1179
(void)close(prn->pfd);
usr.sbin/lpd/printer.c
1227
close(fildes[0]);
usr.sbin/lpd/printer.c
1282
close(prn->ofd);
usr.sbin/lpd/printer.c
153
(void)close(fd);
usr.sbin/lpd/printer.c
680
close(efd);
usr.sbin/lpd/printer.c
718
close(efd);
usr.sbin/lpd/printer.c
960
(void)close(p[0]);
usr.sbin/lpd/printer.c
961
(void)close(p[1]);
usr.sbin/lpd/printer.c
977
(void)close(p[0]);
usr.sbin/lpd/printer.c
979
(void)close(p[1]);
usr.sbin/lpd/proc.c
126
close(sp[0]);
usr.sbin/lpd/proc.c
127
close(sp[1]);
usr.sbin/lpd/proc.c
133
close(sp[0]);
usr.sbin/lpd/proc.c
205
close(p->imsgbuf.fd);
usr.sbin/lpr/common_source/common.c
163
(void)close(s);
usr.sbin/lpr/common_source/common.c
437
close(fd);
usr.sbin/lpr/common_source/common.c
443
close(fd);
usr.sbin/lpr/common_source/displayq.c
161
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/common_source/displayq.c
178
close(fd);
usr.sbin/lpr/common_source/displayq.c
219
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/common_source/displayq.c
309
(void)close(fd);
usr.sbin/lpr/common_source/displayq.c
358
close(fd);
usr.sbin/lpr/common_source/rmjob.c
172
close(fd);
usr.sbin/lpr/common_source/rmjob.c
215
close(fd);
usr.sbin/lpr/common_source/rmjob.c
270
close(fd);
usr.sbin/lpr/common_source/rmjob.c
382
(void)close(rem);
usr.sbin/lpr/common_source/startdaemon.c
106
(void)close(s);
usr.sbin/lpr/common_source/startdaemon.c
74
close(s);
usr.sbin/lpr/common_source/startdaemon.c
80
(void)close(s);
usr.sbin/lpr/common_source/startdaemon.c
87
close(s);
usr.sbin/lpr/common_source/startdaemon.c
94
(void)close(s);
usr.sbin/lpr/common_source/startdaemon.c
99
(void)close(s);
usr.sbin/lpr/lpc/cmds.c
1099
close(fd);
usr.sbin/lpr/lpc/cmds.c
146
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
163
close(fd);
usr.sbin/lpr/lpc/cmds.c
200
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/lpc/cmds.c
209
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
502
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
583
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
598
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/lpc/cmds.c
607
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
620
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
846
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/lpc/cmds.c
849
(void)close(fd);
usr.sbin/lpr/lpc/cmds.c
861
(void)close(fd); /* unlocks as well */
usr.sbin/lpr/lpc/cmds.c
938
(void)close(fd);
usr.sbin/lpr/lpd/lpd.c
352
close(s);
usr.sbin/lpr/lpd/lpd.c
371
(void)close(funix);
usr.sbin/lpr/lpd/lpd.c
374
(void)close(finet[i]);
usr.sbin/lpr/lpd/lpd.c
377
(void)close(s);
usr.sbin/lpr/lpd/lpd.c
394
(void)close(s);
usr.sbin/lpr/lpd/lpd.c
742
close (*s);
usr.sbin/lpr/lpd/lpd.c
750
close (*s);
usr.sbin/lpr/lpd/printjob.c
1127
(void)close(i);
usr.sbin/lpr/lpd/printjob.c
1175
(void)close(1);
usr.sbin/lpr/lpd/printjob.c
1179
(void)close(p[0]);
usr.sbin/lpr/lpd/printjob.c
1180
(void)close(p[1]);
usr.sbin/lpr/lpd/printjob.c
1221
(void)close(lfd);
usr.sbin/lpr/lpd/printjob.c
1256
(void)close(lfd);
usr.sbin/lpr/lpd/printjob.c
1383
(void)close(i);
usr.sbin/lpr/lpd/printjob.c
1392
(void)close(p[0]); /* close input side */
usr.sbin/lpr/lpd/printjob.c
1492
(void)close(pfd);
usr.sbin/lpr/lpd/printjob.c
153
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
1604
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
1611
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
268
(void)close(ofd);
usr.sbin/lpr/lpd/printjob.c
273
(void)close(pfd); /* close printer */
usr.sbin/lpr/lpd/printjob.c
311
(void)close(ofd);
usr.sbin/lpr/lpd/printjob.c
347
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
554
close(fi);
usr.sbin/lpr/lpd/printjob.c
574
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
577
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
600
(void)close(n);
usr.sbin/lpr/lpd/printjob.c
606
(void)close(p[1]); /* close output side */
usr.sbin/lpr/lpd/printjob.c
607
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
610
(void)close(p[0]);
usr.sbin/lpr/lpd/printjob.c
661
(void)close(fo);
usr.sbin/lpr/lpd/printjob.c
687
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
693
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
720
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
739
(void)close(n);
usr.sbin/lpr/lpd/printjob.c
745
(void)close(fi);
usr.sbin/lpr/lpd/printjob.c
769
(void)close(fd);
usr.sbin/lpr/lpd/printjob.c
899
close(f);
usr.sbin/lpr/lpd/printjob.c
909
close(f);
usr.sbin/lpr/lpd/printjob.c
921
(void)close(f);
usr.sbin/lpr/lpd/printjob.c
952
(void)close(f);
usr.sbin/lpr/lpd/printjob.c
959
(void)close(f);
usr.sbin/lpr/lpd/recvjob.c
256
(void)close(fd);
usr.sbin/lpr/lpd/recvjob.c
98
(void)close(2); /* set up log file */
usr.sbin/lpr/lpr/lpr.c
351
(void)close(i);
usr.sbin/lpr/lpr/lpr.c
358
(void)close(tfd);
usr.sbin/lpr/lpr/lpr.c
374
(void)close(tfd);
usr.sbin/lpr/lpr/lpr.c
426
(void)close(fd);
usr.sbin/lpr/lpr/lpr.c
588
(void)close(fd);
usr.sbin/lpr/lpr/lpr.c
693
(void)close(fd); /* unlocks as well */
usr.sbin/makefs/ffs.c
335
if (close(fsopts->fd) == -1)
usr.sbin/makefs/ffs.c
871
close(ffd);
usr.sbin/makefs/msdos/msdosfs_vnops.c
446
close(fd);
usr.sbin/makefs/msdos/msdosfs_vnops.c
449
close(fd);
usr.sbin/map-mbone/mapper.c
881
close(udp);
usr.sbin/memconfig/memconfig.c
123
close(memfd);
usr.sbin/mksuncd/mksuncd.c
249
close(bf);
usr.sbin/mksuncd/mksuncd.c
250
close(of);
usr.sbin/mopd/common/device.c
124
close(s);
usr.sbin/mopd/common/pf.c
179
close(fd);
usr.sbin/mopd/common/pf.c
182
close(fd);
usr.sbin/mopd/common/pf.c
212
close(fd);
usr.sbin/mopd/common/pf.c
215
close(fd);
usr.sbin/mopd/mopchk/mopchk.c
137
(void)close(dl.ldfd);
usr.sbin/mopd/mopd/process.c
262
close(dllist[slot].ldfd);
usr.sbin/mopd/mopd/process.c
420
close(nfd);
usr.sbin/mopd/otherOS/pf-snit.c
249
close(fd);
usr.sbin/mopd/otherOS/pf-snit.c
252
close(fd);
usr.sbin/mopd/otherOS/pf-snit.c
286
close(fd);
usr.sbin/mopd/otherOS/pf-snit.c
289
close(fd);
usr.sbin/mrinfo/mrinfo.c
383
close(udp);
usr.sbin/mrouted/main.c
132
(void)close(0);
usr.sbin/mrouted/main.c
133
(void)close(1);
usr.sbin/mrouted/main.c
134
(void)close(2);
usr.sbin/mrouted/main.c
142
(void)close(t);
usr.sbin/mrouted/main.c
497
close(igmp_socket);
usr.sbin/mrouted/main.c
498
close(udp_socket);
usr.sbin/mrouted/vif.c
709
close(udp);
usr.sbin/mrouted/vif.c
712
close(udp);
usr.sbin/mrouted/vif.c
794
close(udp);
usr.sbin/mrouted/vif.c
797
close(udp);
usr.sbin/mtrace/mtrace.c
1326
close(udp);
usr.sbin/mtree/compare.c
228
(void)close(fd);
usr.sbin/mtree/compare.c
234
(void)close(fd);
usr.sbin/mtree/create.c
198
(void)close(fd);
usr.sbin/ndp/ndp.c
679
close(s);
usr.sbin/ndp/ndp.c
683
close(s);
usr.sbin/ndp/ndp.c
893
close(s);
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
161
if ((db->close)(db))
usr.sbin/npppd/l2tp/l2tpd.c
399
close(sock);
usr.sbin/npppd/l2tp/l2tpd.c
440
close(_this->sock);
usr.sbin/npppd/npppd/control.c
101
close(fd);
usr.sbin/npppd/npppd/control.c
180
close(connfd);
usr.sbin/npppd/npppd/control.c
185
close(connfd);
usr.sbin/npppd/npppd/control.c
192
close(connfd);
usr.sbin/npppd/npppd/control.c
235
close(c->iev.ibuf.fd);
usr.sbin/npppd/npppd/control.c
72
close(fd);
usr.sbin/npppd/npppd/control.c
79
close(fd);
usr.sbin/npppd/npppd/control.c
93
close(fd);
usr.sbin/npppd/npppd/npppd.c
436
close(_this->ctl_sock.cs_fd);
usr.sbin/npppd/npppd/npppd_iface.c
233
close(sock); sock = -1;
usr.sbin/npppd/npppd/npppd_iface.c
238
close(sock);
usr.sbin/npppd/npppd/npppd_iface.c
320
close(_this->devf);
usr.sbin/npppd/npppd/npppd_iface.c
341
close(_this->devf);
usr.sbin/npppd/npppd/npppd_radius.c
686
close(sock);
usr.sbin/npppd/npppd/npppd_radius.c
870
close(listen->sock);
usr.sbin/npppd/npppd/npppd_subr.c
259
close(sock);
usr.sbin/npppd/npppd/npppd_subr.c
265
close(sock);
usr.sbin/npppd/npppd/privsep.c
187
close(pairsock[1]);
usr.sbin/npppd/npppd/privsep.c
192
close(pairsock[0]);
usr.sbin/npppd/npppd/privsep.c
203
close(pairsock[0]);
usr.sbin/npppd/npppd/privsep.c
204
close(pairsock[1]);
usr.sbin/npppd/npppd/privsep.c
215
close(privsep_sock);
usr.sbin/npppd/npppd/privsep.c
290
close(f);
usr.sbin/npppd/npppd/privsep.c
576
close(sock);
usr.sbin/npppd/npppd/privsep.c
666
close(fd);
usr.sbin/npppd/npppd/privsep.c
775
close(fd);
usr.sbin/npppd/npppd/privsep.c
808
close(s);
usr.sbin/npppd/npppd/privsep.c
854
close(s);
usr.sbin/npppd/npppd/privsep.c
882
close(s);
usr.sbin/npppd/npppd/privsep.c
915
close(s);
usr.sbin/npppd/npppd/privsep.c
944
close(s);
usr.sbin/npppd/npppd/radius_req.c
227
close(lap->socket);
usr.sbin/npppd/npppd/radius_req.c
238
close(sock);
usr.sbin/npppd/npppd/radius_req.c
323
close(lap->socket);
usr.sbin/npppd/npppd/radius_req.c
525
close(sock);
usr.sbin/npppd/npppd/radius_req.c
530
close(sock);
usr.sbin/npppd/pppoe/pppoed.c
329
close(_this->bpf);
usr.sbin/npppd/pppoe/pppoed.c
376
close(_this->bpf);
usr.sbin/npppd/pptp/pptp_ctrl.c
338
close(_this->sock);
usr.sbin/npppd/pptp/pptpd.c
407
close(sock);
usr.sbin/npppd/pptp/pptpd.c
409
close(sock_gre);
usr.sbin/npppd/pptp/pptpd.c
440
close(_this->sock_gre);
usr.sbin/npppd/pptp/pptpd.c
464
close(_this->sock);
usr.sbin/npppd/pptp/pptpd.c
858
close(sock);
usr.sbin/nsd/dnstap/dnstap.c
268
close(dtw->fd);
usr.sbin/nsd/dnstap/dnstap.c
433
close(dtw->fd);
usr.sbin/nsd/dnstap/dnstap_collector.c
136
close(dt_col->cmd_socket_dt);
usr.sbin/nsd/dnstap/dnstap_collector.c
140
close(dt_col->cmd_socket_nsd);
usr.sbin/nsd/dnstap/dnstap_collector.c
147
close(nsd->dt_collector_fd_recv[i]);
usr.sbin/nsd/dnstap/dnstap_collector.c
151
close(fd_send[i]);
usr.sbin/nsd/dnstap/dnstap_collector.c
417
close(dt_col->cmd_socket_nsd);
usr.sbin/nsd/dnstap/dnstap_collector.c
426
close(fd_send[i]);
usr.sbin/nsd/dnstap/dnstap_collector.c
450
close(dt_col->cmd_socket_dt);
usr.sbin/nsd/dnstap/dnstap_collector.c
456
close(nsd->dt_collector_fd_recv[i]);
usr.sbin/nsd/dnstap/dnstap_collector.c
568
close(nsd->dt_collector_fd_send[nsd->this_child->child_num]);
usr.sbin/nsd/dnstap/dnstap_collector.c
600
close(nsd->dt_collector_fd_send[nsd->this_child->child_num]);
usr.sbin/nsd/ipc.c
127
close(handler->fd);
usr.sbin/nsd/ipc.c
190
if(fd != -1) close(fd);
usr.sbin/nsd/ipc.c
374
close(handler->fd);
usr.sbin/nsd/metrics.c
140
close(s);
usr.sbin/nsd/metrics.c
153
close(s);
usr.sbin/nsd/metrics.c
159
close(s);
usr.sbin/nsd/metrics.c
252
close(fd);
usr.sbin/nsd/metrics.c
90
close(h->accept_fd);
usr.sbin/nsd/nsd-control.c
558
close(fd);
usr.sbin/nsd/nsd.c
1561
(void)close(fd);
usr.sbin/nsd/nsd.c
609
close(fd);
usr.sbin/nsd/nsd.c
614
close(fd);
usr.sbin/nsd/nsd.c
662
close(fd);
usr.sbin/nsd/nsd.c
668
close(fd);
usr.sbin/nsd/nsd.c
673
close(fd);
usr.sbin/nsd/nsd.c
702
close(fd);
usr.sbin/nsd/popen3.c
103
close(fdsig[1]);
usr.sbin/nsd/popen3.c
122
close(fdsig[0]);
usr.sbin/nsd/popen3.c
129
close(fdin[0]);
usr.sbin/nsd/popen3.c
133
close(fdout[1]);
usr.sbin/nsd/popen3.c
137
close(fderr[1]);
usr.sbin/nsd/popen3.c
16
close(fds[0]);
usr.sbin/nsd/popen3.c
20
close(fds[1]);
usr.sbin/nsd/popen3.c
70
close(2);
usr.sbin/nsd/popen3.c
78
close(1);
usr.sbin/nsd/popen3.c
86
close(0);
usr.sbin/nsd/popen3.c
92
close(fdsig[0]);
usr.sbin/nsd/popen3.c
95
close(fdsig[1]);
usr.sbin/nsd/remote.c
337
close(h->c.ev_fd);
usr.sbin/nsd/remote.c
3438
close(s);
usr.sbin/nsd/remote.c
354
close(p->c.ev_fd);
usr.sbin/nsd/remote.c
404
close(s);
usr.sbin/nsd/remote.c
417
close(s);
usr.sbin/nsd/remote.c
423
close(s);
usr.sbin/nsd/remote.c
516
close(fd);
usr.sbin/nsd/remote.c
618
close(newfd);
usr.sbin/nsd/remote.c
727
close(s->c.ev_fd);
usr.sbin/nsd/server.c
1598
close(sock->s);
usr.sbin/nsd/server.c
1628
close(nsd->this_child->parent_fd);
usr.sbin/nsd/server.c
1637
close(nsd->children[i].child_fd);
usr.sbin/nsd/server.c
1750
close(nsd->xfrd_listener->fd);
usr.sbin/nsd/server.c
1775
close(sockets[0]);
usr.sbin/nsd/server.c
1788
close(nsd->serve2xfrd_fd_send[i]);
usr.sbin/nsd/server.c
1809
close(sockets[1]);
usr.sbin/nsd/server.c
1817
close(nsd->serve2xfrd_fd_recv[i]);
usr.sbin/nsd/server.c
2867
if(reload_listener.fd != -1) close(reload_listener.fd);
usr.sbin/nsd/server.c
2971
if(reload_listener.fd != -1) close(reload_listener.fd);
usr.sbin/nsd/server.c
3055
close(reload_sockets[0]);
usr.sbin/nsd/server.c
3061
close(reload_sockets[1]);
usr.sbin/nsd/server.c
3076
close(reload_sockets[1]);
usr.sbin/nsd/server.c
3134
close(reload_listener.fd);
usr.sbin/nsd/server.c
3197
close(reload_listener.fd);
usr.sbin/nsd/server.c
3219
close(nsd->xfrd_listener->fd);
usr.sbin/nsd/server.c
3554
close(nsd->verifier_pipe[0]);
usr.sbin/nsd/server.c
3555
close(nsd->verifier_pipe[1]);
usr.sbin/nsd/server.c
415
close(tcp_fastopen_fp);
usr.sbin/nsd/server.c
424
close(tcp_fastopen_fp);
usr.sbin/nsd/server.c
426
close(tcp_fastopen_fp);
usr.sbin/nsd/server.c
4399
close(data->event.ev_fd);
usr.sbin/nsd/server.c
443
close(nsd->children[i].child_fd);
usr.sbin/nsd/server.c
468
close(nsd->children[i].child_fd);
usr.sbin/nsd/server.c
479
close(nsd->children[i].parent_fd);
usr.sbin/nsd/server.c
527
close(*xfrd_sock_p);
usr.sbin/nsd/server.c
528
close(nsd->this_child->child_fd);
usr.sbin/nsd/server.c
5513
close(s);
usr.sbin/nsd/server.c
5602
close(s);
usr.sbin/nsd/server.c
5659
close(s);
usr.sbin/nsd/server.c
5670
close(s);
usr.sbin/nsd/server.c
5688
close(s);
usr.sbin/nsd/server.c
5694
close(s);
usr.sbin/nsd/server.c
5754
close(nsd->children[i].child_fd);
usr.sbin/nsd/server.c
597
close(nsd->zonestatfd[0]);
usr.sbin/nsd/server.c
769
close(nsd->statfd);
usr.sbin/nsd/udb.c
101
close(fd);
usr.sbin/nsd/udb.c
187
close(fd);
usr.sbin/nsd/udb.c
243
close(fd);
usr.sbin/nsd/udb.c
247
close(fd);
usr.sbin/nsd/udb.c
285
close(fd);
usr.sbin/nsd/udb.c
292
close(fd);
usr.sbin/nsd/udb.c
327
close(udb->fd);
usr.sbin/nsd/udb.c
355
close(udb->fd);
usr.sbin/nsd/udb.c
80
close(fd);
usr.sbin/nsd/udb.c
87
close(fd);
usr.sbin/nsd/verify.c
162
close(stream->fd);
usr.sbin/nsd/verify.c
189
close(stream->fd);
usr.sbin/nsd/verify.c
609
close(fdin);
usr.sbin/nsd/verify.c
611
close(fdout);
usr.sbin/nsd/verify.c
612
close(fderr);
usr.sbin/nsd/xdp-util.c
45
close(fd);
usr.sbin/nsd/xdp-util.c
68
close(fd);
usr.sbin/nsd/xfrd-notify.c
39
close(zone->notify_send_handler.ev_fd);
usr.sbin/nsd/xfrd-notify.c
50
close(zone->notify_send6_handler.ev_fd);
usr.sbin/nsd/xfrd-tcp.c
1034
close(fd);
usr.sbin/nsd/xfrd-tcp.c
1060
close(fd);
usr.sbin/nsd/xfrd-tcp.c
1068
close(fd);
usr.sbin/nsd/xfrd-tcp.c
1753
close(tp->tcp_r->fd);
usr.sbin/nsd/xfrd-tcp.c
954
close(fd);
usr.sbin/nsd/xfrd-tcp.c
977
close(fd);
usr.sbin/nsd/xfrd-tcp.c
986
close(fd);
usr.sbin/nsd/xfrd.c
1644
close(zone->zone_handler.ev_fd);
usr.sbin/nsd/xfrd.c
1808
close(fd);
usr.sbin/nsd/xfrd.c
1820
close(fd);
usr.sbin/nsd/xfrd.c
376
close(xfrd->ipc_handler.ev_fd); /* notifies parent we stop */
usr.sbin/nsd/xfrd.c
398
close(zone->zone_handler.ev_fd);
usr.sbin/ntpd/client.c
103
close(p->query.fd);
usr.sbin/ntpd/constraint.c
610
close(cstr->fd);
usr.sbin/ntpd/control.c
101
close(fd);
usr.sbin/ntpd/control.c
125
close(fd);
usr.sbin/ntpd/control.c
148
close(connfd);
usr.sbin/ntpd/control.c
154
close(connfd);
usr.sbin/ntpd/control.c
190
close(c->ibuf.fd);
usr.sbin/ntpd/control.c
56
close(fd);
usr.sbin/ntpd/control.c
60
close(fd);
usr.sbin/ntpd/control.c
86
close(fd);
usr.sbin/ntpd/control.c
93
close(fd);
usr.sbin/ntpd/ntp.c
136
close(nullfd);
usr.sbin/ntpd/ntp_dns.c
82
close(nullfd);
usr.sbin/ntpd/ntpd.c
361
close(ibuf->fd);
usr.sbin/ntpd/ntpd.c
767
close(fd);
usr.sbin/ntpd/server.c
135
close(la->fd);
usr.sbin/ntpd/util.c
223
close(cfd);
usr.sbin/ocspcheck/http.c
198
if (close(http->fd) == -1)
usr.sbin/ocspcheck/http.c
274
close(fd);
usr.sbin/ocspcheck/http.c
283
close(fd);
usr.sbin/ocspcheck/ocspcheck.c
759
close(staplefd);
usr.sbin/ospf6ctl/ospf6ctl.c
321
close(ctl_sock);
usr.sbin/ospf6d/carp.c
123
close(s);
usr.sbin/ospf6d/carp.c
127
close(s);
usr.sbin/ospf6d/carp.c
181
close(s);
usr.sbin/ospf6d/control.c
102
close(fd);
usr.sbin/ospf6d/control.c
110
close(fd);
usr.sbin/ospf6d/control.c
175
close(connfd);
usr.sbin/ospf6d/control.c
181
close(connfd);
usr.sbin/ospf6d/control.c
234
close(c->iev.ibuf.fd);
usr.sbin/ospf6d/control.c
66
close(fd);
usr.sbin/ospf6d/control.c
70
close(fd);
usr.sbin/ospf6d/control.c
95
close(fd);
usr.sbin/ospf6d/ospf6d.c
249
close(pipe_parent2ospfe[1]);
usr.sbin/ospf6d/ospf6d.c
250
close(pipe_parent2rde[1]);
usr.sbin/ospf6d/ospf6d.c
251
close(pipe_ospfe2rde[0]);
usr.sbin/ospf6d/ospf6d.c
252
close(pipe_ospfe2rde[1]);
usr.sbin/ospf6d/ospf6d.c
306
close(iev_ospfe->ibuf.fd);
usr.sbin/ospf6d/ospf6d.c
308
close(iev_rde->ibuf.fd);
usr.sbin/ospf6d/ospfe.c
150
close(pipe_parent2ospfe[0]);
usr.sbin/ospf6d/ospfe.c
151
close(pipe_ospfe2rde[1]);
usr.sbin/ospf6d/ospfe.c
152
close(pipe_parent2rde[0]);
usr.sbin/ospf6d/ospfe.c
153
close(pipe_parent2rde[1]);
usr.sbin/ospf6d/ospfe.c
216
close(oeconf->ospf_socket);
usr.sbin/ospf6d/ospfe.c
221
close(iev_rde->ibuf.fd);
usr.sbin/ospf6d/ospfe.c
224
close(iev_main->ibuf.fd);
usr.sbin/ospf6d/rde.c
174
close(pipe_ospfe2rde[0]);
usr.sbin/ospf6d/rde.c
175
close(pipe_parent2rde[0]);
usr.sbin/ospf6d/rde.c
176
close(pipe_parent2ospfe[0]);
usr.sbin/ospf6d/rde.c
177
close(pipe_parent2ospfe[1]);
usr.sbin/ospf6d/rde.c
226
close(iev_ospfe->ibuf.fd);
usr.sbin/ospf6d/rde.c
228
close(iev_main->ibuf.fd);
usr.sbin/ospfctl/ospfctl.c
244
close(ctl_sock);
usr.sbin/ospfd/carp.c
123
close(s);
usr.sbin/ospfd/carp.c
127
close(s);
usr.sbin/ospfd/carp.c
181
close(s);
usr.sbin/ospfd/control.c
102
close(fd);
usr.sbin/ospfd/control.c
110
close(fd);
usr.sbin/ospfd/control.c
175
close(connfd);
usr.sbin/ospfd/control.c
181
close(connfd);
usr.sbin/ospfd/control.c
234
close(c->iev.ibuf.fd);
usr.sbin/ospfd/control.c
66
close(fd);
usr.sbin/ospfd/control.c
70
close(fd);
usr.sbin/ospfd/control.c
95
close(fd);
usr.sbin/ospfd/ospfd.c
255
close(pipe_parent2ospfe[1]);
usr.sbin/ospfd/ospfd.c
256
close(pipe_parent2rde[1]);
usr.sbin/ospfd/ospfd.c
257
close(pipe_ospfe2rde[0]);
usr.sbin/ospfd/ospfd.c
258
close(pipe_ospfe2rde[1]);
usr.sbin/ospfd/ospfd.c
318
close(iev_ospfe->ibuf.fd);
usr.sbin/ospfd/ospfd.c
320
close(iev_rde->ibuf.fd);
usr.sbin/ospfd/ospfe.c
150
close(pipe_parent2ospfe[0]);
usr.sbin/ospfd/ospfe.c
151
close(pipe_ospfe2rde[1]);
usr.sbin/ospfd/ospfe.c
152
close(pipe_parent2rde[0]);
usr.sbin/ospfd/ospfe.c
153
close(pipe_parent2rde[1]);
usr.sbin/ospfd/ospfe.c
228
close(oeconf->ospf_socket);
usr.sbin/ospfd/ospfe.c
233
close(iev_rde->ibuf.fd);
usr.sbin/ospfd/ospfe.c
236
close(iev_main->ibuf.fd);
usr.sbin/ospfd/rde.c
156
close(pipe_ospfe2rde[0]);
usr.sbin/ospfd/rde.c
157
close(pipe_parent2rde[0]);
usr.sbin/ospfd/rde.c
158
close(pipe_parent2ospfe[0]);
usr.sbin/ospfd/rde.c
159
close(pipe_parent2ospfe[1]);
usr.sbin/ospfd/rde.c
212
close(iev_ospfe->ibuf.fd);
usr.sbin/ospfd/rde.c
214
close(iev_main->ibuf.fd);
usr.sbin/pcidump/pcidump.c
242
close(pcifd);
usr.sbin/portmap/portmap.c
636
(void)close(so);
usr.sbin/pppd/auth.c
217
if (protp->protocol < 0xC000 && protp->close != NULL)
usr.sbin/pppd/auth.c
218
(*protp->close)(unit, "LCP down");
usr.sbin/pppd/auth.c
745
(void)close(fd);
usr.sbin/pppd/main.c
1045
close(in);
usr.sbin/pppd/main.c
1053
close(in);
usr.sbin/pppd/main.c
1057
close(out);
usr.sbin/pppd/main.c
1061
close(2);
usr.sbin/pppd/main.c
1065
close(errfd);
usr.sbin/pppd/main.c
1132
close (0);
usr.sbin/pppd/main.c
1133
close (1);
usr.sbin/pppd/main.c
1134
close (2);
usr.sbin/pppd/main.c
1135
close (ttyfd); /* tty interface to the ppp device */
usr.sbin/pppd/main.c
1142
close (new_fd);
usr.sbin/pppd/main.c
505
close(i);
usr.sbin/pppd/main.c
768
close(ttyfd);
usr.sbin/pppd/pppd.h
170
void (*close)(int unit, char *reason);
usr.sbin/pppd/sys-bsd.c
1108
close(routes);
usr.sbin/pppd/sys-bsd.c
1112
close(routes);
usr.sbin/pppd/sys-bsd.c
1166
close(routes);
usr.sbin/pppd/sys-bsd.c
1170
close(routes);
usr.sbin/pppd/sys-bsd.c
1198
close(routes);
usr.sbin/pppd/sys-bsd.c
1202
close(routes);
usr.sbin/pppd/sys-bsd.c
1430
close(fd);
usr.sbin/pppd/sys-bsd.c
1440
close(fd);
usr.sbin/pppd/sys-bsd.c
1451
close(fd);
usr.sbin/pppd/sys-bsd.c
1462
close(fd);
usr.sbin/pppd/sys-bsd.c
191
close(sockfd);
usr.sbin/pppd/sys-bsd.c
193
close(loop_slave);
usr.sbin/pppd/sys-bsd.c
194
close(loop_master);
usr.sbin/pppd/sys-bsd.c
222
close(s);
usr.sbin/pwd_mkdb/pwd_mkdb.c
214
(dp->close)(dp);
usr.sbin/pwd_mkdb/pwd_mkdb.c
315
if ((edp->close)(edp))
usr.sbin/pwd_mkdb/pwd_mkdb.c
317
if (dp && (dp->close)(dp))
usr.sbin/pwd_mkdb/pwd_mkdb.c
400
close(to_fd);
usr.sbin/pwd_mkdb/pwd_mkdb.c
401
close(from_fd);
usr.sbin/quot/quot.c
510
close(fd);
usr.sbin/quot/quot.c
514
close(fd);
usr.sbin/quot/quot.c
527
close(fd);
usr.sbin/quot/quot.c
536
close(fd);
usr.sbin/ractl/ractl.c
149
close(ctl_sock);
usr.sbin/rad/control.c
154
close(connfd);
usr.sbin/rad/control.c
160
close(connfd);
usr.sbin/rad/control.c
213
close(c->iev.ibuf.fd);
usr.sbin/rad/control.c
79
close(fd);
usr.sbin/rad/control.c
86
close(fd);
usr.sbin/rad/control.c
94
close(fd);
usr.sbin/rad/engine.c
165
close(iev_frontend->ibuf.fd);
usr.sbin/rad/engine.c
167
close(iev_main->ibuf.fd);
usr.sbin/rad/frontend.c
1590
close(EVENT_FD(&icmp6ev->ev));
usr.sbin/rad/frontend.c
1617
close(icmp6sock);
usr.sbin/rad/frontend.c
281
close(iev_engine->ibuf.fd);
usr.sbin/rad/frontend.c
284
close(iev_main->ibuf.fd);
usr.sbin/rad/rad.c
306
close(iev_frontend->ibuf.fd);
usr.sbin/rad/rad.c
308
close(iev_engine->ibuf.fd);
usr.sbin/rad/rad.c
344
close(fd);
usr.sbin/rad/rad.c
862
close(icmp6sock);
usr.sbin/radiusctl/radiusctl.c
217
close(sock);
usr.sbin/radiusctl/radiusctl.c
402
close(sock);
usr.sbin/radiusd/control.c
164
close(connfd);
usr.sbin/radiusd/control.c
170
close(connfd);
usr.sbin/radiusd/control.c
234
close(c->iev.ibuf.fd);
usr.sbin/radiusd/control.c
76
close(fd);
usr.sbin/radiusd/control.c
83
close(fd);
usr.sbin/radiusd/control.c
91
close(fd);
usr.sbin/radiusd/radiusd.c
1175
close(pairsock[0]);
usr.sbin/radiusd/radiusd.c
1181
close(pairsock[1]);
usr.sbin/radiusd/radiusd.c
1187
close(pairsock[1]);
usr.sbin/radiusd/radiusd.c
1233
close(pairsock[0]);
usr.sbin/radiusd/radiusd.c
1235
close(pairsock[1]);
usr.sbin/radiusd/radiusd.c
1308
close(module->fd);
usr.sbin/radiusd/radiusd.c
1918
close(fd);
usr.sbin/radiusd/radiusd.c
259
close(s);
usr.sbin/radiusd/radiusd.c
272
close(s);
usr.sbin/radiusd/radiusd.c
318
close(l->sock);
usr.sbin/radiusd/radiusd_bsdauth.c
419
close(fd);
usr.sbin/radiusd/radiusd_file.c
274
close(fd);
usr.sbin/radiusd/radiusd_ipcp.c
1449
db->close(db);
usr.sbin/radiusd/radiusd_ipcp.c
1514
db->close(db);
usr.sbin/radiusd/radiusd_ipcp.c
1556
db->close(db);
usr.sbin/radiusd/radiusd_ipcp.c
1575
db->close(db);
usr.sbin/radiusd/radiusd_ipcp.c
346
close(dae->sock);
usr.sbin/radiusd/radiusd_ipcp.c
376
close(dae->sock);
usr.sbin/radiusd/radiusd_module.c
626
close(base->ibuf.fd);
usr.sbin/radiusd/radiusd_radius.c
386
close(server->sock);
usr.sbin/radiusd/radiusd_radius.c
396
close(server->sock);
usr.sbin/rarpd/rarpd.c
262
close(fd);
usr.sbin/rarpd/rarpd.c
276
close(fd);
usr.sbin/rbootd/utils.c
389
(void) close(rtmp->bootfd);
usr.sbin/rdate/ntp.c
172
close(s);
usr.sbin/rdate/ntpleaps.c
135
close(fd);
usr.sbin/rdate/ntpleaps.c
152
close(fd);
usr.sbin/rdate/ntpleaps.c
156
close(fd);
usr.sbin/rdate/ntpleaps.c
172
close(fd);
usr.sbin/rdate/ntpleaps.c
183
close(fd);
usr.sbin/rdate/ntpleaps.c
190
close(fd);
usr.sbin/rdate/rdate.c
138
close(p[0]); /* read side of pipe */
usr.sbin/rdate/rdate.c
141
close(p[1]);
usr.sbin/rdate/rdate.c
158
close(p[1]); /* write side of pipe */
usr.sbin/relayctl/relayctl.c
273
close(ctl_sock);
usr.sbin/relayd/agentx_control.c
428
agentx_nofd(struct agentx *usa, void *cookie, int close)
usr.sbin/relayd/agentx_control.c
430
if (!close)
usr.sbin/relayd/agentx_control.c
455
close(s);
usr.sbin/relayd/ca.c
189
close(rlay->rl_tls_ca_fd);
usr.sbin/relayd/carp.c
120
close(s);
usr.sbin/relayd/carp.c
130
close(s);
usr.sbin/relayd/carp.c
134
close(s);
usr.sbin/relayd/carp.c
205
close(s);
usr.sbin/relayd/carp.c
218
close(s);
usr.sbin/relayd/check_tcp.c
149
close(cte->s);
usr.sbin/relayd/check_tls.c
201
close(cte->s);
usr.sbin/relayd/config.c
1003
close(rlay->rl_tls_ca_fd);
usr.sbin/relayd/config.c
1011
close(cert->cert_fd);
usr.sbin/relayd/config.c
1015
close(cert->cert_key_fd);
usr.sbin/relayd/config.c
1019
close(cert->cert_ocsp_fd);
usr.sbin/relayd/config.c
1083
close(rlay->rl_s);
usr.sbin/relayd/config.c
991
close(rlay->rl_s);
usr.sbin/relayd/config.c
995
close(rlay->rl_tls_client_ca_fd);
usr.sbin/relayd/config.c
999
close(rlay->rl_tls_cacert_fd);
usr.sbin/relayd/control.c
164
close(connfd);
usr.sbin/relayd/control.c
170
close(connfd);
usr.sbin/relayd/control.c
212
close(c->iev.ibuf.fd);
usr.sbin/relayd/control.c
63
close(fd);
usr.sbin/relayd/control.c
70
close(fd);
usr.sbin/relayd/control.c
84
close(fd);
usr.sbin/relayd/control.c
92
close(fd);
usr.sbin/relayd/hce.c
115
close(host->cte.s);
usr.sbin/relayd/hce.c
146
close(host->cte.s);
usr.sbin/relayd/parse.y
3551
close(s);
usr.sbin/relayd/proc.c
134
close(fd);
usr.sbin/relayd/proc.c
259
close(fd);
usr.sbin/relayd/proc.c
265
close(fd);
usr.sbin/relayd/proc.c
464
close(pp->pp_pipes[dst][n]);
usr.sbin/relayd/relay.c
1255
close(s);
usr.sbin/relayd/relay.c
1782
if (proto->close != NULL)
usr.sbin/relayd/relay.c
1783
(*proto->close)(con);
usr.sbin/relayd/relay.c
1846
close(cre->s);
usr.sbin/relayd/relay.c
637
close(s);
usr.sbin/relayd/relay.c
658
close(s);
usr.sbin/relayd/relay.c
679
close(s);
usr.sbin/relayd/relay_http.c
110
rlay->rl_proto->close = relay_close_http;
usr.sbin/relayd/relay_udp.c
104
close(s);
usr.sbin/relayd/relay_udp.c
173
close(s);
usr.sbin/relayd/relayd.c
1324
close(fd);
usr.sbin/relayd/relayd.c
1332
close(fd);
usr.sbin/relayd/relayd.c
1441
close(cert_fd);
usr.sbin/relayd/relayd.c
1443
close(key_fd);
usr.sbin/relayd/relayd.c
1445
close(ocsp_fd);
usr.sbin/relayd/relayd.c
1672
close(s);
usr.sbin/relayd/relayd.c
541
close(host->cte.s);
usr.sbin/relayd/relayd.c
574
close(rlay->rl_s);
usr.sbin/relayd/relayd.c
616
close(cert->cert_fd);
usr.sbin/relayd/relayd.c
618
close(cert->cert_key_fd);
usr.sbin/relayd/relayd.c
620
close(cert->cert_ocsp_fd);
usr.sbin/relayd/relayd.h
762
void (*close)(struct rsession *);
usr.sbin/ripctl/ripctl.c
234
close(ctl_sock);
usr.sbin/ripd/carp.c
123
close(s);
usr.sbin/ripd/carp.c
127
close(s);
usr.sbin/ripd/carp.c
181
close(s);
usr.sbin/ripd/control.c
142
close(connfd);
usr.sbin/ripd/control.c
148
close(connfd);
usr.sbin/ripd/control.c
201
close(c->iev.ibuf.fd);
usr.sbin/ripd/control.c
69
close(fd);
usr.sbin/ripd/control.c
76
close(fd);
usr.sbin/ripd/control.c
84
close(fd);
usr.sbin/ripd/interface.c
452
close(s);
usr.sbin/ripd/rde.c
124
close(pipe_ripe2rde[0]);
usr.sbin/ripd/rde.c
125
close(pipe_parent2rde[0]);
usr.sbin/ripd/rde.c
126
close(pipe_parent2ripe[0]);
usr.sbin/ripd/rde.c
127
close(pipe_parent2ripe[1]);
usr.sbin/ripd/rde.c
170
close(iev_ripe->ibuf.fd);
usr.sbin/ripd/rde.c
172
close(iev_main->ibuf.fd);
usr.sbin/ripd/ripd.c
230
close(pipe_parent2ripe[1]);
usr.sbin/ripd/ripd.c
231
close(pipe_parent2rde[1]);
usr.sbin/ripd/ripd.c
232
close(pipe_ripe2rde[0]);
usr.sbin/ripd/ripd.c
233
close(pipe_ripe2rde[1]);
usr.sbin/ripd/ripd.c
276
close(iev_ripe->ibuf.fd);
usr.sbin/ripd/ripd.c
278
close(iev_rde->ibuf.fd);
usr.sbin/ripd/ripe.c
148
close(pipe_parent2ripe[0]);
usr.sbin/ripd/ripe.c
149
close(pipe_ripe2rde[1]);
usr.sbin/ripd/ripe.c
150
close(pipe_parent2rde[0]);
usr.sbin/ripd/ripe.c
151
close(pipe_parent2rde[1]);
usr.sbin/ripd/ripe.c
463
close(iev_rde->ibuf.fd);
usr.sbin/ripd/ripe.c
466
close(iev_main->ibuf.fd);
usr.sbin/ripd/ripe.c
484
close(oeconf->rip_socket);
usr.sbin/rmt/rmt.c
135
(void) close(tape);
usr.sbin/rmt/rmt.c
204
if (close(tape) == -1)
usr.sbin/route6d/route6d.c
1421
close(s);
usr.sbin/route6d/route6d.c
449
close(ripsock);
usr.sbin/route6d/route6d.c
450
close(rtsock);
usr.sbin/rpc.lockd/lockd_lock.c
547
close(fl->fd);
usr.sbin/rpc.lockd/lockd_lock.c
597
close(fl->fd);
usr.sbin/rpc.lockd/lockd_lock.c
689
if (close(rfl->fd) == -1) {
usr.sbin/rpc.statd/statd.c
591
(*db->close)(db);
usr.sbin/rpki-client/constraints.c
118
close(tal_constraints[talid].fd);
usr.sbin/rpki-client/encoding.c
65
close(fd);
usr.sbin/rpki-client/encoding.c
71
close(fd);
usr.sbin/rpki-client/http.c
1051
close(conn->fd);
usr.sbin/rpki-client/http.c
1065
close(conn->fd);
usr.sbin/rpki-client/http.c
578
close(outfd);
usr.sbin/rpki-client/http.c
614
close(req->outfd);
usr.sbin/rpki-client/http.c
901
close(conn->fd);
usr.sbin/rpki-client/http.c
979
close(conn->fd);
usr.sbin/rpki-client/main.c
1226
close(procfd);
usr.sbin/rpki-client/main.c
1244
close(procfd);
usr.sbin/rpki-client/main.c
1245
close(rsyncfd);
usr.sbin/rpki-client/main.c
1262
close(procfd);
usr.sbin/rpki-client/main.c
1263
close(rsyncfd);
usr.sbin/rpki-client/main.c
1264
close(httpfd);
usr.sbin/rpki-client/main.c
1487
close(procfd);
usr.sbin/rpki-client/main.c
1489
close(rsyncfd);
usr.sbin/rpki-client/main.c
1491
close(httpfd);
usr.sbin/rpki-client/main.c
1493
close(rrdpfd);
usr.sbin/rpki-client/main.c
992
close(pair[1]);
usr.sbin/rpki-client/main.c
995
close(pair[0]);
usr.sbin/rpki-client/repo.c
1031
close(fd);
usr.sbin/rpki-client/repo.c
1042
close(fd);
usr.sbin/rpki-client/rrdp.c
223
close(s->infd);
usr.sbin/rpki-client/rrdp.c
395
close(s->infd);
usr.sbin/rpki-client/rrdp.c
505
close(s->infd);
usr.sbin/rpki-client/validate.c
189
close(fd);
usr.sbin/sa/extern.h
93
((*(db)->close)(db))
usr.sbin/sa/main.c
264
if (close(fd) == -1) {
usr.sbin/sasyncd/carp.c
100
close(s);
usr.sbin/sasyncd/carp.c
149
close(s);
usr.sbin/sasyncd/carp.c
96
close(s);
usr.sbin/sasyncd/conf.y
380
close(fd);
usr.sbin/sasyncd/conf.y
387
close(fd);
usr.sbin/sasyncd/conf.y
390
close(fd);
usr.sbin/sasyncd/monitor.c
103
close(p[1]);
usr.sbin/sasyncd/monitor.c
120
close(p[0]);
usr.sbin/sasyncd/monitor.c
464
close(fd);
usr.sbin/sasyncd/monitor.c
508
close(fd);
usr.sbin/sasyncd/net.c
115
close(s);
usr.sbin/sasyncd/net.c
124
close(s);
usr.sbin/sasyncd/net.c
131
close(s);
usr.sbin/sasyncd/net.c
137
close(s);
usr.sbin/sasyncd/net.c
266
close(listeners[i]);
usr.sbin/sasyncd/net.c
511
close(s);
usr.sbin/sasyncd/net.c
620
close(p->socket);
usr.sbin/sasyncd/net.c
653
close(listeners[i]);
usr.sbin/sasyncd/pfkey.c
447
close(cfgstate.pfkey_socket);
usr.sbin/slaacctl/slaacctl.c
166
close(ctl_sock);
usr.sbin/slowcgi/slowcgi.c
1067
close(fd);
usr.sbin/slowcgi/slowcgi.c
1100
close(fd);
usr.sbin/slowcgi/slowcgi.c
1135
close(EVENT_FD(&c->script_ev));
usr.sbin/slowcgi/slowcgi.c
1140
close(EVENT_FD(&c->script_err_ev));
usr.sbin/slowcgi/slowcgi.c
1145
close(EVENT_FD(&c->script_stdin_ev));
usr.sbin/slowcgi/slowcgi.c
1148
close(c->fd);
usr.sbin/slowcgi/slowcgi.c
292
close(fd);
usr.sbin/slowcgi/slowcgi.c
494
close(s);
usr.sbin/slowcgi/slowcgi.c
899
close(s_in[0]);
usr.sbin/slowcgi/slowcgi.c
900
close(s_out[0]);
usr.sbin/slowcgi/slowcgi.c
901
close(s_err[0]);
usr.sbin/slowcgi/slowcgi.c
903
close(s_in[1]);
usr.sbin/slowcgi/slowcgi.c
904
close(s_out[1]);
usr.sbin/slowcgi/slowcgi.c
905
close(s_err[1]);
usr.sbin/slowcgi/slowcgi.c
917
close(s_in[0]);
usr.sbin/slowcgi/slowcgi.c
918
close(s_out[0]);
usr.sbin/slowcgi/slowcgi.c
919
close(s_err[0]);
usr.sbin/slowcgi/slowcgi.c
928
close(s_in[1]);
usr.sbin/slowcgi/slowcgi.c
929
close(s_out[1]);
usr.sbin/slowcgi/slowcgi.c
930
close(s_err[1]);
usr.sbin/slowcgi/slowcgi.c
961
close(s_in[1]);
usr.sbin/slowcgi/slowcgi.c
962
close(s_out[1]);
usr.sbin/slowcgi/slowcgi.c
963
close(s_err[1]);
usr.sbin/smtpd/bounce.c
209
close(fd);
usr.sbin/smtpd/bounce.c
391
close(fd);
usr.sbin/smtpd/control.c
310
close(connfd);
usr.sbin/smtpd/forward.c
85
close(fd);
usr.sbin/smtpd/ioev.c
276
close(io->sock);
usr.sbin/smtpd/ioev.c
761
close(sock);
usr.sbin/smtpd/ioev.c
778
close(fd);
usr.sbin/smtpd/ioev.c
789
close(fd);
usr.sbin/smtpd/mail.lmtp.c
177
close(s);
usr.sbin/smtpd/makemap.c
211
if (db->close(db) == -1) {
usr.sbin/smtpd/makemap.c
221
if (close(fd) == -1) {
usr.sbin/smtpd/makemap.c
241
close(fd);
usr.sbin/smtpd/makemap.c
467
if (db->close(db) == -1)
usr.sbin/smtpd/mda.c
216
close(fd);
usr.sbin/smtpd/mda.c
517
close(fd);
usr.sbin/smtpd/mda.c
523
close(fd);
usr.sbin/smtpd/mproc.c
54
close(sp[0]);
usr.sbin/smtpd/mproc.c
60
close(sp[0]);
usr.sbin/smtpd/mproc.c
61
close(sp[1]);
usr.sbin/smtpd/mproc.c
81
close(p->imsgbuf.fd);
usr.sbin/smtpd/mta_session.c
286
close(fd);
usr.sbin/smtpd/mta_session.c
304
close(fd);
usr.sbin/smtpd/mta_session.c
312
close(fd);
usr.sbin/smtpd/parse.y
3670
close(s);
usr.sbin/smtpd/queue_backend.c
349
close(fd);
usr.sbin/smtpd/queue_backend.c
351
close(fdin);
usr.sbin/smtpd/queue_backend.c
353
close(fdout);
usr.sbin/smtpd/queue_fs.c
522
close(fd);
usr.sbin/smtpd/queue_ram.c
166
close(fd);
usr.sbin/smtpd/queue_ram.c
172
close(fd);
usr.sbin/smtpd/queue_ram.c
173
close(fd2);
usr.sbin/smtpd/queue_ram.c
179
close(fd);
usr.sbin/smtpd/smtp.c
295
close(fd[0]);
usr.sbin/smtpd/smtp.c
296
close(fd[1]);
usr.sbin/smtpd/smtp.c
340
close(sock);
usr.sbin/smtpd/smtp.c
388
close(sock);
usr.sbin/smtpd/smtp.c
406
close(sock);
usr.sbin/smtpd/smtp_session.c
2684
close(fd);
usr.sbin/smtpd/smtp_session.c
806
close(fd);
usr.sbin/smtpd/smtp_session.c
833
close(fd);
usr.sbin/smtpd/smtpctl.c
115
close(ctl_sock);
usr.sbin/smtpd/smtpd.c
1172
close(sp[0]);
usr.sbin/smtpd/smtpd.c
1173
close(sp[1]);
usr.sbin/smtpd/smtpd.c
1193
close(sp[0]);
usr.sbin/smtpd/smtpd.c
1343
close(sp[0]);
usr.sbin/smtpd/smtpd.c
1344
close(errfd[0]);
usr.sbin/smtpd/smtpd.c
1353
close(sp[1]);
usr.sbin/smtpd/smtpd.c
1354
close(errfd[1]);
usr.sbin/smtpd/smtpd.c
1489
close(pipefd[0]);
usr.sbin/smtpd/smtpd.c
1490
close(pipefd[1]);
usr.sbin/smtpd/smtpd.c
1504
close(pipefd[0]);
usr.sbin/smtpd/smtpd.c
1505
close(pipefd[1]);
usr.sbin/smtpd/smtpd.c
1506
close(allout);
usr.sbin/smtpd/smtpd.c
1515
close(pipefd[0]);
usr.sbin/smtpd/smtpd.c
1828
close(fd);
usr.sbin/smtpd/smtpd.c
826
close(sp[0]);
usr.sbin/smtpd/smtpd.h
372
void (*close)(struct table *);
usr.sbin/smtpd/smtpd.h
946
void (*close)(void);
usr.sbin/smtpd/ssl.c
63
close(fd);
usr.sbin/smtpd/ssl.c
71
close(fd);
usr.sbin/smtpd/table.c
368
if (t->t_backend->close)
usr.sbin/smtpd/table.c
369
t->t_backend->close(t);
usr.sbin/smtpd/table_db.c
141
handle->db->close(handle->db);
usr.sbin/smtpd/table_db.c
150
handle->db->close(handle->db);
usr.sbin/smtpd/table_db.c
53
.close = table_db_close,
usr.sbin/smtpd/table_getpwnam.c
37
.close = NULL,
usr.sbin/smtpd/table_proc.c
315
.close = table_proc_close,
usr.sbin/smtpd/table_static.c
55
.close = table_static_close,
usr.sbin/snmpd/application_agentx.c
175
close(master->axm_fd);
usr.sbin/snmpd/application_agentx.c
227
close(fd);
usr.sbin/snmpd/ax.c
88
close(ax->ax_fd);
usr.sbin/snmpd/proc.c
133
close(fd);
usr.sbin/snmpd/proc.c
258
close(fd);
usr.sbin/snmpd/proc.c
264
close(fd);
usr.sbin/snmpd/proc.c
458
close(pp->pp_pipes[dst][n]);
usr.sbin/snmpd/snmpd.c
315
close(fd);
usr.sbin/snmpd/snmpd.c
374
close(pair[1]);
usr.sbin/snmpd/snmpd.c
384
close(pair[0]);
usr.sbin/snmpd/snmpe.c
130
close(h->fd);
usr.sbin/snmpd/snmpe.c
201
close(s);
usr.sbin/snmpd/snmpe.c
523
close(afd);
usr.sbin/snmpd/snmpe.c
568
close(fd);
usr.sbin/snmpd/snmpe.c
595
close(fd);
usr.sbin/snmpd/snmpe.c
660
close(fd);
usr.sbin/snmpd/traphandler.c
345
close(s[0]);
usr.sbin/snmpd/traphandler.c
346
close(s[1]);
usr.sbin/snmpd/traphandler.c
364
close(s[0]);
usr.sbin/snmpd/traphandler.c
365
close(s[1]);
usr.sbin/snmpd/traphandler.c
369
close(s[1]);
usr.sbin/snmpd/traphandler.c
391
close(s[0]);
usr.sbin/snmpd/traphandler.c
403
close(s[1]);
usr.sbin/spamdb/spamdb.c
276
db->close(db);
usr.sbin/spamdb/spamdb.c
314
db->close(db);
usr.sbin/spamdb/spamdb.c
403
db->close(db);
usr.sbin/syslogc/syslogc.c
183
close(ctlsock);
usr.sbin/syslogd/privsep.c
129
close(socks[0]);
usr.sbin/syslogd/privsep.c
133
close(socks[1]);
usr.sbin/syslogd/privsep.c
143
close(lockfd);
usr.sbin/syslogd/privsep.c
149
close(nullfd);
usr.sbin/syslogd/privsep.c
269
close(fd);
usr.sbin/syslogd/privsep.c
295
close(fd);
usr.sbin/syslogd/privsep.c
305
close(fd);
usr.sbin/syslogd/privsep.c
316
close(fd);
usr.sbin/syslogd/privsep.c
435
close(sock);
usr.sbin/syslogd/privsep.c
503
close(fd[0]);
usr.sbin/syslogd/privsep.c
507
close(fd[1]);
usr.sbin/syslogd/privsep.c
678
close(fd);
usr.sbin/syslogd/privsep.c
704
close(fd);
usr.sbin/syslogd/syslogd.c
1002
close(*fdp);
usr.sbin/syslogd/syslogd.c
1009
close(*fdp);
usr.sbin/syslogd/syslogd.c
1017
close(*fdp);
usr.sbin/syslogd/syslogd.c
1173
close(fd);
usr.sbin/syslogd/syslogd.c
1186
close(fd);
usr.sbin/syslogd/syslogd.c
1197
close(fd);
usr.sbin/syslogd/syslogd.c
1391
close(p->p_fd);
usr.sbin/syslogd/syslogd.c
1409
close(s);
usr.sbin/syslogd/syslogd.c
1473
close(f->f_file);
usr.sbin/syslogd/syslogd.c
1568
close(f->f_file);
usr.sbin/syslogd/syslogd.c
2198
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
2487
(void)close(f->f_file);
usr.sbin/syslogd/syslogd.c
2621
close(fd_udp);
usr.sbin/syslogd/syslogd.c
2625
close(fd_udp6);
usr.sbin/syslogd/syslogd.c
3166
close(fd);
usr.sbin/syslogd/syslogd.c
3179
close(fd);
usr.sbin/syslogd/syslogd.c
3187
close(fd);
usr.sbin/syslogd/syslogd.c
3255
close(fd_ctlconn);
usr.sbin/syslogd/syslogd.c
589
close(fd_ctlsock);
usr.sbin/syslogd/syslogd.c
603
close(pair[1]);
usr.sbin/syslogd/syslogd.c
613
close(fd_tls[i]);
usr.sbin/syslogd/syslogd.c
717
close(fd_tls[i]);
usr.sbin/syslogd/syslogd.c
739
close(lockpipe[0]);
usr.sbin/syslogd/syslogd.c
742
close(lockpipe[1]);
usr.sbin/syslogd/syslogd.c
834
close(lockpipe[1]);
usr.sbin/syslogd/syslogd.c
840
close(nullfd);
usr.sbin/syslogd/syslogd.c
986
close(*fdp);
usr.sbin/syslogd/ttymsg.c
188
(void) close(fd);
usr.sbin/syslogd/ttymsg.c
218
close(fd);
usr.sbin/tcpdump/privsep.c
179
close(socks[0]);
usr.sbin/tcpdump/privsep.c
189
close(socks[1]);
usr.sbin/tcpdump/privsep.c
423
close(file);
usr.sbin/tcpdump/privsep.c
441
close(file);
usr.sbin/tcpdump/privsep.c
459
close(file);
usr.sbin/tcpdump/privsep_pcap.c
209
close(fd);
usr.sbin/tcpdump/privsep_pcap.c
318
close(fd);
usr.sbin/tcpdump/privsep_pcap.c
378
close(p->fd);
usr.sbin/tcpdump/privsep_pcap.c
498
close(fd);
usr.sbin/tcpdump/util.c
289
close(fd);
usr.sbin/tftp-proxy/tftp-proxy.c
296
close(pair[1]);
usr.sbin/tftp-proxy/tftp-proxy.c
302
close(pair[0]);
usr.sbin/tftp-proxy/tftp-proxy.c
530
close(rep->fd);
usr.sbin/tftp-proxy/tftp-proxy.c
574
close(s);
usr.sbin/tftp-proxy/tftp-proxy.c
891
close(s);
usr.sbin/tftpd/tftpd.c
1067
close(fd);
usr.sbin/tftpd/tftpd.c
1074
close(fd);
usr.sbin/tftpd/tftpd.c
1664
(void)close(devnull);
usr.sbin/tftpd/tftpd.c
589
close(s);
usr.sbin/tftpd/tftpd.c
662
close(client->sock);
usr.sbin/traceroute/traceroute.c
393
close(rcvsock4);
usr.sbin/traceroute/traceroute.c
395
close(sndsock4);
usr.sbin/traceroute/traceroute.c
403
close(rcvsock6);
usr.sbin/traceroute/traceroute.c
405
close(sndsock6);
usr.sbin/traceroute/traceroute.c
791
close(sndsock);
usr.sbin/traceroute/traceroute.c
829
close(dummy);
usr.sbin/unbound/daemon/unbound.c
346
close(fd);
usr.sbin/unbound/daemon/unbound.c
350
close(fd);
usr.sbin/unbound/daemon/unbound.c
394
close(fd);
usr.sbin/unbound/daemon/unbound.c
399
close(fd);
usr.sbin/unbound/daemon/unbound.c
404
close(fd);
usr.sbin/unbound/daemon/unbound.c
460
(void)close(fd);
usr.sbin/unbound/daemon/unbound.c
785
close(fd);
usr.sbin/unbound/dnscrypt/dnscrypt.c
543
close(fd);
usr.sbin/unbound/dnscrypt/dnscrypt.c
546
close(fd);
usr.sbin/unbound/dnstap/dtstream.c
1901
close(dtio->commandpipe[0]);
usr.sbin/unbound/dnstap/dtstream.c
2215
close(dtio->commandpipe[1]);
usr.sbin/unbound/ipset/ipset.c
359
close(dev);
usr.sbin/unbound/services/listen_dnsport.c
312
close(s);
usr.sbin/unbound/services/outside_network.c
353
close(s);
usr.sbin/unbound/services/outside_network.c
3667
close(fd);
usr.sbin/unbound/services/outside_network.c
3749
close(fd);
usr.sbin/unbound/services/outside_network.c
3826
close(fd);
usr.sbin/unbound/services/outside_network.c
720
close(s);
usr.sbin/unbound/smallapp/unbound-anchor.c
733
close(fd);
usr.sbin/unbound/testcode/petal.c
136
close(fd);
usr.sbin/unbound/testcode/testbound.c
553
if (close(fd) == -1) {
usr.sbin/unbound/util/data/msgencode.c
117
struct compress_tree_node* close = 0;
usr.sbin/unbound/util/data/msgencode.c
131
close = p; /* p->dname is smaller than dname */
usr.sbin/unbound/util/data/msgencode.c
138
*match = close;
usr.sbin/unbound/util/net_help.c
1991
close(socket);
usr.sbin/unbound/util/tube.c
106
close(tube->sr);
usr.sbin/unbound/util/tube.c
114
close(tube->sw);
usr.sbin/unwindctl/unwindctl.c
212
close(ctl_sock);
usr.sbin/usbdevs/usbdevs.c
285
close(fd);
usr.sbin/usbdevs/usbdevs.c
296
close(fd);
usr.sbin/user/user.c
1071
close(masterfd);
usr.sbin/user/user.c
1076
close(masterfd);
usr.sbin/user/user.c
1077
close(ptmpfd);
usr.sbin/user/user.c
1096
close(ptmpfd);
usr.sbin/user/user.c
1105
close(ptmpfd);
usr.sbin/user/user.c
1135
close(ptmpfd);
usr.sbin/user/user.c
1142
close(ptmpfd);
usr.sbin/user/user.c
1149
close(ptmpfd);
usr.sbin/user/user.c
1156
close(ptmpfd);
usr.sbin/user/user.c
1164
close(ptmpfd);
usr.sbin/user/user.c
1170
close(ptmpfd);
usr.sbin/user/user.c
1179
close(ptmpfd);
usr.sbin/user/user.c
1213
close(ptmpfd);
usr.sbin/user/user.c
1219
close(ptmpfd);
usr.sbin/user/user.c
1227
close(ptmpfd);
usr.sbin/user/user.c
1233
close(ptmpfd);
usr.sbin/user/user.c
1243
close(ptmpfd);
usr.sbin/user/user.c
1253
close(ptmpfd);
usr.sbin/user/user.c
1261
close(ptmpfd);
usr.sbin/user/user.c
1276
close(ptmpfd);
usr.sbin/user/user.c
1290
close(ptmpfd);
usr.sbin/user/user.c
1296
close(ptmpfd);
usr.sbin/user/user.c
1301
close(ptmpfd);
usr.sbin/user/user.c
1345
close(fd);
usr.sbin/user/user.c
1513
close(masterfd);
usr.sbin/user/user.c
1518
close(masterfd);
usr.sbin/user/user.c
1519
close(ptmpfd);
usr.sbin/user/user.c
1529
close(ptmpfd);
usr.sbin/user/user.c
1554
close(ptmpfd);
usr.sbin/user/user.c
1568
close(ptmpfd);
usr.sbin/user/user.c
1599
close(ptmpfd);
usr.sbin/user/user.c
1616
close(ptmpfd);
usr.sbin/user/user.c
1626
close(ptmpfd);
usr.sbin/user/user.c
1633
close(ptmpfd);
usr.sbin/user/user.c
1641
close(ptmpfd);
usr.sbin/user/user.c
1669
close(ptmpfd);
usr.sbin/user/user.c
1700
close(ptmpfd);
usr.sbin/user/user.c
1709
close(ptmpfd);
usr.sbin/user/user.c
1719
close(masterfd);
usr.sbin/user/user.c
1720
close(ptmpfd);
usr.sbin/user/user.c
1733
close(ptmpfd);
usr.sbin/user/user.c
1741
close(ptmpfd);
usr.sbin/user/user.c
1749
close(ptmpfd);
usr.sbin/user/user.c
1757
close(ptmpfd);
usr.sbin/user/user.c
1765
close(ptmpfd);
usr.sbin/user/user.c
249
close(dev_null);
usr.sbin/user/user.c
431
close(fd);
usr.sbin/user/user.c
503
close(fd);
usr.sbin/user/user.c
628
close(fd);
usr.sbin/vipw/vipw.c
85
(void)close(tfd);
usr.sbin/vmctl/main.c
174
close(ibuf->fd);
usr.sbin/vmctl/main.c
444
close(fd);
usr.sbin/vmctl/main.c
720
src.file.close(src.file.p, 0);
usr.sbin/vmctl/main.c
722
dst.file.close(dst.file.p, 0);
usr.sbin/vmctl/vmctl.c
863
close(basefd[i]);
usr.sbin/vmd/config.c
504
close(kernfd);
usr.sbin/vmd/config.c
506
close(cdromfd);
usr.sbin/vmd/config.c
510
close(diskfds[i][j]);
usr.sbin/vmd/config.c
513
close(tapfds[i]);
usr.sbin/vmd/config.c
552
close(fd);
usr.sbin/vmd/config.c
621
close(fd);
usr.sbin/vmd/control.c
196
close(fd);
usr.sbin/vmd/control.c
203
close(fd);
usr.sbin/vmd/control.c
217
close(fd);
usr.sbin/vmd/control.c
225
close(fd);
usr.sbin/vmd/control.c
297
close(connfd);
usr.sbin/vmd/control.c
304
close(connfd);
usr.sbin/vmd/control.c
311
close(connfd);
usr.sbin/vmd/control.c
362
close(c->iev.ibuf.fd);
usr.sbin/vmd/parse.y
1381
close(fd);
usr.sbin/vmd/priv.c
245
close(ifd);
usr.sbin/vmd/proc.c
112
close(fds[0]);
usr.sbin/vmd/proc.c
125
close(fds[1]);
usr.sbin/vmd/proc.c
208
close(fd);
usr.sbin/vmd/proc.c
214
close(fd);
usr.sbin/vmd/proc.c
313
close(ps->ps_pipes[dst]);
usr.sbin/vmd/vioqcow2.c
130
file->close = qc2_close;
usr.sbin/vmd/vioqcow2.c
454
close(disk->fd);
usr.sbin/vmd/vioqcow2.c
667
close(fd);
usr.sbin/vmd/vioqcow2.c
748
ret = close(fd);
usr.sbin/vmd/vioqcow2.c
752
close(fd);
usr.sbin/vmd/vioraw.c
119
close(fd);
usr.sbin/vmd/vioraw.c
124
ret = close(fd);
usr.sbin/vmd/vioraw.c
56
close(*(int *)file);
usr.sbin/vmd/vioraw.c
86
file->close = raw_close;
usr.sbin/vmd/virtio.c
1268
vioscsi->vioscsi.file.close(vioscsi->vioscsi.file.p, 0);
usr.sbin/vmd/virtio.h
170
void (*close)(void *, int);
usr.sbin/vmd/vm_agentx.c
372
vm_agentx_nofd(struct agentx *agentx, void *cookie, int close)
usr.sbin/vmd/vm_agentx.c
378
if (close)
usr.sbin/vmd/vm_agentx.c
399
close(fd);
usr.sbin/vmd/vmd.c
1036
close(vm->vm_iev.ibuf.fd);
usr.sbin/vmd/vmd.c
1041
close(vm->vm_disks[i][j]);
usr.sbin/vmd/vmd.c
1048
close(vm->vm_ifs[i].vif_fd);
usr.sbin/vmd/vmd.c
1059
close(vm->vm_kernel);
usr.sbin/vmd/vmd.c
1063
close(vm->vm_cdrom);
usr.sbin/vmd/vmd.c
1620
close(tty_slave);
usr.sbin/vmd/vmd.c
1695
close(vm->vm_tty);
usr.sbin/vmd/vmd.c
1797
do { ret = close(fd); } while (ret == -1 && errno == EINTR);
usr.sbin/vmd/vmd.c
1799
ret = close(fd);
usr.sbin/vmd/vmm.c
713
close(dev_null);
usr.sbin/wsfontload/wsfontload.c
165
close(wsfd);
usr.sbin/wsmoused/wsmoused.c
229
close(mouse.mfd);
usr.sbin/wsmoused/wsmoused.c
533
close(mouse.mfd);
usr.sbin/ypbind/ypbind.c
1010
close(ypdb->dom_lockfd);
usr.sbin/ypbind/ypbind.c
1046
close(ypdb->dom_lockfd);
usr.sbin/ypbind/ypbind.c
692
close(ypdb->dom_lockfd);
usr.sbin/ypldap/aldap.c
76
close(al->fd);
usr.sbin/ypldap/ldapclient.c
353
close(pipe_dns[1]);
usr.sbin/ypldap/ldapclient.c
388
close(pipe_main2client[0]);
usr.sbin/ypldap/ldapclient.c
581
close(fd);
usr.sbin/ypldap/ldapclient.c
587
close(fd);
usr.sbin/ypldap/yp.c
236
close(fd);
usr.sbin/ypldap/ypldap.c
589
close(pipe_main2client[1]);
usr.sbin/ypldap/ypldap_dns.c
94
close(pipe_ntp[0]);
usr.sbin/ypserv/common/ypdb.c
100
(void)(db->close)(db);
usr.sbin/ypserv/makedbm/db.c
60
db->close(db);
usr.sbin/ypserv/mkalias/mkalias.c
225
close(fd);
usr.sbin/ypserv/yppush/yppush.c
192
close(transp->xp_sock);
usr.sbin/ypserv/ypserv/ypserv.c
458
(void) close(i);
usr.sbin/ypserv/ypxfr/ypxfr.c
467
close(fd);