Searched refs:getcwd (Results 1 - 25 of 106) 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/cmd/sgs/tools/
H A Dlint_hdr.pl94 $dir = getcwd();
/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/rexd/
H A Dwhere.c99 if (getcwd(curdir, MAXPATHLEN) == NULL) {
105 getcwd(qualpn, MAXPATHLEN);
111 (void) getcwd(qualpn, MAXPATHLEN);
/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/lib/libbc/inc/include/
H A Dunistd.h125 extern char *getcwd(char *, int);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dflex_dev.c59 if ((cwd = getcwd(NULL, PATH_MAX)) == NULL) {
/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.cc131 (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/lib/libtsol/common/
H A Dsetflabel.c96 if (getcwd(cwd, MAXPATHLEN) == NULL) {
262 * of invoking getcwd; accepting this value as an argument lets our caller
290 else if (getcwd(absbuf, strlen(absbuf)) == NULL)
/illumos-gate/usr/src/cmd/mailx/
H A Dmain.c253 cwd = getcwd(NOSTR, PATHSIZE);
398 cwd = getcwd(NOSTR, PATHSIZE);
/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));

Completed in 85 milliseconds

12345