Defined in 10 files as a prototype:
- crypto/external/bsd/heimdal/include/roken.h, line 169 (as a prototype)
- external/bsd/am-utils/dist/include/am_defs.h, line 1508 (as a prototype)
- external/bsd/libpcap/dist/lbl/os-sunos4.h, line 123 (as a prototype)
- external/bsd/ntp/dist/include/l_stdlib.h, line 91 (as a prototype)
- external/bsd/pcc/dist/pcc/mip/compat.h, line 29 (as a prototype)
- external/bsd/tcpdump/dist/lbl/os-sunos4.h, line 122 (as a prototype)
- external/gpl2/gmake/dist/main.c, line 845 (as a prototype)
- external/gpl2/groff/dist/src/include/lib.h, line 76 (as a prototype)
- include/stdlib.h, line 263 (as a prototype)
- tools/compat/compat_defs.h, line 448 (as a prototype)
Defined in 2 files as a macro:
Defined in 11 files as a function:
- crypto/external/bsd/heimdal/dist/lib/roken/mkstemp.c, line 52 (as a function)
- external/bsd/kyua-cli/dist/utils/fs/auto_cleaners.cpp, line 223 (as a function)
- external/bsd/kyua-cli/dist/utils/fs/operations.cpp, line 250 (as a function)
- external/bsd/libbind/dist/bsd/mktemp.c, line 80 (as a function)
- external/bsd/ntp/dist/lib/isc/win32/file.c, line 113 (as a function)
- external/bsd/nvi/dist/clib/mkstemp.c, line 57 (as a function)
- external/bsd/openldap/dist/libraries/liblutil/utils.c, line 427 (as a function)
- external/bsd/pcc/dist/pcc/mip/compat.c, line 186 (as a function)
- external/gpl2/groff/dist/src/libs/libgroff/mkstemp.cpp, line 33 (as a function)
- external/gpl3/binutils/dist/gprofng/libcollector/iotrace.c, line 1487 (as a function)
- external/mpl/bind/dist/lib/isc/win32/file.c, line 123 (as a function)
Referenced in 200 files:
- bin/ed/buf.c, line 231
- bin/ksh/io.c, line 467
- bin/pax/file_subs.c, line 165
- bin/pax/tables.c, 2 times
- bin/sh/histedit.c, line 476
- common/lib/libprop/prop_object.c, line 869
- crypto/external/bsd/heimdal/dist/lib/krb5/dcache.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/fcache.c, line 353
- crypto/external/bsd/heimdal/dist/lib/roken/test-readenv.c, line 55
- crypto/external/bsd/netpgp/dist/src/lib/netpgp.c, line 696
- crypto/external/bsd/netpgp/dist/src/libverify/pgpsum.c, line 78
- crypto/external/bsd/netpgp/dist/src/netpgpverify/pgpsum.c, line 94
- crypto/external/bsd/openssh/dist/hostfile.c, line 616
- crypto/external/bsd/openssh/dist/moduli.c, line 460
- crypto/external/bsd/openssh/dist/session.c, line 263
- crypto/external/bsd/openssh/dist/ssh-keygen.c, 3 times
- external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp, line 1097
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-port.cc, line 1112
- external/bsd/am-utils/dist/conf/mtab/mtab_file.c, line 269
- external/bsd/am-utils/dist/conf/mtab/mtab_linux.c, line 372
- external/bsd/am-utils/dist/conf/mtab/mtab_mach3.c, line 333
- external/bsd/am-utils/dist/hlfsd/homedir.c, line 742
- external/bsd/am-utils/dist/mk-amd-map/mk-amd-map.c, line 296
- external/bsd/atf/dist/atf-c/detail/fs.c, line 231
- external/bsd/atf/dist/atf-sh/atf-check.cpp, line 122
- external/bsd/byacc/dist/main.c, line 701
- external/bsd/cron/dist/crontab.c, 2 times
- external/bsd/dhcpcd/dist/src/script.c, line 263
- external/bsd/file/dist/src/compress.c, line 512
- external/bsd/iscsi/dist/src/lib/conffile.c, line 234
- external/bsd/kyua-cli/dist/utils/fs/auto_cleaners.cpp, line 226
- external/bsd/kyua-cli/dist/utils/fs/auto_cleaners_test.cpp, line 146
- external/bsd/kyua-cli/dist/utils/fs/operations.cpp, line 259
- external/bsd/kyua-cli/dist/utils/fs/operations_test.cpp, 4 times
- external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c, line 363
- external/bsd/libarchive/dist/libarchive/archive_util.c, line 409
- external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c, 2 times
- external/bsd/libevent/dist/test/regress_main.c, line 147
- external/bsd/mdocml/dist/tag.c, 2 times
- external/bsd/ntp/dist/lib/isc/win32/file.c, 3 times
- external/bsd/ntp/dist/sntp/libevent/test/regress_main.c, line 138
- external/bsd/ntp/dist/sntp/libopts/pgusage.c, line 57
- external/bsd/nvi/dist/common/exf.c, line 205
- external/bsd/nvi/dist/common/recover.c, line 877
- external/bsd/nvi/dist/common/vi_db.c, line 712
- external/bsd/openldap/dist/clients/tools/ldapsearch.c, line 2001
- external/bsd/openldap/dist/include/lutil.h, line 233
- external/bsd/openldap/dist/servers/slapd/back-ldif/ldif.c, line 567
- external/bsd/pcc/dist/pcc/cc/cc/cc.c, line 1527
- external/bsd/pcc/dist/pcc/f77/fcom/main.c, line 79
- external/bsd/pkg_install/dist/lib/var.c, line 216
- external/bsd/tmux/dist/popup.c, line 785
- external/cddl/osnet/dist/cmd/ztest/ztest.c, line 6009
- external/cddl/osnet/lib/libzfs/fsshare.c, line 167
- external/gpl2/diffutils/dist/lib/mkstemp.c, line 25
- external/gpl2/diffutils/dist/src/sdiff.c, line 1218
- external/gpl2/gmake/dist/main.c, line 864
- external/gpl2/groff/dist/src/libs/libgroff/tmpfile.cpp, line 178
- external/gpl2/groff/dist/src/utils/indxbib/indxbib.cpp, line 239
- external/gpl2/rcs/dist/src/rcsedit.c, line 1534
- external/gpl2/rcs/dist/src/rcsfnms.c, line 305
- external/gpl2/texinfo/dist/lib/mkstemp.c, line 25
- external/gpl2/xcvs/dist/lib/mkstemp.c, line 28
- external/gpl2/xcvs/dist/src/filesubr.c, line 758
- external/gpl3/binutils.old/dist/binutils/bucomm.c, line 541
- external/gpl3/binutils/dist/binutils/bucomm.c, line 549
- external/gpl3/binutils/dist/gprofng/libcollector/iotrace.c, 3 times
- external/gpl3/gcc.old/dist/libgfortran/io/unix.c, line 1236
- external/gpl3/gcc/dist/libgfortran/io/unix.c, line 1236
- external/gpl3/gdb.old/dist/binutils/bucomm.c, line 541
- external/gpl3/gdb.old/dist/gnulib/import/stdlib.in.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/dist/binutils/bucomm.c, line 541
- external/gpl3/gdb/dist/gnulib/import/stdlib.in.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/stdlib.h, 8 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h, 8 times
- external/mit/libuv/dist/src/unix/fs.c, line 359
- external/mit/libuv/dist/src/win/fs.c, line 2822
- external/mit/lua/dist/src/loslib.c, line 118
- external/mpl/bind/dist/lib/isc/win32/file.c, 3 times
- games/larn/bill.c, line 136
- lib/libc/db/db/dbfile.c, line 102
- lib/libc/stdio/mkstemp.c, 2 times
- lib/libc/stdio/tmpfile.c, line 69
- lib/libedit/readline.c, line 1300
- lib/libedit/vi.c, line 1020
- lib/libnpf/npf.c, line 1200
- libexec/ftpd/ftpd.c, line 1733
- libexec/mail.local/mail.local.c, line 141
- libexec/makewhatis/makewhatis.c, line 789
- sbin/disklabel/main.c, line 1524
- sbin/dump/snapshot.c, line 113
- sbin/ldconfig/ldconfig.c, line 462
- sbin/restore/dirs.c, 2 times
- share/examples/refuse/ian/ian/ian.c, line 104
- sys/arch/usermode/usermode/thunk.c, line 564
- sys/arch/x68k/stand/installboot/installboot.c, line 229
- sys/arch/x68k/stand/newdisk/newdisk.c, line 173
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, line 2298
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_libc_test.cc, line 87
- sys/external/bsd/compiler_rt/dist/lib/xray/xray_utils.cc, line 176
- tests/lib/libc/stdlib/t_exit.c, line 158
- tests/lib/libc/stdlib/t_mktemp.c, line 127
- tests/lib/libc/sys/t_dup.c, line 312
- tests/lib/libc/sys/t_fsync.c, line 102
- tests/lib/libc/sys/t_ptrace_core_wait.h, line 180
- tests/lib/libc/sys/t_ptrace_x86_wait.h, line 3616
- usr.bin/calendar/calendar.c, line 483
- usr.bin/chpass/chpass.c, line 227
- usr.bin/config/main.c, 2 times
- usr.bin/crunch/crunchgen/crunchgen.c, line 683
- usr.bin/error/touch.c, line 589
- usr.bin/ftp/util.c, line 573
- usr.bin/last/want.c, line 109
- usr.bin/m4/eval.c, 2 times
- usr.bin/mail/cmd3.c, line 503
- usr.bin/mail/collect.c, 3 times
- usr.bin/mail/edit.c, line 70
- usr.bin/mail/fio.c, line 192
- usr.bin/mail/lex.c, line 280
- usr.bin/mail/list.c, line 627
- usr.bin/mail/mime_attach.c, 2 times
- usr.bin/mail/names.c, line 291
- usr.bin/mail/quit.c, 3 times
- usr.bin/mail/send.c, line 489
- usr.bin/make/main.c, line 2149
- usr.bin/man/man.c, line 808
- usr.bin/mkdep/mkdep.c, line 125
- usr.bin/mktemp/mktemp.c, line 148
- usr.bin/msgs/msgs.c, line 790
- usr.bin/nc/netcat.c, line 438
- usr.bin/patch/patch.c, 4 times
- usr.bin/qsubst/qsubst.c, line 544
- usr.bin/rdist/main.c, line 201
- usr.bin/rwall/rwall.c, line 165
- usr.bin/sdiff/edit.c, line 129
- usr.bin/sdiff/sdiff.c, line 125
- usr.bin/sort/sort.c, line 334
- usr.bin/sort/tmp.c, line 97
- usr.bin/tic/tic.c, line 585
- usr.bin/unifdef/unifdef.c, line 357
- usr.bin/wall/wall.c, line 234
- usr.bin/xinstall/xinstall.c, line 732
- usr.bin/xlint/lint1/main1.c, line 107
- usr.bin/xlint/xlint/xlint.c, 2 times
- usr.sbin/edquota/edquota.c, line 1280
- usr.sbin/fssconfig/fssconfig.c, line 166
- usr.sbin/lpr/lpd/printjob.c, 2 times
- usr.sbin/npf/npfd/npfd_log.c, line 197
- usr.sbin/npf/npftest/npftest.c, line 137
- usr.sbin/sysinst/util.c, 2 times
- usr.sbin/user/user.c, 5 times
- usr.sbin/ypserv/common/ypdb.c, line 114