Searched refs:getcwd (Results 1 - 25 of 138) sorted by relevance

123456

/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Dgetcwd.c46 getcwd(char *path, size_t size) function
/freebsd-11.0-release/lib/libc/compat-43/
H A Dgetwd.c47 if ( (p = getcwd(buf, MAXPATHLEN)) )
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_getcwd.c44 (void)getcwd(b, len);
H A Dt_ssp.sh423 atf_test_case getcwd
426 atf_set "descr" "Checks getcwd(3)"
462 atf_add_test_case getcwd
/freebsd-11.0-release/contrib/netbsd-tests/lib/librumphijack/
H A Dh_cwd.c84 if (getcwd(pwd, sizeof(pwd)) == NULL)
92 if (getcwd(pwd, sizeof(pwd)) == NULL)
100 if (getcwd(pwd, sizeof(pwd)) == NULL)
106 if (getcwd(pwd, sizeof(pwd)) == NULL)
113 if (getcwd(pwd, sizeof(pwd)) == NULL)
119 if (getcwd(pwd, sizeof(pwd)) == NULL)
139 if (getcwd(pwd, sizeof(pwd)) == NULL)
140 err(EXIT_FAILURE, "getcwd");
/freebsd-11.0-release/contrib/groff/src/libs/libgroff/
H A Dgetcwd.c20 /* Partial emulation of getcwd in terms of getwd. */
28 char *getcwd(buf, size) function
/freebsd-11.0-release/contrib/gcclibs/libiberty/
H A Dgetpwd.c45 BSD systems) now provides getcwd as called for by POSIX. Allow for
51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2)
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1
H A Dgetcwd.c1 /* Emulate getcwd using getwd.
6 @deftypefn Supplemental char* getcwd (char *@var{pathname}, int @var{len})
13 @code{getcwd} will obtain @var{len} bytes of space using
41 getcwd (char *buf, size_t len) function
/freebsd-11.0-release/contrib/gcclibs/libssp/ssp/
H A Dunistd.h46 #undef getcwd macro
74 (char *__buf, size_t __size), getcwd);
77 getcwd (char *__buf, size_t __size) function
/freebsd-11.0-release/contrib/binutils/libiberty/
H A Dgetpwd.c45 BSD systems) now provides getcwd as called for by POSIX. Allow for
51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2)
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1
H A Dgetcwd.c1 /* Emulate getcwd using getwd.
6 @deftypefn Supplemental char* getcwd (char *@var{pathname}, int @var{len})
13 @code{getcwd} will obtain @var{len} bytes of space using
41 getcwd (char *buf, size_t len) function
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/gen/
H A Dt_getcwd.c47 atf_tc_set_md_var(tc, "descr", "Test error conditions in getcwd(3)");
56 ATF_REQUIRE(getcwd(buf, 0) == NULL);
62 ATF_REQUIRE(getcwd((void *)-1, sizeof(buf)) == NULL);
70 atf_tc_set_md_var(tc, "descr", "A basic test of getcwd(3)");
92 * Test that getcwd(3) works with basic
121 if (getcwd(buf, sizeof(buf)) == NULL) {
122 str = "getcwd(3) failed";
127 str = "getcwd(3) returned incorrect path";
H A Dt_realpath.c125 (void)getcwd(path, sizeof(path));
126 (void)getcwd(slnk, sizeof(slnk));
/freebsd-11.0-release/crypto/openssl/util/
H A Dmklink.pl24 my $pwd = getcwd();
/freebsd-11.0-release/sys/compat/linux/
H A Dlinux_getcwd.c67 if (ldebug(getcwd))
68 printf(ARGS(getcwd, "%p, %ld"), args->buf, (long)args->bufsize);
/freebsd-11.0-release/contrib/libxo/tests/gettext/
H A Dgt_01.c50 getcwd(path, sizeof(path));
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_chroot.c63 (void)getcwd(buf, sizeof(buf));
150 ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
189 (void)getcwd(buf, sizeof(buf));
275 ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
/freebsd-11.0-release/bin/pax/tests/
H A Dlegacy_test.pl25 my $top = getcwd . "/ustar-pathnames-1";
/freebsd-11.0-release/bin/pwd/
H A Dpwd.c88 (p = getcwd(NULL, 0)) != NULL)
/freebsd-11.0-release/crypto/heimdal/
H A DMakefile.am47 cf/krb-func-getcwd-broken.m4 \
/freebsd-11.0-release/contrib/nvi/ex/
H A Dex_cd.c116 if ((buf = getcwd(NULL, 0)) != NULL) {
/freebsd-11.0-release/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c81 #define getcwd _getcwd macro
501 cwd = getcwd(NULL, PATH_MAX);/* Solaris getcwd needs the size. */
503 cwd = getcwd(NULL, 0);
551 cwd = getcwd(NULL, PATH_MAX);/* Solaris getcwd needs the size. */
553 cwd = getcwd(NULL, 0);
/freebsd-11.0-release/contrib/gdb/gdb/mi/
H A Dmi-cmd-env.c83 getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
/freebsd-11.0-release/contrib/bmake/
H A Drealpath.c2 /* from: $NetBSD: getcwd.c,v 1.53 2012/06/21 23:29:23 enami Exp $ */
110 if (resolved && getcwd(resolved, MAXPATHLEN) == NULL) {
/freebsd-11.0-release/usr.sbin/fmtree/
H A Dmtree.c168 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath)))

Completed in 228 milliseconds

123456