HomeSort by relevance Sort by last modified time
    Searched refs:path (Results 1 - 25 of 1914) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/4.2/
unlink.c 33 unlink(char *path)
35 CHKNULL(path);
37 if (strcmp(path, "/etc/utmp") == 0 ||
38 strcmp(path, "/var/adm/utmp") == 0)
39 path = "/var/adm/utmpx";
40 else if (strcmp(path, "/var/adm/wtmp") == 0)
41 path = "/var/adm/wtmpx";
43 return (_syscall(SYS_unlink, path));
stat.c 34 int stat(path, buf)
35 char *path;
38 return(bc_stat(path, buf));
42 int bc_stat(path, buf)
43 char *path;
46 if ((path == (char*)-1) || (path == (char*)0)) {
54 return(stat_com(SYS_stat, path, buf));
58 int lstat(path, buf)
59 char *path;
    [all...]
execve.c 38 char path[256]; local
44 strcpy(path, "/usr/bin");
45 strcat(path, strrchr(file, '/'));
46 file = path;
51 strcpy(path, "/usr/ucb");
52 strcat(path, strrchr(file, '/'));
53 if (_syscall(SYS_access, path, F_OK) == 0)
54 file = path;
57 strcpy(path, "/usr/bin");
58 strcat(path, strrchr(file, '/'))
    [all...]
open.c 36 open(char *path, int flags, int mode)
38 return (bc_open(path, flags, mode));
42 bc_open(char *path, int flags, int mode)
44 CHKNULL(path);
49 return (open_com(path, flags, mode));
  /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/sys5/
creat.c 29 int creat(path, mode)
30 char *path;
34 return(creat_com(path, mode));
unlink.c 32 unlink(char *path)
34 if (strcmp(path, "/etc/utmp") == 0 ||
35 strcmp(path, "/var/adm/utmp") == 0)
36 path = "/var/adm/utmpx";
37 else if (strcmp(path, "/var/adm/wtmp") == 0)
38 path = "/var/adm/wtmpx";
40 return (_syscall(SYS_unlink, path));
execve.c 37 char path[256]; local
42 strcpy(path, "/usr/ucb");
43 strcat(path, strrchr(file, '/'));
44 file = path;
48 strcpy(path, "/usr/bin");
49 strcat(path, strrchr(file, '/'));
50 if (_syscall(SYS_access, path, F_OK) == 0)
51 file = path;
54 strcpy(path, "/usr/bin");
55 strcat(path, strrchr(file, '/'))
    [all...]
open.c 33 open(char *path, int flags, int mode)
35 return (bc_open(path, flags, mode));
40 bc_open(char *path, int flags, int mode)
42 if ((path == (char*)0) || (path == (char*) -1)) {
46 return (open_com(path, flags, mode));
stat.c 36 int stat(path, buf)
37 char *path;
40 return(bc_stat(path, buf));
43 int bc_stat(path, buf)
44 char *path;
47 if (path == (char*)0) {
55 return(stat_com(SYS_stat, path, buf));
59 int lstat(path, buf)
60 char *path;
63 return(bc_lstat(path, buf))
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sendmail/db/os/
os_abs.c 22 * Return if a path is an absolute path.
27 __os_abspath(path)
28 const char *path;
30 return (path[0] == '/');
  /onnv/onnv-gate/usr/src/lib/libast/common/comp/
getwd.c 32 getwd(char* path)
34 if (getcwd(path, PATH_MAX)) return(path);
35 strcpy(path, "getwd: error in . or ..");
unlink.c 33 unlink(const char* path)
35 return(remove(path));
  /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/
_access.c 34 access_com(char *path, int mode)
36 if (strcmp(path, "/etc/mtab") == 0 ||
37 strcmp(path, "/etc/fstab") == 0) {
44 if (strcmp(path, "/etc/utmp") == 0 ||
45 strcmp(path, "/var/adm/utmp") == 0)
46 path = "/var/adm/utmpx";
47 else if (strcmp(path, "/var/adm/wtmp") == 0)
48 path = "/var/adm/wtmpx";
50 return (_syscall(SYS_access, path, mode));
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
tst.cleanpath.d 33 path[i++] = "/foo/bar/baz";
34 path[i++] = "/foo/bar///baz/";
35 path[i++] = "/foo/bar/baz/";
36 path[i++] = "/foo/bar/baz//";
37 path[i++] = "/foo/bar/baz/.";
38 path[i++] = "/foo/bar/baz/./";
39 path[i++] = "/foo/bar/../../baz/.//";
40 path[i++] = "foo/bar/./././././baz/";
41 path[i++] = "/foo/bar/baz/../../../../../../";
42 path[i++] = "/../../../../../../"
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/FileCache/t/
03append.t 20 for my $path ( @files ){
21 cacheout $path;
22 print $path "$path 3\n";
24 for my $path ( @files ){
25 cacheout $path;
26 print $path "$path 33\n";
28 for my $path ( @files ){
29 open($path, '<', $path)
    [all...]
02maxopen.t 19 for my $path ( @files ){
20 cacheout $path;
21 print $path "$path 1\n";
25 for my $path ( @files ){
26 ok(fileno($path) || $path =~ /^(?:foo|bar)$/);
27 next unless fileno($path);
28 print $path "$path 2\n"
    [all...]
  /onnv/onnv-gate/usr/src/lib/libc/port/sys/
umount.c 42 umount(const char *path)
44 return (umount2(path, 0));
  /onnv/onnv-gate/usr/src/lib/libast/common/path/
pathrepl.c 27 * in place replace of first occurrence of /match/ with /replace/ in path
28 * end of path returned
34 pathrepl(register char* path, const char* match, register const char* replace)
43 return(path + strlen(path));
46 while (*path && *path++ != '/');
47 if (!*path) break;
48 if (*path == *m)
50 t = path;
    [all...]
pathaccess.c 27 * return path to file a/b with access mode using : separated dirs
30 * if (mode&PATH_REGULAR) then path must not be a directory
31 * if (mode&PATH_ABSOLUTE) then path must be rooted
32 * path returned in path buffer
38 pathaccess(register char* path, register const char* dirs, const char* a, const char* b, register int mode)
46 dirs = pathcat(path, dirs, sep, a, b);
47 pathcanon(path, 0);
48 if ((!sib || *path == '/') && pathexists(path, mode)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ssh/include/
mktemp.h 14 int mkstemps(char *path, int slen);
15 int mkstemp(char *path);
16 char *mkdtemp(char *path);
  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
fdetach.c 43 fdetach(const char *path)
46 return (umount(path));
  /onnv/onnv-gate/usr/src/lib/libast/common/stdio/
fopen.c 27 fopen(const char* path, const char* mode)
29 return sfopen(NiL, path, mode);
  /onnv/onnv-gate/usr/src/lib/libpkg/common/
ckvolseq.c 49 char ftype, path[PATH_MAX]; local
59 (void) snprintf(path, sizeof (path), "%s/pkginfo", dir);
60 if (cverify(0, &ftype, path, &cinfo, 1)) {
61 logerr(pkg_gt(ERR_BADPKGINFO), path); local
65 (void) snprintf(path, sizeof (path), "%s/pkgmap", dir);
66 if (access(path, 0)) {
67 logerr(pkg_gt(ERR_NOPKGMAP), path); local
75 (void) snprintf(path, sizeof (path), "%s/pkginfo", dir)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
dirname.c 42 dirname(path)
43 const char *path;
49 if (path == NULL || *path == '\0') {
55 endp = path + strlen(path) - 1;
56 while (endp > path && *endp == '/')
60 while (endp > path && *endp != '/')
64 if (endp == path) {
70 } while (endp > path && *endp == '/')
    [all...]
  /onnv/onnv-gate/usr/src/cmd/lp/lib/lp/
dirs.c 41 char * path,
45 mkdir_lpdir (path, mode)
46 char *path;
55 ret = Mkdir(path, mode);
57 ret = chown_lppath(path);

Completed in 240 milliseconds

1 2 3 4 5 6 7 8 91011>>