/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | save-cwd.h | 30 int save_cwd (struct saved_cwd *cwd); 31 int restore_cwd (const struct saved_cwd *cwd); 32 void free_cwd (struct saved_cwd *cwd);
|
H A D | save-cwd.c | 1 /* save-cwd.c -- Save and restore current working directory. 24 #include "save-cwd.h" 69 save_cwd (struct saved_cwd *cwd) argument 71 cwd->name = NULL; 73 cwd->desc = open (".", O_RDONLY); 74 if (cwd->desc < 0) 76 cwd->name = xgetcwd (); 77 return cwd->name ? 0 : -1; 88 restore_cwd (const struct saved_cwd *cwd) argument 90 if (0 <= cwd 97 free_cwd(struct saved_cwd *cwd) argument [all...] |
H A D | xgetcwd.c | 37 char *cwd = getcwd (NULL, 0); local 38 if (! cwd && errno == ENOMEM) 40 return cwd;
|
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/ |
H A D | getcwd.pl | 12 # Usage: $cwd = &getcwd; 16 local($dotdots, $cwd, @pst, @cst, $dir, @tst); 23 $cwd = ''; 64 $cwd = "$dir/$cwd"; 67 chop($cwd); 68 $cwd;
|
/macosx-10.10/CPANInternal-159.1/Class-Factory-Util-1.7/ |
H A D | Makefile.PL | 19 my $cwd = Cwd::cwd(); 25 chdir $cwd or die "Cannot chdir() back to $cwd: $!";
|
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/certcrl/testSubjects/X509tests/ |
H A D | makeCertScr | 5 set dirName=$cwd:t
|
/macosx-10.10/llvmCore-3425.0.34/projects/sample/autoconf/ |
H A D | AutoRegen.sh | 12 cwd=`pwd` 17 cd $cwd 22 cd $cwd 41 aclocal -I $cwd/m4 || die "aclocal failed"
|
/macosx-10.10/CPANInternal-159.1/DateTime-Format-ISO8601-0.07/ |
H A D | Makefile.PL | 19 my $cwd = Cwd::cwd(); 25 chdir $cwd or die "Cannot chdir() back to $cwd: $!";
|
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/ |
H A D | Makefile.PL | 20 my $cwd = Cwd::cwd(); 26 chdir $cwd or die "Cannot chdir() back to $cwd: $!";
|
/macosx-10.10/man-16/man/src/ |
H A D | manpath.c | 184 char cwd[BUFSIZ]; local 192 if (!getcwd(cwd, sizeof(cwd))) 193 return; /* cwd not readable, or pathname very long */ 194 if (cwd[0] != '/') 196 if (strlen(dir) + strlen(lang) + strlen(cwd) + 3 > sizeof(cwd)) 201 char *p = rindex (cwd, '/'); 202 if (p > cwd) 205 cwd[ [all...] |
/macosx-10.10/CPANInternal-159.1/Test-use-ok-0.11/inc/Module/Install/ |
H A D | GithubMeta.pm | 36 my $cwd = getcwd; 37 my $last = $cwd; 49 chdir $cwd;
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/path/ |
H A D | pathaccess.c | 54 char cwd[PATH_MAX]; local 64 dirs = getcwd(cwd, sizeof(cwd));
|
/macosx-10.10/apr-32/apr/apr/file_io/unix/ |
H A D | tempdir.c | 47 char *cwd; local 116 if (APR_SUCCESS == apr_filepath_get(&cwd, APR_FILEPATH_NATIVE, p)) { 117 if (test_tempdir(cwd, p)) { 118 dir = cwd;
|
/macosx-10.10/less-25/less/ |
H A D | lsystem.c | 53 char cwd[FILENAME_MAX+1]; local 78 getcwd(cwd, FILENAME_MAX); 200 chdir(cwd); 206 if (cwd[1] == ':') 208 if (cwd[0] >= 'a' && cwd[0] <= 'z') 209 setdisk(cwd[0] - 'a'); 210 else if (cwd[0] >= 'A' && cwd[0] <= 'Z') 211 setdisk(cwd[ [all...] |
/macosx-10.10/ruby-106/ruby/lib/ |
H A D | shell.rb | 186 @cwd = File.expand_path(pwd) 229 File.expand_path(path, @cwd) 237 # Shell#cwd/dir/getwd/pwd 245 attr_reader :cwd 246 alias dir cwd 247 alias getwd cwd 248 alias pwd cwd 267 cwd_old = @cwd 277 @cwd = expand_path(path) 278 notify "current dir: #{@cwd}" [all...] |
/macosx-10.10/AppleUSBCDCDriver-4205.2.2/Package/ |
H A D | Makefile | 2 cwd := $(shell pwd) macro 17 TARBALL := "${cwd}/../build/${NAME}-Root.tar.gz"
|
/macosx-10.10/CPANInternal-159.1/Crypt-Rijndael-1.10/t/ |
H A D | cbc.t | 7 require_ok( File::Spec->catfile( cwd(), qw( t lib mode.pl ) ) );
|
H A D | cfb.t | 7 require_ok( File::Spec->catfile( cwd(), qw( t lib mode.pl ) ) );
|
H A D | ctr.t | 7 require_ok( File::Spec->catfile( cwd(), qw( t lib mode.pl ) ) );
|
H A D | ecb.t | 7 require_ok( File::Spec->catfile( cwd(), qw( t lib mode.pl ) ) );
|
H A D | ofb.t | 7 require_ok( File::Spec->catfile( cwd(), qw( t lib mode.pl ) ) );
|
H A D | pcbc.t | 7 require_ok( File::Spec->catfile( cwd(), qw( t lib mode.pl ) ) );
|
/macosx-10.10/bash-94.1.2/bash-3.2/examples/startup-files/apple/ |
H A D | aliases | 11 alias .='cwd' 15 alias cwd='echo $PWD'
|
/macosx-10.10/ruby-106/ruby/test/win32ole/ |
H A D | test_err_in_callback.rb | 21 cwd = Pathname.new(File.expand_path('.')) 23 " -I " + (Pathname.new(e).relative_path_from(cwd).to_s rescue e) 26 @script = Pathname.new(script).relative_path_from(cwd).to_s rescue script
|
/macosx-10.10/lsof-53/lsof/tests/ |
H A D | LTunix.c | 85 char cwd[MAXPATHLEN + 1]; /* CWD buffer */ local 122 if (!getcwd(cwd, sizeof(cwd))) 124 if (!getwd(cwd)) 131 cwd[sizeof(cwd) - 1] = '\0'; 132 if ((strlen(cwd) + strlen("/config.LT#U9223372036854775807") + 1) 135 strncpy(cwd, "/tmp", sizeof(cwd) - 1); 138 (void) snprintf(buf, sizeof(buf) - 1, "%s/config.LT%dU%ld", cwd, t [all...] |