| /src/tests/lib/libc/ssp/ |
| h_getcwd2.c | 6 getcwd(char* buf, size_t buflen) function 15 if (getcwd(buf, sizeof buf) == NULL) 16 err(1, "getcwd failed");
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| getcwd.c | 1 /* $NetBSD: getcwd.c,v 1.2 2017/01/28 21:31:50 christos Exp $ */ 48 getcwd(char *path, size_t size) function
|
| /src/external/gpl2/groff/dist/src/libs/libgroff/ |
| getcwd.c | 1 /* $NetBSD: getcwd.c,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */ 22 /* Partial emulation of getcwd in terms of getwd. */ 30 char *getcwd(buf, size) function
|
| /src/external/gpl2/xcvs/dist/lib/ |
| getcwd.h | 21 /* 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);
|
| /src/external/gpl3/binutils/dist/libiberty/ |
| getcwd.c | 1 /* 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
|
| getpwd.c | 45 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
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| getcwd.c | 1 /* 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
|
| getpwd.c | 45 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
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| getcwd.c | 1 /* 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
|
| getpwd.c | 45 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
|
| /src/external/gpl3/gcc/dist/libssp/ssp/ |
| unistd.h | 45 #undef getcwd macro 73 (char *__buf, size_t __size), getcwd); 76 getcwd (char *__buf, size_t __size) function
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| getcwd.c | 1 /* 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
|
| getpwd.c | 45 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
|
| /src/external/gpl3/gcc.old/dist/libssp/ssp/ |
| unistd.h | 45 #undef getcwd macro 73 (char *__buf, size_t __size), getcwd); 76 getcwd (char *__buf, size_t __size) function
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| getcwd.c | 1 /* 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
|
| getpwd.c | 45 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
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| getcwd.c | 1 /* 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
|
| getpwd.c | 45 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
|
| /src/external/gpl2/gettext/dist/gnulib-local/lib/ |
| xgetcwd.c | 33 # 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)); 62 path_max += 2; /* The getcwd docs say to do this. */ 69 ret = getcwd (cwd, path_max);
|
| /src/external/bsd/libarchive/dist/tar/ |
| bsdtar_windows.h | 32 #define getcwd _getcwd macro
|
| /src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| getcwd.c | 1 /* Implementation of the GETCWD intrinsic. 45 if (getcwd (cwd, cwd_len)) 57 if (getcwd (buf, cwd_len + 1)) 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) function
|
| /src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| getcwd.c | 1 /* Implementation of the GETCWD intrinsic. 45 if (getcwd (cwd, cwd_len)) 57 if (getcwd (buf, cwd_len + 1)) 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) function
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| getcwd-lgpl.c | 27 /* Favor GPL getcwd.c if both getcwd and getcwd-lgpl modules are in use. */ 40 # undef getcwd macro 42 # define getcwd _getcwd macro 59 return getcwd (buf, size); 70 result = getcwd (buf, size); 82 ptr = getcwd (tmp, size); 106 result = getcwd (buf, size);
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| getcwd-lgpl.c | 27 /* Favor GPL getcwd.c if both getcwd and getcwd-lgpl modules are in use. */ 40 # undef getcwd macro 42 # define getcwd _getcwd macro 59 return getcwd (buf, size); 70 result = getcwd (buf, size); 82 ptr = getcwd (tmp, size); 106 result = getcwd (buf, size);
|
| /src/lib/libc/gen/ |
| getcwd.c | 1 /* $NetBSD: getcwd.c,v 1.53 2012/06/21 23:29:23 enami Exp $ */ 38 static char sccsid[] = "@(#)getcwd.c 8.5 (Berkeley) 2/7/95"; 40 __RCSID("$NetBSD: getcwd.c,v 1.53 2012/06/21 23:29:23 enami Exp $"); 58 __weak_alias(getcwd,_getcwd) 114 if (resolved && getcwd(resolved, MAXPATHLEN) == NULL) { 221 __ssp_real(getcwd)(char *pt, size_t size) function
|