Defined in 11 files as a prototype:
- contrib/amd/include/am_defs.h, line 1513 (as a prototype)
- contrib/gcc/sys-protos.h, line 726 (as a prototype)
- contrib/groff/src/include/lib.h, line 74 (as a prototype)
- contrib/libpcap/lbl/os-sunos4.h, line 121 (as a prototype)
- contrib/ntp/include/l_stdlib.h, line 89 (as a prototype)
- contrib/tcpdump/lbl/os-sunos4.h, line 122 (as a prototype)
- contrib/tnftp/tnftp.h, line 377 (as a prototype)
- crypto/openssh/defines.h, line 693 (as a prototype)
- crypto/openssh/openbsd-compat/openbsd-compat.h, line 114 (as a prototype)
- include/stdlib.h, line 189 (as a prototype)
- include/unistd.h, line 527 (as a prototype)
Defined in 1 files as a macro:
Defined in 6 files as a function:
Referenced in 122 files:
- bin/ed/buf.c, line 200
- bin/pax/tables.c, 2 times
- bin/sh/histedit.c, line 316
- cddl/compat/opensolaris/misc/fsshare.c, line 169
- cddl/contrib/opensolaris/cmd/ztest/ztest.c, line 6206
- contrib/amd/hlfsd/homedir.c, line 740
- contrib/amd/mk-amd-map/mk-amd-map.c, line 294
- contrib/apr/file_io/unix/mktemp.c, line 190
- contrib/atf/atf-c/detail/fs.c, line 226
- contrib/atf/atf-sh/atf-check.cpp, line 120
- contrib/binutils/binutils/bucomm.c, line 449
- contrib/bmake/main.c, line 2150
- contrib/byacc/main.c, line 607
- contrib/compiler-rt/lib/xray/xray_utils.cc, line 114
- contrib/diff/src/sdiff.c, line 1219
- contrib/dma/spool.c, line 82
- contrib/ee/ee.c, line 4438
- contrib/elftoolchain/elfcopy/main.c, line 545
- contrib/file/src/compress.c, line 397
- contrib/groff/src/libs/libgroff/tmpfile.cpp, line 176
- contrib/groff/src/utils/indxbib/indxbib.cpp, line 237
- contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c, line 360
- contrib/libarchive/libarchive/archive_util.c, line 407
- contrib/libarchive/libarchive/archive_write_disk_posix.c, 2 times
- contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp, line 769
- contrib/mdocml/tag.c, 2 times
- contrib/ncurses/progs/tic.c, line 384
- contrib/netbsd-tests/lib/libc/stdlib/t_exit.c, line 158
- contrib/netbsd-tests/lib/libc/sys/t_dup.c, line 328
- contrib/netbsd-tests/lib/libc/sys/t_fsync.c, line 102
- contrib/ntp/lib/isc/win32/file.c, 3 times
- contrib/ntp/sntp/libevent/test/regress_main.c, line 136
- contrib/ntp/sntp/libopts/pgusage.c, line 55
- contrib/nvi/common/exf.c, line 192
- contrib/nvi/common/recover.c, line 826
- contrib/sendmail/libmilter/example.c, line 117
- contrib/sendmail/mail.local/mail.local.c, line 795
- contrib/sendmail/test/t_pathconf.c, line 49
- contrib/tcsh/sh.dol.c, line 960
- contrib/tnftp/src/util.c, line 579
- crypto/heimdal/appl/afsutil/pagsh.c, line 154
- crypto/heimdal/appl/ftp/ftp/cmds.c, line 800
- crypto/heimdal/appl/gssmask/gssmask.c, line 863
- crypto/heimdal/appl/rsh/rshd.c, line 795
- crypto/heimdal/lib/krb5/fcache.c, 2 times
- crypto/heimdal/lib/roken/test-readenv.c, line 53
- crypto/openssh/auth-krb5.c, line 253
- crypto/openssh/hostfile.c, line 566
- crypto/openssh/moduli.c, line 460
- crypto/openssh/ssh-keygen.c, line 1222
- gnu/usr.bin/rcs/lib/rcsedit.c, line 1531
- gnu/usr.bin/rcs/lib/rcsfnms.c, line 301
- lib/libc/stdio/tmpfile.c, line 75
- lib/libc/tests/stdio/perror_test.c, line 56
- lib/libedit/readline.c, line 1225
- lib/libedit/vi.c, line 1018
- release/picobsd/tinyware/passwd/pw_util.c, line 163
- sbin/bsdlabel/bsdlabel.c, line 655
- sbin/camcontrol/modeedit.c, line 784
- sbin/gbde/gbde.c, line 547
- sbin/gvinum/gvinum.c, line 210
- sbin/ldconfig/elfhints.c, line 264
- sbin/ldconfig/ldconfig.c, line 497
- sbin/restore/dirs.c, 2 times
- sbin/sunlabel/sunlabel.c, line 492
- tests/sys/aio/aio_kqueue_test.c, line 93
- tests/sys/aio/lio_kqueue_test.c, line 89
- tests/sys/file/dup_test.c, line 71
- tests/sys/file/flock_helper.c, line 95
- tests/sys/kern/kern_copyin.c, line 62
- tests/sys/kern/pipe/pipe_overcommit2_test.c, line 53
- tests/sys/kern/ptrace_test.c, line 3323
- tests/sys/kern/unix_passfd_test.c, line 89
- tests/sys/posixshm/posixshm_test.c, line 57
- tools/regression/p1003_1b/sched.c, line 218
- tools/regression/priv/main.c, line 408
- tools/regression/security/cap_test/cap_test_capabilities.c, line 440
- tools/regression/security/open_to_operation/open_to_operation.c, line 1091
- tools/regression/sockets/pr_atomic/pr_atomic.c, line 61
- tools/regression/sockets/reconnect/reconnect.c, 2 times
- tools/regression/sockets/sendfile/sendfile.c, line 467
- tools/regression/sockets/unix_close_race/unix_close_race.c, line 78
- tools/regression/sockets/unix_sendtorace/unix_sendtorace.c, line 208
- tools/regression/sockets/zerosend/zerosend.c, line 215
- tools/tools/indent_wrapper/indent_wrapper.c, 2 times
- tools/tools/netrate/httpd/httpd.c, line 260
- usr.bin/calendar/io.c, line 436
- usr.bin/diff/diffreg.c, line 521
- usr.bin/m4/eval.c, 2 times
- usr.bin/mail/collect.c, 3 times
- usr.bin/mail/edit.c, line 146
- usr.bin/mail/fio.c, line 71
- usr.bin/mail/lex.c, line 132
- usr.bin/mail/names.c, line 315
- usr.bin/mail/quit.c, 3 times
- usr.bin/mail/send.c, line 462
- usr.bin/mkimg/image.c, line 737
- usr.bin/mktemp/mktemp.c, line 131
- usr.bin/msgs/msgs.c, line 791
- usr.bin/patch/patch.c, 4 times
- usr.bin/rwall/rwall.c, line 138
- usr.bin/sdiff/edit.c, line 146
- usr.bin/sdiff/sdiff.c, line 180
- usr.bin/unifdef/unifdef.h, line 50
- usr.bin/wall/wall.c, line 204
- usr.bin/xinstall/xinstall.c, 2 times
- usr.bin/xlint/xlint/xlint.c, 2 times
- usr.bin/xstr/xstr.c, line 126
- usr.sbin/bhyve/acpi.c, line 799
- usr.sbin/cron/crontab/crontab.c, line 344
- usr.sbin/crunch/crunchgen/crunchgen.c, line 724
- usr.sbin/ctm/ctm/ctm.c, line 240
- usr.sbin/ctm/ctm/ctm_pass2.c, 2 times
- usr.sbin/ctm/ctm_rmail/ctm_rmail.c, 2 times
- usr.sbin/kbdmap/kbdmap.c, line 358
- usr.sbin/kgzip/kgzip.c, line 154
- usr.sbin/kldxref/kldxref.c, line 602
- usr.sbin/lpr/lpd/printjob.c, 3 times
- usr.sbin/ndiscvt/ndiscvt.c, line 173
- usr.sbin/newsyslog/newsyslog.c, line 2597
- usr.sbin/pkg/pkg.c, line 201
- usr.sbin/pmcannotate/pmcannotate.c, 2 times