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

1234567

/netbsd-6-1-5-RELEASE/regress/sys/kern/getcwd/
H A DMakefile6 PROG= getcwd
7 SRCS= getcwd.c old_getcwd.c
11 @./getcwd -r
12 @./getcwd -p
15 @find /usr -type d -print | ./getcwd -s
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetcwd.h21 /* Include the headers that might declare getcwd so that they will not
34 # undef getcwd macro
38 # define getcwd __GETCWD_ID (getcwd) macro
40 <http://www.opengroup.org/susv3xsh/getcwd.html>. */
41 char *getcwd (char *, size_t);
H A Dxgetcwd.c29 #include "getcwd.h"
39 char *cwd = getcwd (NULL, 0);
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dxgetcwd.c41 # define getcwd(Buf, Max) (getcwd) (Buf, Max, 0) macro
44 char *getcwd ();
49 # define getcwd(Buf, Max) getwd (Buf) macro
65 ret = getcwd (buf, sizeof (buf));
72 path_max += 2; /* The getcwd docs say to do this. */
79 ret = getcwd (cwd, path_max);
/netbsd-6-1-5-RELEASE/regress/sys/kern/
H A DMakefile3 SUBDIR+= execve getcwd lockf lockf2 ras \
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/
H A Dgetcwd1.c12 if (getcwd ((void *) -1, 4096) != NULL
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetcwd.c48 getcwd(char *path, size_t size) function
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/tar/
H A Dbsdtar_windows.h47 #define getcwd _getcwd macro
/netbsd-6-1-5-RELEASE/tests/lib/libc/ssp/
H A Dh_getcwd.c44 (void)getcwd(b, len);
/netbsd-6-1-5-RELEASE/tests/lib/librumphijack/
H A Dh_cwd.c83 if (getcwd(pwd, sizeof(pwd)) == NULL)
91 if (getcwd(pwd, sizeof(pwd)) == NULL)
99 if (getcwd(pwd, sizeof(pwd)) == NULL)
105 if (getcwd(pwd, sizeof(pwd)) == NULL)
112 if (getcwd(pwd, sizeof(pwd)) == NULL)
118 if (getcwd(pwd, sizeof(pwd)) == NULL)
138 if (getcwd(pwd, sizeof(pwd)) == NULL)
139 err(1, "getcwd");
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/fixincludes/tests/base/
H A Dstdlib.h43 extern char* getcwd(char *, size_t);
/netbsd-6-1-5-RELEASE/include/ssp/
H A Dunistd.h45 __ssp_redirect(char *, getcwd, (char *__buf, size_t __len), (__buf, __len));
/netbsd-6-1-5-RELEASE/lib/libc/compat-43/
H A Dgetwd.c51 "warning: getwd() possibly used unsafely, consider using getcwd()")
61 if ((p = getcwd(buf, MAXPATHLEN)) != NULL)
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/libs/libgroff/
H A Dgetcwd.c22 /* Partial emulation of getcwd in terms of getwd. */
30 char *getcwd(buf, size) function
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/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
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/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
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libssp/ssp/
H A Dunistd.h45 #undef getcwd macro
73 (char *__buf, size_t __size), getcwd);
76 getcwd (char *__buf, size_t __size) function
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/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
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/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
/netbsd-6-1-5-RELEASE/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);
61 ATF_REQUIRE(getcwd((void *)-1, sizeof(buf)) == NULL);
68 atf_tc_set_md_var(tc, "descr", "A basic test of getcwd(3)");
90 * Test that getcwd(3) works with basic
119 if (getcwd(buf, sizeof(buf)) == NULL) {
120 str = "getcwd(3) failed";
125 str = "getcwd(3) returned incorrect path";
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/util/
H A Dmklink.pl24 my $pwd = getcwd();

Completed in 235 milliseconds

1234567