Defined in 11 files as a prototype:
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, line 162 (as a prototype)
- external/gpl2/gettext/dist/gnulib-local/lib/xgetcwd.c, line 35 (as a prototype)
- external/gpl2/gmake/dist/make.h, line 492 (as a prototype)
- external/gpl2/grep/dist/intl/dcigettext.c, line 134 (as a prototype)
- external/gpl2/rcs/include/conf.h, line 335 (as a prototype)
- external/gpl2/texinfo/dist/intl/dcigettext.c, line 156 (as a prototype)
- external/gpl2/xcvs/dist/lib/getcwd.h, line 41 (as a prototype)
- external/gpl3/binutils.old/dist/intl/dcigettext.c, line 151 (as a prototype)
- external/gpl3/gcc.old/dist/fixincludes/tests/base/stdlib.h, line 78 (as a prototype)
- external/gpl3/gcc.old/dist/gcc/system.h, line 474 (as a prototype)
- include/unistd.h, line 114 (as a prototype)
Defined in 1 files as a member:
Defined in 26 files as a macro:
- external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c, line 31 (as a macro)
- external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c, line 89 (as a macro)
- external/bsd/libarchive/dist/tar/bsdtar_windows.h, line 51 (as a macro)
- external/bsd/libarchive/dist/test_utils/test_main.c, line 130 (as a macro)
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, line 149 (as a macro)
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, line 157 (as a macro)
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, line 160 (as a macro)
- external/gpl2/gettext/dist/gnulib-local/lib/xgetcwd.c, line 33 (as a macro)
- external/gpl2/gettext/dist/gnulib-local/lib/xgetcwd.c, line 39 (as a macro)
- external/gpl2/gmake/dist/make.h, line 496 (as a macro)
- external/gpl2/gmake/dist/make.h, line 575 (as a macro)
- external/gpl2/grep/dist/intl/dcigettext.c, line 124 (as a macro)
- external/gpl2/grep/dist/intl/dcigettext.c, line 132 (as a macro)
- external/gpl2/groff/dist/src/include/nonposix.h, line 86 (as a macro)
- external/gpl2/texinfo/dist/intl/dcigettext.c, line 143 (as a macro)
- external/gpl2/texinfo/dist/intl/dcigettext.c, line 151 (as a macro)
- external/gpl2/texinfo/dist/intl/dcigettext.c, line 154 (as a macro)
- external/gpl2/xcvs/dist/lib/getcwd.h, line 38 (as a macro)
- external/gpl3/binutils.old/dist/intl/dcigettext.c, line 141 (as a macro)
- external/gpl3/binutils.old/dist/intl/dcigettext.c, line 149 (as a macro)
- external/gpl3/binutils.old/dist/libiberty/getpwd.c, line 51 (as a macro)
- external/gpl3/gdb.old/dist/readline/readline/examples/rlfe/os.h, line 143 (as a macro)
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/unistd.h, line 1174 (as a macro)
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/unistd.h, line 1174 (as a macro)
- external/gpl3/gdb/dist/readline/readline/examples/rlfe/os.h, line 143 (as a macro)
- lib/libc/include/namespace.h, line 359 (as a macro)
Defined in 7 files as a function:
Referenced in 238 files:
- bin/csh/dir.c, line 84
- bin/ksh/misc.c, 2 times
- bin/pax/ar_subs.c, line 90
- bin/pwd/pwd.c, line 103
- bin/sh/cd.c, line 463
- crypto/external/bsd/openssh/dist/servconf.c, line 877
- crypto/external/bsd/openssh/dist/sftp-realpath.c, line 91
- crypto/external/bsd/openssh/dist/sftp-server.c, line 1533
- crypto/external/bsd/openssh/dist/sftp.c, line 1781
- external/apache2/llvm/dist/clang/tools/scan-build-py/libear/ear.c, line 416
- external/apache2/llvm/dist/clang/tools/scan-build-py/tests/functional/exec/main.c, line 41
- external/apache2/llvm/dist/libcxx/src/filesystem/operations.cpp, line 1112
- external/apache2/llvm/dist/libcxx/src/filesystem/posix_compat.h, line 495
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-filepath.cc, line 105
- external/bsd/am-utils/dist/amq/amq.c, line 673
- external/bsd/am-utils/dist/amq/pawd.c, line 226
- external/bsd/atf/dist/atf-c/detail/fs.c, 2 times
- external/bsd/atf/dist/atf-c/detail/fs_test.c, 4 times
- external/bsd/atf/dist/tools/fs.cpp, line 721
- external/bsd/kyua-cli/dist/utils/fs/operations.cpp, 2 times
- external/bsd/kyua-testers/dist/fs.c, 2 times
- external/bsd/less/dist/lsystem.c, line 83
- external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c, 4 times
- external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c, 4 times
- external/bsd/libarchive/dist/tar/test/test_copy.c, line 83
- external/bsd/libarchive/dist/test_utils/test_main.c, 4 times
- external/bsd/libbind/dist/dst/dst_api.c, line 848
- external/bsd/libbind/dist/tests/dig8.c, line 730
- external/bsd/mdocml/dist/mandocdb.c, line 2259
- external/bsd/mdocml/dist/mansearch.c, line 126
- external/bsd/ntp/dist/lib/isc/unix/file.c, line 438
- external/bsd/ntp/dist/libntp/msyslog.c, line 498
- external/bsd/nvi/dist/ex/ex_cd.c, line 121
- external/bsd/nvi/dist/ex/ex_init.c, line 375
- external/bsd/openldap/dist/servers/slapd/back-mdb/monitor.c, line 492
- external/bsd/pkg_install/dist/create/build.c, line 294
- external/bsd/pkg_install/dist/lib/pkg_io.c, line 310
- external/bsd/tmux/dist/tmux.c, line 286
- external/bsd/unbound/dist/smallapp/unbound-checkconf.c, line 944
- external/bsd/wpa/dist/hs20/client/osu_client.c, 4 times
- external/bsd/wpa/dist/src/utils/os_internal.c, line 160
- external/bsd/wpa/dist/src/utils/os_unix.c, line 302
- external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/canonicalize.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/intl/dcigettext.c, line 653
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/canonicalize.c, 2 times
- external/gpl2/gettext/dist/gnulib-local/lib/canonicalize.c, 2 times
- external/gpl2/gettext/dist/gnulib-local/lib/xgetcwd.c, 2 times
- external/gpl2/gmake/dist/main.c, 2 times
- external/gpl2/gmake/dist/make.h, 2 times
- external/gpl2/gmake/dist/vmsfunctions.c, 2 times
- external/gpl2/gmake/dist/vmsify.c, 3 times
- external/gpl2/gmake/dist/w32/pathstuff.c, line 106
- external/gpl2/grep/dist/intl/dcigettext.c, line 505
- external/gpl2/groff/dist/src/utils/indxbib/indxbib.cpp, line 357
- external/gpl2/rcs/dist/src/rcsfnms.c, line 844
- external/gpl2/texinfo/dist/info/filesys.c, line 127
- external/gpl2/texinfo/dist/info/pcterm.c, line 698
- external/gpl2/texinfo/dist/intl/dcigettext.c, line 546
- external/gpl2/texinfo/dist/makeinfo/files.c, line 432
- external/gpl2/xcvs/dist/lib/getcwd.c, 4 times
- external/gpl2/xcvs/dist/lib/getcwd.h, line 34
- external/gpl2/xcvs/dist/lib/xgetcwd.c, line 42
- external/gpl2/xcvs/dist/src/main.c, line 517
- external/gpl3/binutils.old/dist/intl/dcigettext.c, line 549
- external/gpl3/binutils.old/dist/libiberty/getpwd.c, 2 times
- external/gpl3/binutils/dist/gprofng/src/Application.cc, line 172
- external/gpl3/binutils/dist/gprofng/src/Experiment.cc, line 6586
- external/gpl3/binutils/dist/gprofng/src/envsets.cc, line 371
- external/gpl3/binutils/dist/gprofng/src/gp-collect-app.cc, line 365
- external/gpl3/binutils/dist/gprofng/src/ipc.cc, line 494
- external/gpl3/binutils/dist/intl/dcigettext.c, line 549
- external/gpl3/binutils/dist/libiberty/getpwd.c, 2 times
- external/gpl3/gcc.old/dist/fixincludes/fixincl.c, line 1357
- external/gpl3/gcc.old/dist/fixincludes/server.c, line 195
- external/gpl3/gcc.old/dist/gcc/config/vms/vms-ld.c, 2 times
- external/gpl3/gcc.old/dist/gcc/d/dmd/dmodule.c, 2 times
- external/gpl3/gcc.old/dist/gcc/gcov-io.c, line 373
- external/gpl3/gcc.old/dist/gcc/gcov-tool.c, line 109
- external/gpl3/gcc.old/dist/intl/dcigettext.c, line 549
- external/gpl3/gcc.old/dist/libgcc/libgcov-util.c, line 452
- external/gpl3/gcc.old/dist/libgfortran/intrinsics/getcwd.c, 5 times
- external/gpl3/gcc.old/dist/libiberty/getpwd.c, 2 times
- external/gpl3/gcc.old/dist/libssp/ssp/unistd.h, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/fs_ops.cc, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/ops-common.h, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/ops.cc, 2 times
- external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/std-ops.cc, 2 times
- external/gpl3/gcc/dist/fixincludes/fixincl.c, line 1357
- external/gpl3/gcc/dist/fixincludes/server.c, line 195
- external/gpl3/gcc/dist/gcc/config/vms/vms-ld.c, 2 times
- external/gpl3/gcc/dist/gcc/d/dmd/dmodule.c, 2 times
- external/gpl3/gcc/dist/gcc/gcov-io.c, line 373
- external/gpl3/gcc/dist/gcc/gcov-tool.c, line 109
- external/gpl3/gcc/dist/intl/dcigettext.c, line 549
- external/gpl3/gcc/dist/libgcc/libgcov-util.c, line 452
- external/gpl3/gcc/dist/libgfortran/intrinsics/getcwd.c, 5 times
- external/gpl3/gcc/dist/libiberty/getpwd.c, 2 times
- external/gpl3/gcc/dist/libssp/ssp/unistd.h, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/c++17/fs_ops.cc, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ops-common.h, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ops.cc, 2 times
- external/gpl3/gdb.old/dist/gdb/aarch64-linux-tdep.c, line 1077
- external/gpl3/gdb.old/dist/gdb/cli/cli-cmds.c, 2 times
- external/gpl3/gdb.old/dist/gdb/go32-nat.c, 2 times
- external/gpl3/gdb.old/dist/gdb/main.c, line 612
- external/gpl3/gdb.old/dist/gdb/mi/mi-cmd-env.c, line 76
- external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/set-cwd.c, line 28
- external/gpl3/gdb.old/dist/gdbserver/server.cc, line 3616
- external/gpl3/gdb.old/dist/gnulib/import/canonicalize-lgpl.c, 4 times
- external/gpl3/gdb.old/dist/gnulib/import/fchdir.c, line 100
- external/gpl3/gdb.old/dist/gnulib/import/getcwd-lgpl.c, 5 times
- external/gpl3/gdb.old/dist/gnulib/import/getcwd.c, 3 times
- external/gpl3/gdb.old/dist/gnulib/import/rename.c, 5 times
- external/gpl3/gdb.old/dist/gnulib/import/save-cwd.c, line 71
- external/gpl3/gdb.old/dist/gnulib/import/unistd.in.h, 7 times
- external/gpl3/gdb.old/dist/intl/dcigettext.c, line 549
- external/gpl3/gdb.old/dist/libiberty/getpwd.c, 2 times
- external/gpl3/gdb.old/dist/readline/readline/examples/fileman.c, line 463
- external/gpl3/gdb.old/dist/sim/bfin/interp.c, line 393
- external/gpl3/gdb.old/dist/sim/cris/traps.c, 2 times
- external/gpl3/gdb.old/dist/sim/m32r/traps-linux.c, line 1293
- external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/getcwd1.c, line 12
- external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/readlink2.c, line 34
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1077
- external/gpl3/gdb/dist/gdb/cli/cli-cmds.c, 2 times
- external/gpl3/gdb/dist/gdb/go32-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/main.c, line 612
- external/gpl3/gdb/dist/gdb/mi/mi-cmd-env.c, line 76
- external/gpl3/gdb/dist/gdb/testsuite/gdb.base/set-cwd.c, line 28
- external/gpl3/gdb/dist/gdbserver/server.cc, line 3616
- external/gpl3/gdb/dist/gnulib/import/canonicalize-lgpl.c, 4 times
- external/gpl3/gdb/dist/gnulib/import/fchdir.c, line 100
- external/gpl3/gdb/dist/gnulib/import/getcwd-lgpl.c, 5 times
- external/gpl3/gdb/dist/gnulib/import/getcwd.c, 3 times
- external/gpl3/gdb/dist/gnulib/import/rename.c, 5 times
- external/gpl3/gdb/dist/gnulib/import/save-cwd.c, line 71
- external/gpl3/gdb/dist/gnulib/import/unistd.in.h, 7 times
- external/gpl3/gdb/dist/intl/dcigettext.c, line 549
- external/gpl3/gdb/dist/libiberty/getpwd.c, 2 times
- external/gpl3/gdb/dist/readline/readline/examples/fileman.c, line 463
- external/gpl3/gdb/dist/sim/bfin/interp.c, line 393
- external/gpl3/gdb/dist/sim/cris/traps.c, 2 times
- external/gpl3/gdb/dist/sim/m32r/traps-linux.c, line 1293
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/getcwd1.c, line 12
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/readlink2.c, line 34
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/unistd.h, 6 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h, 6 times
- external/mit/libuv/dist/src/unix/core.c, 2 times
- external/mpl/bind/dist/lib/isc/unix/file.c, line 573
- external/public-domain/sqlite/dist/sqlite3.c, line 32761
- games/warp/intrp.c, line 83
- include/ssp/unistd.h, 2 times
- lib/libc/compat-43/getwd.c, line 60
- lib/libc/gen/getcwd.c, 3 times
- lib/libintl/gettext.c, line 983
- lib/libresolv/dst_api.c, line 856
- lib/librumpuser/sp_common.c, line 660
- libexec/ftpd/cmds.c, 2 times
- libexec/ftpd/conf.c, 2 times
- libexec/httpd/lua-bozo.c, line 198
- sbin/dump/traverse.c, line 189
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 3 times
- tests/fs/common/fstest_nfs.c, line 94
- tests/kernel/t_proccwd.c, 2 times
- tests/lib/libc/c063/t_faccessat.c, line 131
- tests/lib/libc/c063/t_fchmodat.c, line 139
- tests/lib/libc/c063/t_fchownat.c, line 179
- tests/lib/libc/c063/t_fstatat.c, line 140
- tests/lib/libc/c063/t_openat.c, line 134
- tests/lib/libc/c063/t_unlinkat.c, line 129
- tests/lib/libc/c063/t_utimensat.c, line 151
- tests/lib/libc/gen/posix_spawn/t_spawn.c, 2 times
- tests/lib/libc/gen/t_getcwd.c, 3 times
- tests/lib/libc/gen/t_realpath.c, 2 times
- tests/lib/libc/ssp/h_getcwd.c, line 44
- tests/lib/libc/sys/t_chroot.c, 4 times
- tests/lib/libc/sys/t_link.c, line 56
- tests/lib/libc/sys/t_ptrace.c, line 153
- tests/lib/librumphijack/h_cwd.c, 7 times
- usr.bin/at/at.c, line 140
- usr.bin/crunch/crunchgen/crunchgen.c, line 200
- usr.bin/ftp/util.c, line 828
- usr.bin/ldd/ldd.c, line 162
- usr.bin/mail/temp.c, line 90
- usr.bin/make/main.c, 3 times
- usr.bin/make/meta.c, 3 times
- usr.sbin/lpr/lpr/lpr.c, line 480
- usr.sbin/mtree/mtree.c, line 286
- usr.sbin/sysinst/aout2elf.c, line 403
- usr.sbin/sysinst/util.c, 2 times