Symbol: getcwd
bin/csh/dir.c
74
tcp = getcwd(path, PATH_MAX);
bin/ksh/misc.c
1142
ret = getcwd(b, bsize);
bin/pwd/pwd.c
76
p = getcwd(NULL, 0);
include/unistd.h
345
char *getcwd(char *, size_t)
lib/libc/gen/getcwd.c
45
DEF_WEAK(getcwd);
lib/libc/hidden/unistd.h
68
PROTO_NORMAL(getcwd);
lib/libcurses/tinfo/read_termcap.c
1158
if (getcwd(cwd_buf, sizeof(cwd_buf)) != 0) {
lib/libcurses/tinfo/write_entry.c
262
|| getcwd(actual, sizeof(actual)) == NULL)
lib/libcurses/trace/lib_trace.c
148
if (getcwd(MyPath, size) == 0) {
libexec/ftpd/ftpd.c
1058
if (getcwd(homedir, PATH_MAX) != NULL) {
libexec/ftpd/ftpd.c
2083
if (getcwd(path, sizeof(path)) == NULL)
libexec/ftpd/ftpd.c
223
if (getcwd(path, sizeof(path)-1) == NULL)
libexec/ftpd/ftpd.c
2740
if ((statfd >= 0) && (getcwd(dir, sizeof(dir)) != NULL)) {
regress/lib/libc/mkstemp/mkstemp_test.c
120
if (getcwd(cwd, sizeof cwd - 1) == NULL)
regress/lib/libc/sys/t_chroot.c
148
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
regress/lib/libc/sys/t_chroot.c
186
(void)getcwd(buf, sizeof(buf));
regress/lib/libc/sys/t_chroot.c
272
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
regress/lib/libc/sys/t_chroot.c
61
(void)getcwd(buf, sizeof(buf));
regress/lib/libc/sys/t_link.c
56
if (getcwd(buf, sizeof(buf)) == NULL)
regress/lib/libc/sys/t_ptrace.c
153
ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
regress/lib/libpthread/cwd/cwd.c
51
ASSERT(path = getcwd(wd, sizeof wd));
regress/sys/kern/realpath/realpath3.c
108
if (getcwd(resolved, PATH_MAX) == NULL) {
sbin/dump/traverse.c
193
if (getcwd(curdir, sizeof(curdir)) == NULL) {
usr.bin/at/at.c
1024
if (getcwd(cwd, sizeof(cwd)) == NULL)
usr.bin/cvs/add.c
211
if (getcwd(pwd, sizeof(pwd)) == NULL)
usr.bin/cvs/commit.c
235
if (getcwd(pwd, sizeof(pwd)) == NULL)
usr.bin/cvs/edit.c
286
if (getcwd(wdir, sizeof(wdir)) == NULL)
usr.bin/cvs/edit.c
370
if (getcwd(wdir, sizeof(wdir)) == NULL)
usr.bin/cvs/history.c
99
if (getcwd(fpath, sizeof(fpath)) == NULL)
usr.bin/cvs/import.c
275
if (getcwd(pwd, sizeof(pwd)) == NULL)
usr.bin/cvs/release.c
115
if ((wdir = getcwd(cwd, sizeof(cwd))) == NULL)
usr.bin/cvs/trigger.c
534
if (getcwd(pwd, sizeof(pwd)) == NULL)
usr.bin/doas/doas.c
469
if (getcwd(cwdpath, sizeof(cwdpath)) == NULL)
usr.bin/ftp/cmds.c
1091
if (getcwd(buf, sizeof(buf)) != NULL)
usr.bin/ftp/cmds.c
792
if (getcwd(buf, sizeof(buf)) != NULL)
usr.bin/ftp/small.c
385
if (getcwd(localcwd, sizeof(localcwd)) == NULL)
usr.bin/make/main.c
519
cwd = getcwd(NULL, 0);
usr.bin/mandoc/mandocdb.c
2296
if (getcwd(startdir, sizeof(startdir)) == NULL) {
usr.bin/mandoc/mansearch.c
123
if (getcwd(buf, PATH_MAX) == NULL) {
usr.bin/mg/dir.c
30
if (getcwd(mgcwd, sizeof(mgcwd)) == NULL)
usr.bin/mg/dir.c
56
if ((bufp = getcwd(mgcwd, sizeof(mgcwd))) == NULL) {
usr.bin/mg/dired.c
254
if (getcwd(dname, sizeof(dname)) == NULL)
usr.bin/mg/dired.c
283
if (getcwd(dname, sizeof(dname)) == NULL)
usr.bin/mg/grep.c
203
if (getcwd(cwd, sizeof(cwd)) == NULL)
usr.bin/ssh/servconf.c
766
if (getcwd(cwd, sizeof(cwd)) == NULL)
usr.bin/ssh/sftp-realpath.c
89
if (getcwd(resolved, PATH_MAX) == NULL) {
usr.bin/ssh/sftp-server.c
1527
if (getcwd(cwd, sizeof(cwd)) == NULL) {
usr.bin/ssh/sftp.c
1762
if (!getcwd(path_buf, sizeof(path_buf))) {
usr.bin/tmux/spawn.c
374
if (getcwd(path, sizeof path) != NULL) {
usr.bin/tmux/tmux.c
306
if (getcwd(cwd, sizeof cwd) == NULL)
usr.bin/vi/ex/ex_cd.c
112
if (getcwd(buf, sizeof(buf)) != NULL)
usr.bin/vi/ex/ex_init.c
378
if (strchr(path, '/') == NULL && getcwd(buf, sizeof(buf)) != NULL) {
usr.sbin/config/main.c
204
startdir = getcwd(dirbuffer, sizeof dirbuffer);
usr.sbin/crunchgen/crunchgen.c
682
getcwd(cwd, sizeof(cwd)) == NULL) {
usr.sbin/ikectl/ikeca.c
927
if (getcwd(src, sizeof(src)) == NULL)
usr.sbin/lpr/lpr/lpr.c
445
if (getcwd(buf, sizeof(buf)) == NULL)
usr.sbin/mtree/mtree.c
164
if ((cflag || sflag) && !getcwd(fullpath, sizeof fullpath))
usr.sbin/unbound/smallapp/unbound-checkconf.c
1028
if(!getcwd(oldwd, sizeof(oldwd))) {