Defined in 3 files as a prototype:
Defined in 1 files as a member:
Defined in 14 files as a macro:
- common/dist/zlib/contrib/untgz/untgz.c, line 29 (as a macro)
- external/bsd/openldap/dist/servers/slapd/back-ldif/ldif.c, line 69 (as a macro)
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/mkdtemp.c, line 79 (as a macro)
- external/gpl2/gettext/dist/gettext-tools/src/write-csharp.c, line 78 (as a macro)
- external/gpl2/gettext/dist/gettext-tools/src/write-java.c, line 61 (as a macro)
- external/gpl2/groff/dist/src/include/nonposix.h, line 60 (as a macro)
- external/gpl3/gcc/dist/fixincludes/tests/base/sys/stat.h, line 33 (as a macro)
- external/gpl3/gcc/dist/gcc/system.h, line 658 (as a macro)
- external/gpl3/gdb/dist/gdb/gnulib/import/mkdir.c, line 42 (as a macro)
- lib/libc/time/zic.c, line 45 (as a macro)
- sys/external/bsd/acpica/dist/include/platform/acwin.h, line 77 (as a macro)
- sys/external/bsd/acpica/dist/include/platform/acwin64.h, line 62 (as a macro)
- sys/external/bsd/acpica/dist/tools/acpisrc/acpisrc.h, line 53 (as a macro)
- sys/rump/include/rump/rump_syscallshotgun.h, line 85 (as a macro)
Defined in 1 files as a function:
Referenced in 194 files:
- bin/cp/cp.c, line 482
- bin/mkdir/mkdir.c, 2 times
- bin/pax/ar_subs.c, line 138
- bin/rcp/rcp.c, line 620
- common/dist/zlib/contrib/minizip/miniunz.c, 2 times
- common/dist/zlib/contrib/untgz/untgz.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/roken/mkdir.c, 2 times
- crypto/external/bsd/heimdal/include/roken.h, line 176
- crypto/external/bsd/netpgp/dist/src/lib/netpgp.c, line 1277
- crypto/external/bsd/netpgp/dist/src/netpgpkeys/netpgpkeys.c, line 463
- crypto/external/bsd/openssh/dist/scp.c, line 1414
- crypto/external/bsd/openssh/dist/sftp-client.c, line 1515
- crypto/external/bsd/openssh/dist/sftp-server.c, line 1123
- crypto/external/bsd/openssh/dist/sftp.c, line 1689
- crypto/external/bsd/openssh/dist/ssh-keygen.c, line 2832
- crypto/external/bsd/openssh/dist/ssh.c, line 1417
- crypto/external/cpl/trousers/dist/src/tcsd/tcsd_conf.c, line 850
- crypto/external/cpl/trousers/dist/src/tspi/ps/tspps.c, line 141
- external/bsd/am-utils/dist/conf/autofs/autofs_linux.c, 2 times
- external/bsd/am-utils/dist/conf/autofs/autofs_solaris_v1.c, 2 times
- external/bsd/am-utils/dist/hlfsd/homedir.c, line 187
- external/bsd/am-utils/dist/libamu/xutil.c, 2 times
- external/bsd/atf/dist/atf-c++/detail/fs_test.cpp, 2 times
- external/bsd/atf/dist/atf-c/detail/fs_test.c, 8 times
- external/bsd/atf/dist/tools/fs_test.cpp, 16 times
- external/bsd/cron/dist/misc.c, 2 times
- external/bsd/dhcpcd/dist/src/dhcpcd.c, 2 times
- external/bsd/iscsi/dist/src/osd/osd.c, 3 times
- external/bsd/iscsi/dist/src/osd/osdfs.c, line 768
- external/bsd/kyua-cli/dist/cli/cmd_about_test.cpp, 3 times
- external/bsd/kyua-cli/dist/cli/cmd_report_html.cpp, line 82
- external/bsd/kyua-cli/dist/cli/common_test.cpp, line 252
- external/bsd/kyua-cli/dist/cli/config_test.cpp, 3 times
- external/bsd/kyua-cli/dist/engine/drivers/list_tests_test.cpp, 4 times
- external/bsd/kyua-cli/dist/engine/kyuafile_test.cpp, 8 times
- external/bsd/kyua-cli/dist/engine/metadata_test.cpp, 2 times
- external/bsd/kyua-cli/dist/engine/test_case_test.cpp, 7 times
- external/bsd/kyua-cli/dist/engine/testers_test.cpp, 3 times
- external/bsd/kyua-cli/dist/examples/syntax_test.cpp, 5 times
- external/bsd/kyua-cli/dist/store/backend_test.cpp, line 92
- external/bsd/kyua-cli/dist/utils/fs/auto_cleaners_test.cpp, 4 times
- external/bsd/kyua-cli/dist/utils/fs/lua_module_test.cpp, 2 times
- external/bsd/kyua-cli/dist/utils/fs/operations.cpp, 3 times
- external/bsd/kyua-cli/dist/utils/fs/operations_test.cpp, 22 times
- external/bsd/kyua-cli/dist/utils/logging/operations_test.cpp, line 310
- external/bsd/kyua-cli/dist/utils/process/child_test.cpp, line 593
- external/bsd/kyua-cli/dist/utils/sqlite/database_test.cpp, line 107
- external/bsd/kyua-cli/dist/utils/text/templates_test.cpp, line 941
- external/bsd/kyua-testers/dist/fs_test.c, 32 times
- external/bsd/kyua-testers/dist/result_test.c, line 96
- external/bsd/kyua-testers/dist/run_test.c, 7 times
- external/bsd/kyua-testers/dist/stacktrace_test.c, line 141
- external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c, 2 times
- external/bsd/libarchive/dist/test_utils/test_main.c, line 1906
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_PIC_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/ELF_ARM_EXIDX_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/MachO_Thumb_Relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N32_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N64R6_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32R6_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_elf.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_reloc.s, 2 times
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_x86_64.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_x86_64_IMGREL.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF-large-pic-relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF-relaxed.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x64-64_PC8_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x64-64_PIC_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_PIC-small-relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_debug_frame.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_eh_frame.s, line 1
- external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s, line 1
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-filepath.cc, line 334
- external/bsd/mdocml/dist/compat_mkdtemp.c, line 50
- external/bsd/nsd/dist/dbcreate.c, line 291
- external/bsd/nsd/dist/xfrd-disk.c, line 529
- external/bsd/ntp/dist/lib/isc/unix/dir.c, line 217
- external/bsd/ntp/dist/lib/isc/win32/dir.c, line 271
- external/bsd/ntp/dist/sntp/kod_management.c, line 148
- external/bsd/nvi/dist/common/recover.c, line 158
- external/bsd/nvi/dist/common/vi_db.c, line 718
- external/bsd/openldap/dist/contrib/slapd-modules/nssov/nssov.c, line 874
- external/bsd/openldap/dist/servers/slapd/back-ldif/ldif.c, line 555
- external/bsd/pkg_install/dist/add/perform.c, 2 times
- external/bsd/tmux/dist/tmux.c, line 133
- external/bsd/wpa/dist/hostapd/ctrl_iface.c, 2 times
- external/bsd/wpa/dist/hs20/client/osu_client.c, 5 times
- external/bsd/wpa/dist/wpa_supplicant/ctrl_iface_unix.c, line 524
- external/cddl/osnet/lib/libzfs/mkdirp.c, 3 times
- external/gpl2/diffutils/dist/lib/tempname.c, line 101
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/mkdtemp.c, line 85
- external/gpl2/gettext/dist/gettext-tools/src/write-csharp.c, line 681
- external/gpl2/gettext/dist/gettext-tools/src/write-java.c, line 994
- external/gpl2/groff/dist/src/libs/libgroff/tmpname.cpp, line 107
- external/gpl2/groff/dist/src/preproc/html/pre-html.cpp, line 569
- external/gpl2/lvm2/dist/lib/activate/fs.c, line 49
- external/gpl2/lvm2/dist/libdm/libdm-file.c, 2 times
- external/gpl2/texinfo/dist/lib/tempname.c, line 103
- external/gpl2/texinfo/dist/makeinfo/makeinfo.c, line 1417
- external/gpl2/xcvs/dist/lib/mkdir.c, 2 times
- external/gpl2/xcvs/dist/lib/system.h, line 232
- external/gpl2/xcvs/dist/lib/tempname.c, line 79
- external/gpl2/xcvs/dist/src/filesubr.c, 4 times
- external/gpl3/binutils/dist/binutils/bucomm.c, 2 times
- external/gpl3/binutils/dist/zlib/contrib/minizip/miniunz.c, 2 times
- external/gpl3/binutils/dist/zlib/contrib/untgz/untgz.c, 2 times
- external/gpl3/gcc/dist/fixincludes/fixincl.c, 2 times
- external/gpl3/gcc/dist/gcc/gcov-tool.c, line 103
- external/gpl3/gcc/dist/libgcc/libgcov-driver-system.c, 4 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ops.cc, line 720
- external/gpl3/gdb/dist/gdb/common/filestuff.c, line 516
- external/gpl3/gdb/dist/gdb/ctf.c, line 350
- external/gpl3/gdb/dist/gdb/gnulib/import/mkdir.c, 2 times
- external/gpl3/gdb/dist/gdb/gnulib/import/sys_stat.in.h, 8 times
- external/gpl3/gdb/dist/gdb/gnulib/import/tempname.c, line 69
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 426
- external/gpl3/gdb/dist/sim/ppc/emul_unix.c, 2 times
- external/gpl3/gdb/dist/zlib/contrib/minizip/miniunz.c, 2 times
- external/gpl3/gdb/dist/zlib/contrib/untgz/untgz.c, 2 times
- external/ibm-public/postfix/dist/src/util/make_dirs.c, line 114
- external/mpl/bind/dist/bin/named/unix/os.c, line 586
- external/mpl/bind/dist/lib/isc/unix/dir.c, line 221
- external/mpl/bind/dist/lib/isc/win32/dir.c, line 265
- external/public-domain/sqlite/dist/shell.c, 3 times
- external/public-domain/sqlite/dist/sqlite3.c, line 32839
- lib/libc/stdio/gettemp.c, line 125
- lib/libc/time/zic.c, 2 times
- lib/libp2k/p2k.c, line 311
- lib/libperfuse/perfuse.c, line 509
- lib/libpuffs/null.c, 2 times
- lib/libpuffs/puffs.c, line 91
- lib/librefuse/refuse.c, 3 times
- lib/librumphijack/hijack.c, line 2644
- lib/libutil/login_cap.c, line 643
- libexec/ftpd/cmds.c, line 216
- libexec/lfs_cleanerd/cleansrv.c, line 169
- regress/sys/fs/lfs/ckckp/cleanalot_async.c, 3 times
- regress/sys/kern/getcwd/getcwd.c, 10 times
- sbin/restore/utilities.c, line 148
- share/examples/puffs/pgfs/mount.c, line 137
- share/examples/refuse/fanoutfs/fanoutfs.c, 3 times
- share/examples/refuse/icfs/icfs.c, 2 times
- sys/external/bsd/acpica/dist/tools/acpisrc/asfile.c, line 191
- sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingUtil.c, line 32
- sys/fs/puffs/puffs_vnops.c, 3 times
- sys/rump/librump/rumpkern/rump_syscalls.c, line 1904
- tests/fs/common/fstest_puffs.c, line 364
- tests/fs/puffs/h_dtfs/dtfs.c, line 199
- tests/kernel/kqueue/t_vnode.c, 11 times
- tests/lib/libc/c063/t_faccessat.c, 7 times
- tests/lib/libc/c063/t_fchmodat.c, 7 times
- tests/lib/libc/c063/t_fchownat.c, 7 times
- tests/lib/libc/c063/t_fstatat.c, 7 times
- tests/lib/libc/c063/t_linkat.c, 12 times
- tests/lib/libc/c063/t_mkdirat.c, 3 times
- tests/lib/libc/c063/t_mkfifoat.c, 4 times
- tests/lib/libc/c063/t_mknodat.c, 3 times
- tests/lib/libc/c063/t_o_search.c, 7 times
- tests/lib/libc/c063/t_openat.c, 6 times
- tests/lib/libc/c063/t_readlinkat.c, 4 times
- tests/lib/libc/c063/t_renameat.c, 8 times
- tests/lib/libc/c063/t_symlinkat.c, 8 times
- tests/lib/libc/c063/t_unlinkat.c, 7 times
- tests/lib/libc/c063/t_utimensat.c, 7 times
- tests/lib/libc/gen/t_dir.c, line 66
- tests/lib/libc/sys/t_chroot.c, 2 times
- tests/lib/libc/sys/t_mkdir.c, 7 times
- tests/lib/libc/sys/t_ptrace.c, line 156
- tests/lib/librumphijack/h_cwd.c, 4 times
- tests/lib/libutil/t_pidfile.c, 4 times
- tests/rump/rumpvfs/t_etfs.c, line 177
- usr.bin/config/main.c, 2 times
- usr.bin/patch/mkpath.c, line 69
- usr.bin/rdist/server.c, 3 times
- usr.bin/unzip/unzip.c, 2 times
- usr.bin/xinstall/xinstall.c, line 1126
- usr.sbin/autofs/common.c, line 145
- usr.sbin/catman/catman.c, line 371
- usr.sbin/mtree/verify.c, line 261
- usr.sbin/puffs/mount_9p/ninepuffs.c, line 166
- usr.sbin/puffs/mount_psshfs/psshfs.c, line 264
- usr.sbin/rpc.pcnfsd/pcnfsd_print.c, line 182
- usr.sbin/sup/source/supcmeat.c, 2 times
- usr.sbin/sup/source/supcmisc.c, line 121
- usr.sbin/sysinst/aout2elf.c, line 231
- usr.sbin/sysinst/main.c, line 302
- usr.sbin/sysinst/util.c, line 1118
- usr.sbin/ypbind/ypbind.c, line 379