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

12345

/illumos-gate/usr/src/lib/libast/common/comp/
H A Dgetwd.c24 * getwd() using getcwd()
34 if (getcwd(path, PATH_MAX)) return(path);
H A Dresolvepath.c61 else if (!getcwd(path, size - n))
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetcwd.c30 * getcwd() returns the pathname of the current working directory.
34 #pragma weak _getcwd = getcwd
43 getcwd(char *pathname, size_t size) function
H A Dgetwd.c48 if ((c = getcwd(pathname, val)) == NULL) {
H A Dfattach.c69 if (getcwd(buf, sizeof (buf)) == NULL) {
H A Drealpath.c79 * We know that getcwd() returns a path name free of symlinks.
81 if (getcwd(cwd, sizeof (cwd)) == NULL) {
83 return (NULL); /* errno set by getcwd() */
/illumos-gate/usr/src/cmd/pwd/
H A Dpwd.c48 if (getcwd(name, PATH_MAX + 1) != NULL) {
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dgetwd.c47 if ((c = getcwd(pathname, val)) == NULL) {
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathaccess.c52 dirs = getcwd(cwd, sizeof(cwd));
H A Dpathpath.c63 getcwd(buf, sizeof(buf));
/illumos-gate/usr/src/tools/codesign/
H A Dsignit.pl79 $Indir = $opt_i || getcwd(); # default to current dir
81 $Indir = getcwd() . "/$Indir" if (substr($Indir, 0, 1) ne "/");
82 $Outdir = getcwd() . "/$Outdir" if (substr($Outdir, 0, 1) ne "/");
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetcwd.c52 getcwd(arg1, arg2) function
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dclib_ext.h25 char *getcwd __P((char *, size_t));
/illumos-gate/usr/src/uts/common/syscall/
H A Dgetcwd.c40 getcwd(char *buf, size_t buflen) function
66 * For some reason, getcwd() uses ERANGE for this case.
/illumos-gate/usr/src/cmd/sh/
H A Dpwd.c57 extern char *getcwd();
228 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL)
246 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL) {
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dflex_dev.c59 if ((cwd = getcwd(NULL, PATH_MAX)) == NULL) {
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dunistd.h125 extern char *getcwd(char *, int);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dpathchk.c135 if(!(cpold = getcwd((char*)0, 0)) && errno == EINVAL && (cpold = newof(0, char, PATH_MAX, 0)) && !getcwd(cpold, PATH_MAX))
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dlock.cc129 (void) getcwd(msg, MAXPATHLEN);
/illumos-gate/usr/src/cmd/modload/
H A Dmodload.c88 if (getcwd(path, 1023 - strlen(modpath)) == NULL)
/illumos-gate/usr/src/cmd/mailx/
H A Dmain.c254 cwd = getcwd(NOSTR, PATHSIZE);
399 cwd = getcwd(NOSTR, PATHSIZE);
/illumos-gate/usr/src/lib/libtsol/common/
H A Dsetflabel.c94 if (getcwd(cwd, MAXPATHLEN) == NULL) {
260 * of invoking getcwd; accepting this value as an argument lets our caller
288 else if (getcwd(absbuf, strlen(absbuf)) == NULL)
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h132 #undef getcwd macro
133 #define getcwd _ast_getcwd macro
134 extern __MANGLE__ char* getcwd __PROTO__((char*, size_t));
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h111 #undef getcwd macro
112 #define getcwd _ast_getcwd macro
113 extern __MANGLE__ char* getcwd __PROTO__((char*, size_t));
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h132 #undef getcwd macro
133 #define getcwd _ast_getcwd macro
134 extern __MANGLE__ char* getcwd __PROTO__((char*, size_t));

Completed in 271 milliseconds

12345