Symbol: getcwd
bin/csh/dir.c
84
ecp = getcwd(path, MAXPATHLEN);
bin/ksh/misc.c
1302
ret = getcwd(b, bsize);
bin/ksh/misc.c
1321
if (!getcwd(b, MAXPATHLEN)) {
bin/pax/ar_subs.c
90
if (getcwd(cwdpath, sizeof(cwdpath)) == NULL) {
bin/pwd/pwd.c
103
p = getcwd(NULL, 0);
bin/sh/cd.c
496
if (getcwd(pwd, i) != NULL) {
games/warp/intrp.c
83
(void) getcwd(tcbuf, sizeof(tcbuf));/* find working directory name */
include/ssp/unistd.h
45
__ssp_redirect_raw(char *, getcwd, getcwd, (char *__buf, size_t __len),
include/unistd.h
114
char *getcwd(char *, size_t);
lib/libc/compat-43/getwd.c
60
if ((p = getcwd(buf, MAXPATHLEN)) != NULL)
lib/libc/gen/getcwd.c
114
if (resolved && getcwd(resolved, MAXPATHLEN) == NULL) {
lib/libc/gen/getcwd.c
221
__ssp_real(getcwd)(char *pt, size_t size)
lib/libc/gen/getcwd.c
58
__weak_alias(getcwd,_getcwd)
lib/libc/ssp/ssp_redirect.c
49
if (getcwd(NULL, 0) == NULL)
lib/libintl/gettext.c
988
if (getcwd(buf, sizeof(buf)) == 0)
lib/libresolv/dst_api.c
856
getcwd(NULL, PATH_MAX - 1)));
lib/librumpuser/sp_common.c
662
if (getcwd(mywd, sizeof(mywd)) == NULL) {
libexec/ftpd/cmds.c
174
if (getcwd(cached_path, MAXPATHLEN) == NULL) {
libexec/ftpd/cmds.c
402
if (getcwd(path, sizeof(path) - 1) == NULL) {
libexec/ftpd/conf.c
545
if (getcwd(curwd, sizeof(curwd) - 1) == NULL) {
libexec/ftpd/conf.c
630
if (getcwd(curwd, sizeof(curwd)-1)
libexec/httpd/lua-bozo.c
198
getcwd(cwd, sizeof(cwd) - 1);
sbin/dump/traverse.c
189
if (getcwd(curdir, sizeof(curdir)) == NULL) {
tests/fs/common/fstest_nfs.c
94
"/%s/%s.etherbus", getcwd(cwd, sizeof(cwd)), image);
tests/kernel/t_lua.c
117
REQUIRE_LIBC(getcwd(cwd, sizeof(cwd)), NULL);
tests/kernel/t_proccwd.c
121
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
tests/kernel/t_proccwd.c
88
getcwd(cwdbuf, MAXPATHLEN);
tests/lib/libc/c063/t_faccessat.c
131
ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
tests/lib/libc/c063/t_faccessat.c
190
ATF_REQUIRE(getcwd(cwd, MAXPATHLEN));
tests/lib/libc/c063/t_faccessat.c
212
ATF_REQUIRE(getcwd(cwd, MAXPATHLEN));
tests/lib/libc/c063/t_faccessat.c
231
ATF_REQUIRE(getcwd(cwd, MAXPATHLEN));
tests/lib/libc/c063/t_fchmodat.c
144
ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
tests/lib/libc/c063/t_fchownat.c
179
ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
tests/lib/libc/c063/t_fstatat.c
140
ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
tests/lib/libc/c063/t_openat.c
134
ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
tests/lib/libc/c063/t_unlinkat.c
129
ATF_REQUIRE((dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0)) != -1);
tests/lib/libc/c063/t_utimensat.c
177
RL(dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
288
REQUIRE_LIBC(getcwd(chdirpath, sizeof(chdirpath)), NULL);
tests/lib/libc/gen/posix_spawn/t_spawn.c
312
const char *testdir = getcwd(NULL, 0);
tests/lib/libc/gen/posix_spawn/t_spawn.c
344
REQUIRE_LIBC(getcwd(cwd, sizeof(cwd)), NULL);
tests/lib/libc/gen/posix_spawn/t_spawn.c
391
REQUIRE_LIBC(getcwd(chdirpath, sizeof(chdirpath)), NULL);
tests/lib/libc/gen/posix_spawn/t_spawn.c
414
const char *testdir = getcwd(NULL, 0);
tests/lib/libc/gen/posix_spawn/t_spawn.c
448
REQUIRE_LIBC(getcwd(cwd, sizeof(cwd)), NULL);
tests/lib/libc/gen/t_getcwd.c
119
if (getcwd(buf, sizeof(buf)) == NULL) {
tests/lib/libc/gen/t_getcwd.c
56
ATF_REQUIRE(getcwd(buf, 0) == NULL);
tests/lib/libc/gen/t_getcwd.c
61
ATF_REQUIRE(getcwd((void *)-1, sizeof(buf)) == NULL);
tests/lib/libc/gen/t_realpath.c
125
(void)getcwd(path, sizeof(path));
tests/lib/libc/gen/t_realpath.c
126
(void)getcwd(slnk, sizeof(slnk));
tests/lib/libc/ssp/h_getcwd.c
44
(void)getcwd(b, len);
tests/lib/libc/ssp/h_getcwd2.c
15
if (getcwd(buf, sizeof buf) == NULL)
tests/lib/libc/sys/t_chroot.c
147
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
tests/lib/libc/sys/t_chroot.c
185
(void)getcwd(buf, sizeof(buf));
tests/lib/libc/sys/t_chroot.c
271
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
tests/lib/libc/sys/t_chroot.c
60
(void)getcwd(buf, sizeof(buf));
tests/lib/libc/sys/t_link.c
56
if (getcwd(buf, sizeof(buf)) == NULL)
tests/lib/libc/sys/t_ptrace.c
163
REQUIRE_LIBC(getcwd(buf, sizeof(buf)), NULL);
tests/lib/librumphijack/h_cwd.c
100
if (getcwd(pwd, sizeof(pwd)) == NULL)
tests/lib/librumphijack/h_cwd.c
106
if (getcwd(pwd, sizeof(pwd)) == NULL)
tests/lib/librumphijack/h_cwd.c
113
if (getcwd(pwd, sizeof(pwd)) == NULL)
tests/lib/librumphijack/h_cwd.c
119
if (getcwd(pwd, sizeof(pwd)) == NULL)
tests/lib/librumphijack/h_cwd.c
139
if (getcwd(pwd, sizeof(pwd)) == NULL)
tests/lib/librumphijack/h_cwd.c
84
if (getcwd(pwd, sizeof(pwd)) == NULL)
tests/lib/librumphijack/h_cwd.c
92
if (getcwd(pwd, sizeof(pwd)) == NULL)
usr.bin/at/at.c
140
return getcwd(path, sizeof(path));
usr.bin/crunch/crunchgen/crunchgen.c
200
getcwd(curdir, MAXPATHLEN);
usr.bin/ftp/util.c
828
if (getcwd(localcwd, sizeof(localcwd)) == NULL)
usr.bin/ldd/ldd.c
164
if (getcwd(cwd, sizeof(cwd)) == NULL)
usr.bin/mail/temp.c
90
if (getcwd(pathbuf, sizeof(pathbuf)) != NULL)
usr.bin/make/main.c
1427
if (getcwd(curdir, MAXPATHLEN) == NULL) {
usr.bin/make/main.c
364
if (getcwd(curdir, MAXPATHLEN) == NULL) {
usr.bin/make/main.c
803
if (getcwd(dir, sizeof dir) == NULL)
usr.bin/make/meta.c
1167
if (getcwd(cwd, sizeof cwd) == NULL)
usr.bin/make/meta.c
466
fprintf(fp, "CWD %s\n", getcwd(buf, sizeof buf));
usr.bin/make/meta.c
709
if (getcwd(cwd, sizeof cwd) == NULL)
usr.sbin/lpr/lpr/lpr.c
480
if (getcwd(buf, sizeof(buf) - 2 - strlen(file)) == NULL)
usr.sbin/mtree/mtree.c
282
if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath)))
usr.sbin/sysinst/aout2elf.c
403
if (getcwd(resolved, MAXPATHLEN) == 0)
usr.sbin/sysinst/util.c
1044
owd = getcwd(NULL, 0);
usr.sbin/sysinst/util.c
313
owd = getcwd(NULL, 0);