Symbol: getcwd
bin/pwd/pwd.c
77
(p = getcwd(NULL, 0)) != NULL)
bin/sh/cd.c
401
if (getcwd(pwd, i) != NULL)
crypto/openssh/servconf.c
801
if (getcwd(cwd, sizeof(cwd)) == NULL)
crypto/openssh/sftp-realpath.c
91
if (getcwd(resolved, PATH_MAX) == NULL) {
crypto/openssh/sftp-server.c
1560
if (getcwd(cwd, sizeof(cwd)) == NULL) {
crypto/openssh/sftp.c
1782
if (!getcwd(path_buf, sizeof(path_buf))) {
include/unistd.h
393
char *getcwd(char *, size_t);
lib/libc/gen/getcwd.c
69
if ((p = getcwd(buf, MAXPATHLEN)) != NULL)
lib/libc/stdlib/realpath.c
98
if (getcwd(resolved, PATH_MAX) == NULL) {
lib/libssh/openbsd-compat/openbsd-compat.h
76
char *getcwd(char *pt, size_t size);
libexec/ftpd/ftpd.c
2613
if (getcwd(path, sizeof(path)) == NULL)
libexec/ftpd/ftpd.c
3270
if (getcwd(wd, sizeof(wd) - 1) == NULL)
libexec/rtld-elf/rtld.c
3660
if (getcwd(base_rel, sizeof(base_rel)) == NULL ||
libexec/rtld-elf/rtld.c
506
else if (getcwd(buf, sizeof(buf)) == NULL ||
libexec/rtld-elf/rtld.c
521
if (getcwd(buf, sizeof(buf)) != NULL
sbin/mount_hpfs/mount_hpfs.c
113
if (getcwd(ndir, sizeof(ndir)) == NULL)
test/stress/fsstress/fsstress.c
701
homedir = getcwd(NULL, -1);
test/stress/stress2/lib/main.c
194
if ((home = getcwd(NULL, 0)) == NULL)
test/stress/stress2/lib/resources.c
245
if (getcwd(path, sizeof(path)) == NULL)
test/stress/stress2/lib/resources.c
65
if (getcwd(path, sizeof(path)) == NULL)
test/stress/stress2/lib/resources.c
90
if (getcwd(path, sizeof(path)) == NULL)
test/stress/stress2/testcases/openat/doat.c
107
absolute_path = getcwd(NULL, 0);
test/stress/stress2/testcases/openat/openat.c
62
if (getcwd(apath, sizeof(apath)) == NULL)
usr.bin/at/at.c
169
if (getcwd(ptr, size-1) != NULL)
usr.bin/dfregress/main.c
149
s = getcwd(output_file, PATH_MAX);
usr.sbin/asf/asf.c
188
getcwd(cwd, MAXPATHLEN); /* find where we are */
usr.sbin/lpr/lpr/lpr.c
578
if (getcwd(buf, sizeof(buf)) == NULL)
usr.sbin/makefs/mtree.c
270
res = getcwd(NULL, 0);
usr.sbin/mtree/mtree.c
273
if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath)))