Home
last modified time | relevance | path

Searched refs:getcwd (Results 1 – 25 of 630) sorted by relevance

12345678910>>...26

/netbsd/external/gpl2/xcvs/dist/m4/
H A Dgetcwd.m41 # getcwd.m4 - check for working getcwd that is compatible with glibc
12 AC_LIBSOURCES([getcwd.c, getcwd.h])
15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
23 # ifndef getcwd
24 char *getcwd ();
33 char *f = getcwd (NULL, 0);
53 AC_LIBOBJ([getcwd])
55 [Define to rpl_ if the getcwd replacement function should be used.])
60 # Prerequisites of lib/getcwd.c.
H A Dgetcwd-path-max.m42 # Check for several getcwd bugs with long file names.
18 AC_CHECK_DECLS_ONCE(getcwd)
20 AC_CACHE_CHECK([whether getcwd handles long file names properly],
67 /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
81 char *cwd = getcwd (buf, PATH_MAX);
101 be too long for getcwd if it can't even be created. For other
112 c = getcwd (buf, PATH_MAX);
129 c = getcwd (buf, cwd_len + 1);
184 [Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
/netbsd/external/gpl3/gdb/dist/gnulib/import/m4/
H A Dgetcwd.m41 # getcwd.m4 - check for working getcwd that is compatible with glibc
15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
24 # ifndef getcwd
25 char *getcwd ();
29 /* mingw cwd does not start with '/', but getcwd does allocate.
36 char *f = getcwd (NULL, 0);
65 AC_CACHE_CHECK([for getcwd with POSIX signature],
74 char *getcwd (char *, size_t);
87 dnl Assumes that getcwd exists; if you are worried about obsolete
98 dnl Minimal replacement lib/getcwd-lgpl.c.
[all …]
H A Dgetcwd-abort-bug.m42 # Determine whether getcwd aborts when the length of the working directory
17 AC_CHECK_DECLS_ONCE([getcwd])
27 AC_CACHE_CHECK([whether getcwd aborts when 4k < cwd_length < 16k],
33 dnl Please keep this in sync with tests/test-getcwd.c.
63 trigger a bug in glibc's getcwd implementation before 2.4.90-10. */
83 cwd = getcwd (NULL, 0);
107 /* If libc has the bug in question, this invocation of getcwd
109 cwd = getcwd (NULL, 0);
111 fail = 4; /* getcwd didn't assert, but it failed for a long name
134 dnl example): getcwd (NULL, 0) fails rather than returning a string
[all …]
H A Dgetcwd-path-max.m42 # Check for several getcwd bugs with long file names.
18 AC_CHECK_DECLS_ONCE([getcwd])
23 AC_CACHE_CHECK([whether getcwd handles long file names properly],
27 dnl Please keep this in sync with tests/test-getcwd.c.
55 /* Use the getcwd function, not any macro. */
56 #undef getcwd
80 /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
94 char *cwd = getcwd (buf, PATH_MAX);
135 c = getcwd (buf, PATH_MAX);
155 c = getcwd (buf, cwd_len + 1);
[all …]
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/m4/
H A Dgetcwd.m41 # getcwd.m4 - check for working getcwd that is compatible with glibc
15 AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
24 # ifndef getcwd
25 char *getcwd ();
29 /* mingw cwd does not start with '/', but getcwd does allocate.
36 char *f = getcwd (NULL, 0);
65 AC_CACHE_CHECK([for getcwd with POSIX signature],
74 char *getcwd (char *, size_t);
87 dnl Assumes that getcwd exists; if you are worried about obsolete
98 dnl Minimal replacement lib/getcwd-lgpl.c.
[all …]
H A Dgetcwd-abort-bug.m42 # Determine whether getcwd aborts when the length of the working directory
17 AC_CHECK_DECLS_ONCE([getcwd])
27 AC_CACHE_CHECK([whether getcwd aborts when 4k < cwd_length < 16k],
33 dnl Please keep this in sync with tests/test-getcwd.c.
63 trigger a bug in glibc's getcwd implementation before 2.4.90-10. */
83 cwd = getcwd (NULL, 0);
107 /* If libc has the bug in question, this invocation of getcwd
109 cwd = getcwd (NULL, 0);
111 fail = 4; /* getcwd didn't assert, but it failed for a long name
134 dnl example): getcwd (NULL, 0) fails rather than returning a string
[all …]
H A Dgetcwd-path-max.m42 # Check for several getcwd bugs with long file names.
18 AC_CHECK_DECLS_ONCE([getcwd])
23 AC_CACHE_CHECK([whether getcwd handles long file names properly],
27 dnl Please keep this in sync with tests/test-getcwd.c.
55 /* Use the getcwd function, not any macro. */
56 #undef getcwd
80 /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
94 char *cwd = getcwd (buf, PATH_MAX);
135 c = getcwd (buf, PATH_MAX);
155 c = getcwd (buf, cwd_len + 1);
[all …]
/netbsd/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dxgetcwd.c33 # define getcwd(Buf, Max) (getcwd) (Buf, Max, 0) macro
35 char *getcwd ();
39 # define getcwd(Buf, Max) getwd (Buf) macro
55 ret = getcwd (buf, sizeof (buf)); in xgetcwd()
69 ret = getcwd (cwd, path_max); in xgetcwd()
/netbsd/crypto/external/bsd/heimdal/dist/cf/
H A Dkrb-func-getcwd-broken.m44 dnl test for broken getcwd in (SunOS braindamage)
9 AC_MSG_CHECKING(if getcwd is broken)
15 char *getcwd(char*, int);
26 ret = getcwd(0, 1024);
34 AC_DEFINE(BROKEN_GETCWD, 1, [Define if getcwd is broken (like in SunOS 4).])dnl
35 AC_LIBOBJ(getcwd)
/netbsd/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/tests/lib/librumphijack/
H A Dh_cwd.c84 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
92 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
100 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
106 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
113 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
119 if (getcwd(pwd, sizeof(pwd)) == NULL) in simple()
139 if (getcwd(pwd, sizeof(pwd)) == NULL) in symlinktest()
/netbsd/external/gpl3/gdb/dist/gnulib/import/
H A Dgetcwd-lgpl.c40 # undef getcwd
55 return getcwd (buf, size); in rpl_getcwd()
66 result = getcwd (buf, size); in rpl_getcwd()
82 ptr = getcwd (tmp, size); in rpl_getcwd()
106 result = getcwd (buf, size); in rpl_getcwd()
/netbsd/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dgetcwd.c45 if (getcwd (cwd, cwd_len)) in getcwd_i4_sub()
57 if (getcwd (buf, cwd_len + 1)) in getcwd_i4_sub()
87 extern GFC_INTEGER_4 PREFIX(getcwd) (char *, gfc_charlen_type);
88 export_proto_np(PREFIX(getcwd));
91 PREFIX(getcwd) (char *cwd, gfc_charlen_type cwd_len) in PREFIX() argument
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/
H A Dgetcwd-lgpl.c40 # undef getcwd
55 return getcwd (buf, size); in rpl_getcwd()
66 result = getcwd (buf, size); in rpl_getcwd()
82 ptr = getcwd (tmp, size); in rpl_getcwd()
106 result = getcwd (buf, size); in rpl_getcwd()
/netbsd/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dgetcwd.c45 if (getcwd (cwd, cwd_len)) in getcwd_i4_sub()
57 if (getcwd (buf, cwd_len + 1)) in getcwd_i4_sub()
87 extern GFC_INTEGER_4 PREFIX(getcwd) (char *, gfc_charlen_type);
88 export_proto_np(PREFIX(getcwd));
91 PREFIX(getcwd) (char *cwd, gfc_charlen_type cwd_len) in PREFIX() argument
/netbsd/external/gpl2/xcvs/dist/lib/
H A Dgetcwd.h34 # undef getcwd
38 # define getcwd __GETCWD_ID (getcwd) macro
41 char *getcwd (char *, size_t);
/netbsd/external/gpl3/gdb/dist/libiberty/
H A Dgetpwd.c51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2) in getpwd()
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1 in getpwd()
/netbsd/external/gpl3/gcc/dist/libiberty/
H A Dgetpwd.c51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2) in getpwd()
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1 in getpwd()
/netbsd/external/gpl3/binutils/dist/libiberty/
H A Dgetpwd.c51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2) in getpwd()
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1 in getpwd()
/netbsd/external/gpl3/binutils.old/dist/libiberty/
H A Dgetpwd.c51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2) in getpwd()
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1 in getpwd()
/netbsd/external/gpl3/gdb.old/dist/libiberty/
H A Dgetpwd.c51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2) in getpwd()
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1 in getpwd()
/netbsd/external/gpl3/gcc.old/dist/libiberty/
H A Dgetpwd.c51 #define getcwd(buf,len) getwd(buf) macro
87 for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s *= 2) in getpwd()
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1 in getpwd()
/netbsd/external/gpl3/gcc.old/dist/libssp/ssp/
H A Dunistd.h45 #undef getcwd
73 (char *__buf, size_t __size), getcwd);
76 getcwd (char *__buf, size_t __size) in getcwd() function
/netbsd/external/gpl3/gcc/dist/libssp/ssp/
H A Dunistd.h45 #undef getcwd
73 (char *__buf, size_t __size), getcwd);
76 getcwd (char *__buf, size_t __size) in getcwd() function

12345678910>>...26