/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | creat.c | 29 int creat(path, mode) 30 char *path; 34 return(creat_com(path, mode));
|
H A D | unlink.c | 31 unlink(const char *path) argument 33 if (strcmp(path, "/etc/utmp") == 0 || 34 strcmp(path, "/var/adm/utmp") == 0) 35 path = "/var/adm/utmpx"; 36 else if (strcmp(path, "/var/adm/wtmp") == 0) 37 path = "/var/adm/wtmpx"; 39 return (_syscall(SYS_unlinkat, AT_FDCWD, path, 0));
|
H A D | open.c | 33 open(char *path, int flags, int mode) argument 35 return (bc_open(path, flags, mode)); 40 bc_open(char *path, int flags, int mode) argument 42 if ((path == (char*)0) || (path == (char*) -1)) { 46 return (open_com(path, flags, mode));
|
H A D | stat.c | 34 int stat(path, buf) 35 char *path; 38 return(bc_stat(path, buf)); 41 int bc_stat(path, buf) 42 char *path; 45 if (path == (char*)0) { 53 return(stat_com(0, path, buf)); 57 int lstat(path, buf) 58 char *path; 61 return(bc_lstat(path, bu [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_abs.c | 22 * Return if a path is an absolute path. 27 __os_abspath(path) 28 const char *path; 30 return (path[0] == '/');
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/ |
H A D | getwd.c | 32 getwd(char* path) argument 34 if (getcwd(path, PATH_MAX)) return(path); 35 strcpy(path, "getwd: error in . or ..");
|
H A D | unlink.c | 33 unlink(const char* path) 35 return(remove(path));
|
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | 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[ [all...] |
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | stat.c | 32 int stat(path, buf) 33 char *path; 36 return(bc_stat(path, buf)); 40 int bc_stat(path, buf) 41 char *path; 44 if ((path == (char*)-1) || (path == (char*)0)) { 52 return(stat_com(0, path, buf)); 56 int lstat(path, buf) 57 char *path; [all...] |
H A D | unlink.c | 32 unlink(const char *path) argument 34 CHKNULL(path); 36 if (strcmp(path, "/etc/utmp") == 0 || 37 strcmp(path, "/var/adm/utmp") == 0) 38 path = "/var/adm/utmpx"; 39 else if (strcmp(path, "/var/adm/wtmp") == 0) 40 path = "/var/adm/wtmpx"; 42 return (_syscall(SYS_unlinkat, AT_FDCWD, path, 0));
|
H A D | open.c | 36 open(char *path, int flags, int mode) argument 38 return (bc_open(path, flags, mode)); 42 bc_open(char *path, int flags, int mode) argument 44 CHKNULL(path); 49 return (open_com(path, flags, mode));
|
H A D | access.c | 35 access(char *path, int mode) argument 37 CHKNULL(path); 39 return (access_com(path, mode));
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/FileCache/t/ |
H A D | 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, '<', [all...] |
H A D | 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 [all...] |
/opensolaris-onvv-gate/usr/src/lib/libc/port/sys/ |
H A D | umount.c | 42 umount(const char *path) argument 44 return (umount2(path, 0));
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/path/ |
H A D | 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) argument 43 return(path + strlen(path)); 46 while (*path && *path++ != '/'); 47 if (!*path) break; 48 if (*path == *m) 50 t = path; [all...] |
H A D | 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) argument 46 dirs = pathcat(path, dirs, sep, a, b); 47 pathcanon(path, 0); 48 if ((!sib || *path == '/') && pathexists(path, mod [all...] |
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _access.c | 33 access_com(char *path, int mode) argument 35 if (strcmp(path, "/etc/mtab") == 0 || 36 strcmp(path, "/etc/fstab") == 0) { 43 if (strcmp(path, "/etc/utmp") == 0 || 44 strcmp(path, "/var/adm/utmp") == 0) 45 path = "/var/adm/utmpx"; 46 else if (strcmp(path, "/var/adm/wtmp") == 0) 47 path = "/var/adm/wtmpx"; 49 return (_syscall(SYS_faccessat, AT_FDCWD, path, mode, 0));
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/include/ |
H A D | mktemp.h | 14 int mkstemps(char *path, int slen); 15 int mkstemp(char *path); 16 char *mkdtemp(char *path);
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/stdio/ |
H A D | fopen.c | 27 fopen(const char* path, const char* mode) argument 29 return sfopen(NiL, path, mode);
|
H A D | freopen.c | 27 freopen(const char* path, const char* mode, Sfio_t* f) argument 29 STDIO_PTR(f, "freopen", Sfio_t*, (const char*, const char*, Sfio_t*), (path, mode, f)) 31 return sfopen(f, path, mode);
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | fdetach.c | 43 fdetach(const char *path) argument 46 return (umount(path));
|
/opensolaris-onvv-gate/usr/src/lib/libpkg/common/ |
H A D | 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, sizeo [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | 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 [all...] |
/opensolaris-onvv-gate/usr/src/cmd/lp/lib/lp/ |
H A D | dirs.c | 41 char * path, 45 mkdir_lpdir (path, mode) 46 char *path; 55 ret = Mkdir(path, mode); 57 ret = chown_lppath(path); 40 mkdir_lpdir( char * path, int mode ) argument
|