Home
last modified time | relevance | path

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

123456

/titanic_51/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 "/");
/titanic_51/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) in getcwd() function
H A Dgetwd.c48 if ((c = getcwd(pathname, val)) == NULL) { in getwd()
H A Dfattach.c69 if (getcwd(buf, sizeof (buf)) == NULL) { in fattach()
H A Drealpath.c79 * We know that getcwd() returns a path name free of symlinks. in realpath_impl()
81 if (getcwd(cwd, sizeof (cwd)) == NULL) { in realpath_impl()
83 return (NULL); /* errno set by getcwd() */ in realpath_impl()
/titanic_51/usr/src/cmd/rexd/
H A Dwhere.c99 if (getcwd(curdir, MAXPATHLEN) == NULL) {
105 getcwd(qualpn, MAXPATHLEN);
111 (void) getcwd(qualpn, MAXPATHLEN);
/titanic_51/usr/src/cmd/sh/
H A Dpwd.c57 extern char *getcwd();
228 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL) in cwdget()
246 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL) { in cwdprint()
/titanic_51/usr/src/lib/libast/common/comp/
H A Dgetwd.c34 if (getcwd(path, PATH_MAX)) return(path); in getwd()
H A Dresolvepath.c61 else if (!getcwd(path, size - n)) in resolvepath()
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/
H A Dgetwd.c24 * getwd() using getcwd()
34 if (getcwd(path, PATH_MAX)) return(path); in getwd()
H A Dresolvepath.c63 else if (!getcwd(path, size - n)) in resolvepath()
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Dpathchk.c135 if(!(cpold = getcwd((char*)0, 0)) && errno == EINVAL && (cpold = newof(0, char, PATH_MAX, 0)) && !getcwd(cpold, PATH_MAX)) in pathchk()
/titanic_51/usr/src/lib/libcmd/common/
H A Dpathchk.c135 …if(!(cpold = getcwd((char*)0, 0)) && errno == EINVAL && (cpold = newof(0, char, PATH_MAX, 0)) && ! in pathchk()
/titanic_51/usr/src/contrib/ast/src/lib/libast/misc/
H A Dgetcwd.c34 NoN(getcwd)
47 getcwd(char* buf, size_t len)
153 getcwd(char* buf, size_t len)
/titanic_51/usr/src/ucblib/libucb/port/gen/
H A Dgetwd.c47 if ((c = getcwd(pathname, val)) == NULL) { in getwd()
/titanic_51/usr/src/cmd/pwd/
H A Dpwd.c48 if (getcwd(name, PATH_MAX + 1) != NULL) { in main()
/titanic_51/usr/src/lib/libtsol/common/
H A Dsetflabel.c96 if (getcwd(cwd, MAXPATHLEN) == NULL) { in setflabel()
262 * of invoking getcwd; accepting this value as an argument lets our caller
290 else if (getcwd(absbuf, strlen(absbuf)) == NULL) in abspath()
/titanic_51/usr/src/lib/libast/common/path/
H A Dpathaccess.c52 dirs = getcwd(cwd, sizeof(cwd)); in pathaccess()
/titanic_51/usr/src/lib/libbc/libc/gen/common/
H A Dgetcwd.c52 getcwd(arg1, arg2) in getcwd() function
/titanic_51/usr/src/uts/common/syscall/
H A Dgetcwd.c40 getcwd(char *buf, size_t buflen) in getcwd() function
66 * For some reason, getcwd() uses ERANGE for this case. in getcwd()
/titanic_51/usr/src/cmd/sgs/tools/
H A Dlint_hdr.pl94 $dir = getcwd();
/titanic_51/usr/src/cmd/sendmail/db/include/
H A Dclib_ext.h25 char *getcwd __P((char *, size_t));
/titanic_51/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathaccess.c64 dirs = getcwd(cwd, sizeof(cwd)); in pathaccess_20100601()
/titanic_51/usr/src/cmd/mailx/
H A Dmain.c253 cwd = getcwd(NOSTR, PATHSIZE); in main()
398 cwd = getcwd(NOSTR, PATHSIZE); in main()
/titanic_51/usr/src/cmd/svr4pkg/libinst/
H A Dflex_dev.c59 if ((cwd = getcwd(NULL, PATH_MAX)) == NULL) { in flex_device()

123456