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/dist/intl/dcigettext.c, line 151 (as a prototype)
- external/gpl3/gcc/dist/fixincludes/tests/base/stdlib.h, line 68 (as a prototype)
- external/gpl3/gcc/dist/gcc/system.h, line 474 (as a prototype)
- include/unistd.h, line 114 (as a prototype)
Defined in 23 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/dist/intl/dcigettext.c, line 141 (as a macro)
- external/gpl3/binutils/dist/intl/dcigettext.c, line 149 (as a macro)
- external/gpl3/binutils/dist/libiberty/getpwd.c, line 51 (as a macro)
- external/gpl3/gdb/dist/readline/examples/rlfe/os.h, line 143 (as a macro)
- lib/libc/include/namespace.h, line 362 (as a macro)
Defined in 5 files as a function:
Referenced in 135 files:
- bin/csh/dir.c, line 82
- bin/ksh/misc.c, 2 times
- bin/pax/ar_subs.c, line 90
- bin/pwd/pwd.c, line 103
- bin/sh/cd.c, line 442
- crypto/external/bsd/openssh/dist/servconf.c, line 848
- crypto/external/bsd/openssh/dist/sftp.c, line 1765
- 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 710
- 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/llvm/dist/clang/tools/scan-build-py/libear/ear.c, line 417
- external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/exec/main.c, line 42
- external/bsd/llvm/dist/llvm/unittests/Support/LockFileManagerTest.cpp, line 97
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-filepath.cc, line 109
- 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 500
- 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-bdb/monitor.c, line 410
- external/bsd/openldap/dist/servers/slapd/back-mdb/monitor.c, line 470
- 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 174
- external/bsd/unbound/dist/smallapp/unbound-checkconf.c, line 695
- 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 294
- 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/dist/intl/dcigettext.c, line 549
- external/gpl3/binutils/dist/libiberty/getpwd.c, 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/gcov-tool.c, line 109
- external/gpl3/gcc/dist/intl/dcigettext.c, line 549
- external/gpl3/gcc/dist/libgcc/libgcov-util.c, line 450
- 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/filesystem/ops.cc, 2 times
- external/gpl3/gdb/dist/gdb/aarch64-linux-tdep.c, line 1063
- external/gpl3/gdb/dist/gdb/cli/cli-cmds.c, 2 times
- external/gpl3/gdb/dist/gdb/gdbserver/server.c, line 3587
- external/gpl3/gdb/dist/gdb/gnulib/import/canonicalize-lgpl.c, 3 times
- external/gpl3/gdb/dist/gdb/gnulib/import/fchdir.c, line 99
- external/gpl3/gdb/dist/gdb/gnulib/import/getcwd-lgpl.c, 5 times
- external/gpl3/gdb/dist/gdb/gnulib/import/getcwd.c, 4 times
- external/gpl3/gdb/dist/gdb/gnulib/import/rename.c, 5 times
- external/gpl3/gdb/dist/gdb/gnulib/import/save-cwd.c, line 72
- external/gpl3/gdb/dist/gdb/gnulib/import/unistd.in.h, 7 times
- external/gpl3/gdb/dist/gdb/go32-nat.c, 2 times
- external/gpl3/gdb/dist/gdb/main.c, line 543
- 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/intl/dcigettext.c, line 549
- external/gpl3/gdb/dist/libiberty/getpwd.c, 2 times
- external/gpl3/gdb/dist/readline/examples/fileman.c, line 447
- 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/mpl/bind/dist/lib/isc/unix/file.c, line 542
- external/public-domain/sqlite/dist/sqlite3.c, line 32761
- 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 982
- lib/libresolv/dst_api.c, line 856
- lib/librumpuser/sp_common.c, line 659
- libexec/ftpd/cmds.c, 2 times
- libexec/ftpd/conf.c, 2 times
- libexec/httpd/lua-bozo.c, line 198
- sbin/dump/traverse.c, line 186
- sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc, 3 times
- tests/fs/common/fstest_nfs.c, line 91
- 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/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 197
- usr.bin/ftp/util.c, line 828
- usr.bin/mail/temp.c, line 90
- usr.bin/make/main.c, 3 times
- usr.bin/make/meta.c, 3 times
- usr.sbin/autofs/automount.c, line 91
- usr.sbin/lpr/lpr/lpr.c, line 480
- usr.sbin/mtree/mtree.c, line 286
- usr.sbin/sup/source/supfilesrv.c, line 1322
- usr.sbin/sysinst/aout2elf.c, line 403
- usr.sbin/sysinst/util.c, 2 times