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

123456

/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dgetcwd.pl12 # Usage: $cwd = &getcwd;
14 sub getcwd subroutine
29 unless (opendir(getcwd'PARENT, $dotdots)) #'))
37 closedir(getcwd'PARENT); #');
48 unless (defined ($dir = readdir(getcwd'PARENT))) #'))
51 closedir(getcwd'PARENT); #');
57 # closedir(getcwd'PARENT); #');
65 closedir(getcwd'PARENT); #');
H A DCwd.pm11 my $dir = getcwd;
19 current working directory. It is recommended that getcwd (or another
22 By default, it exports the functions cwd(), getcwd(), fastcwd(), and
26 =head2 getcwd and friends
33 =item getcwd
35 my $cwd = getcwd();
39 Re-implements the getcwd(3) (or getwd(3)) functions in Perl.
53 A more dangerous version of getcwd(), but potentially faster.
85 Uses the same algorithm as getcwd(). Symbolic links and relative-path
126 Actually, on Mac OS, the C<getcwd()>,
241 sub getcwd subroutine
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/include/
H A Dgetcwd.h1 /* $Id: getcwd.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
16 char *getcwd(char *pt, size_t size);
/opensolaris-onvv-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))
/opensolaris-onvv-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) {
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Cwd/t/
H A Dtaint.t13 my @Functions = qw(getcwd cwd fastcwd fastgetcwd
H A Dcwd.t20 can_ok('main', qw(cwd getcwd fastcwd fastgetcwd));
65 # Darwin's getcwd(3) (which Cwd.xs:bsd_realpath() uses which
66 # Cwd.pm:getcwd uses) has some magic related to the PWD
74 # the PWD to force getcwd(3) to (re)compute the cwd in full.
81 my $getcwd = getcwd;
86 is($getcwd, $start, 'getcwd()');
98 foreach my $func (qw(cwd getcwd fastcwd fastgetcwd)) {
/opensolaris-onvv-gate/usr/src/cmd/pwd/
H A Dpwd.c48 if (getcwd(name, PATH_MAX + 1) != NULL) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/tools/
H A Dlint_hdr.pl94 $dir = getcwd();
/opensolaris-onvv-gate/usr/src/lib/libast/common/path/
H A Dpathaccess.c52 dirs = getcwd(cwd, sizeof(cwd));
/opensolaris-onvv-gate/usr/src/ucblib/libucb/port/gen/
H A Dgetwd.c47 if ((c = getcwd(pathname, val)) == NULL) {
/opensolaris-onvv-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 "/");
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetcwd.c52 getcwd(arg1, arg2) function
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
H A Drestrict.c41 extern char *getcwd(char *, size_t);
92 if (getcwd(curwd, MAXPATHLEN) == (char *) NULL) {
H A Drealpath.c113 /* AIX Has no fchdir() so we hope the getcwd() call doesn't overrun the buffer! */
122 pcwd = getcwd(cwd, sizeof(cwd));
134 pcwd = getcwd(cwd, sizeof(cwd));
264 resultcode = getcwd(resolved, MAXPATHLEN) == NULL ? 0 : 1;
277 resultcode = getcwd(resolved, MAXPATHLEN) == NULL ? 0 : 1;
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A Dtestlib.pm8 # We use getcwd() because otherwise rel2abs will blow up under taint
14 ($cwd) = getcwd() =~ /(.*)/;
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/include/
H A Dclib_ext.h25 char *getcwd __P((char *, size_t));
/opensolaris-onvv-gate/usr/src/tools/scripts/
H A Dmktpl.pl120 $top = getcwd();
/opensolaris-onvv-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.
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Drealpath.c70 getcwd(start,MAXPATHLEN);
133 if (getcwd(resolved, MAXPATHLEN) == 0)
/opensolaris-onvv-gate/usr/src/cmd/rexd/
H A Dwhere.c99 if (getcwd(curdir, MAXPATHLEN) == NULL) {
105 getcwd(qualpn, MAXPATHLEN);
111 (void) getcwd(qualpn, MAXPATHLEN);
/opensolaris-onvv-gate/usr/src/cmd/sh/
H A Dpwd.c54 extern char *getcwd();
240 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL)
258 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL) {

Completed in 111 milliseconds

123456