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

123

/osnet-11/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...]
H A DFindBin.pm96 use Cwd qw(getcwd abs_path);
117 $Bin = $RealBin = getcwd();
163 $script = File::Spec->catfile(getcwd(), $script)
H A Dblib.pm49 my $dir = getcwd;
/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetwd.c24 * getwd() using getcwd()
34 if (getcwd(path, PATH_MAX)) return(path);
H A Dresolvepath.c63 else if (!getcwd(path, size - n))
/osnet-11/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) {
/osnet-11/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)) {
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dclib_ext.h25 char *getcwd __P((char *, size_t));
/osnet-11/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() =~ /(.*)/;
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathaccess.c64 dirs = getcwd(cwd, sizeof(cwd));
H A Dpathpath.c75 getcwd(buf, sizeof(buf));
/osnet-11/usr/src/lib/libtsol/common/
H A Dsetflabel.c94 if (getcwd(cwd, MAXPATHLEN) == NULL) {
163 * of invoking getcwd; accepting this value as an argument lets our caller
191 else if (getcwd(absbuf, strlen(absbuf)) == NULL)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Cwd/
H A DCwd.xs91 if (getcwd(wd, MAXPATHLEN - 1) == NULL) {
156 if (getcwd(resolved, MAXPATHLEN) == 0)
227 /* Some getcwd()s automatically allocate a buffer of the given
230 if (getcwd(buf, sizeof(buf) - 1)) {
/osnet-11/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))
/osnet-11/usr/src/lib/libast/common/misc/
H A Dgetcwd.c34 NoN(getcwd)
47 getcwd(char* buf, size_t len)
153 getcwd(char* buf, size_t len)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/DynaLoader/
H A Ddl_dlopen.xs170 if (getcwd(pathbuf, PATH_MAX - strlen(filename))) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/t/
H A Dposix.t16 use POSIX qw(fcntl_h signal_h limits_h _exit getcwd open read strftime write
137 like( getcwd(), qr/$pat/, 'getcwd' );
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dunistd.in.h76 /* Solaris declares getcwd not only in <unistd.h> but also in <stdlib.h>. */
82 /* mingw declares getcwd in <io.h>, not in <unistd.h>. */
514 <http://www.opengroup.org/susv3xsh/getcwd.html>.
515 Additionally, the gnulib module 'getcwd' guarantees the following GNU
521 # define getcwd rpl_getcwd
523 _GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size));
524 _GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size));
528 _GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size));
530 _GL_CXXALIASWARN (getcwd);
532 # undef getcwd
[all...]
/osnet-11/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));
/osnet-11/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));
/osnet-11/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 99 milliseconds

123