Searched defs:path (Results 1 - 25 of 485) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetwd.c32 getwd(char* path) argument
34 if (getcwd(path, PATH_MAX)) return(path);
35 strcpy(path, "getwd: error in . or ..");
H A Drealpath.c45 realpath(const char* file, char* path) argument
47 return resolvepath(file, path, PATH_MAX) > 0 ? path : (char*)0;
/osnet-11/usr/src/lib/libmail/common/
H A Dabspath.c34 * abspath - expand a path relative to some `.'
37 * string *abspath(char *path, char *dot, string *to)
40 * If "path" is relative, ie: does not start with `.', the
42 * returned in "to". Otherwise, the value of "path" is
49 abspath(char *path, char *dot, string *to) argument
51 if (*path == '/') {
52 to = s_append(to, path);
55 to = s_append(to, path);
/osnet-11/usr/src/lib/libgen/common/
H A Deaccess.c42 eaccess(const char *path, int amode) argument
45 return (access(path, 010|amode));
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathstat.c33 pathstat(const char* path, struct stat* st) argument
39 if (!stat(path, st)) return(0);
41 return(lstat(path, st));
43 return(stat(path, st));
H A Dpathnative.c27 * convert path to native fs representation in <buf,siz>
28 * length of converted path returned
41 pathnative(const char* path, char* buf, size_t siz) argument
43 return uwin_path(path, buf, siz);
53 pathnative(const char* path, char* buf, size_t siz) argument
61 cygwin_conv_to_win32_path(path, tmp);
66 cygwin_conv_to_win32_path(path, buf);
75 pathnative(const char* path, char* buf, size_t siz) argument
80 if (!_fullpath(buf, path, siz))
86 else if ((n = strlen(path)) < si
98 pathnative(const char* path, char* buf, size_t siz) argument
111 pathnative(const char* path, char* buf, size_t siz) argument
[all...]
/osnet-11/usr/src/lib/libast/common/stdio/
H A Dfopen.c27 fopen(const char* path, const char* mode) argument
29 return sfopen(NiL, path, mode);
H A Dfreopen.c27 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);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dfdetach.c43 fdetach(const char *path) argument
46 return (umount(path));
H A Dftw.c57 ftw(const char *path, int (*fn)(), int depth) argument
59 return (_xftw(_XFTWVER, path, fn, depth));
H A Dmkfifo.c39 mkfifoat(int fd, const char *path, mode_t mode) argument
43 return (mknodat(fd, path, mode, 0));
48 mkfifo(const char *path, mode_t mode) argument
52 return (mknod(path, mode, 0));
/osnet-11/usr/src/lib/libc/port/sys/
H A Dumount.c42 umount(const char *path) argument
44 return (umount2(path, 0));
H A Dmkdir.c32 mkdirat(int fd, const char *path, mode_t mode) argument
34 return (syscall(SYS_mkdirat, fd, path, mode));
39 mkdir(const char *path, mode_t mode) argument
41 return (mkdirat(AT_FDCWD, path, mode));
H A Dmknod.c32 mknodat(int fd, const char *path, mode_t mode, dev_t dev) argument
34 return (syscall(SYS_mknodat, fd, path, mode, dev));
39 mknod(const char *path, mode_t mode, dev_t dev) argument
41 return (mknodat(AT_FDCWD, path, mode, dev));
/osnet-11/usr/src/lib/libpkg/common/
H A Drrmdir.c44 char path[PATH_MAX+13]; local
59 /* do not allow removal of all root files via blank path */
63 pkg_gt("warning: rrmdir(path==NULL): nothing deleted\n"));
68 * first generate path with slash-star at the end and attempt to remove
69 * all files first. If successful then remove with just the path only.
72 (void) snprintf(path, sizeof (path), "%s/", a_path);
74 "/bin/rm", "rm", "-rf", path, (char *)NULL);
H A Dckvolseq.c49 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...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Dprocrun.c37 procrun(const char* path, char** argv, int flags) argument
46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1;
48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
/osnet-11/usr/src/lib/libtsol/common/
H A Dgetlabel.c52 getlabel(const char *path, bslabel_t *label) argument
54 return (syscall(SYS_labelsys, TSOL_GETLABEL, path, label));
/osnet-11/usr/src/lib/libproc/common/
H A DPisprocdir.c40 char path[PATH_MAX]; local
45 (void) snprintf(path, sizeof (path), "%s/%d/root%s",
48 (void) snprintf(path, sizeof (path), "%s/%d/cwd/%s",
56 return (stat(path, &statb) == 0 &&
57 statvfs(path, &statvfsb) == 0 &&
/osnet-11/usr/src/lib/sun_sas/common/
H A Dverify.c38 char *charptr, path[MAXPATHLEN+1]; local
49 (void) strlcpy(path, hba_ptr->device_path, sizeof (path));
51 charptr = strrchr(path, ':');
58 node = di_init(path, DINFOCPYALL);
62 path, strerror(errno));
/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_control.c32 shadow_remove_tree(const char *path) argument
39 if (stat64(path, &statbuf) != 0)
43 if ((dir = opendir(path)) != NULL) {
50 "%s/%s", path, dp->d_name);
56 (void) rmdir(path);
58 (void) unlink(path);
72 char path[PATH_MAX]; local
119 (void) snprintf(path, sizeof (path), "%s/%s", shp->sh_mountpoint,
121 shadow_remove_tree(path);
[all...]
/osnet-11/usr/src/lib/libnsl/dial/
H A Dstrsave.c61 eaccess(char *path, mode_t amode) argument
66 if (stat(path, &s) == -1)
/osnet-11/usr/src/lib/libdll/common/
H A Ddllcheck.c31 * path!=0 enables library level diagnostics
35 dllversion(void* dll, const char* path) argument
41 if (path)
45 errorf("dll", NiL, 1, "%s: %s", path, state.errorbuf);
51 * check if dll on path has plugin version >= ver
53 * path!=0 enables library level diagnostics
58 dllcheck(void* dll, const char* path, unsigned long ver, unsigned long* cur) argument
66 v = dllversion(dll, path);
76 if (path)
80 errorf("dll", NiL, 1, "%s: %s", path, stat
[all...]
H A Ddllfind.c33 * if path!=0 then library path up to size chars copied to path with trailing 0
38 dllfind(const char* lib, const char* ver, int flags, char* path, size_t size) argument
43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size)))
45 return dllplug(NiL, lib, ver, flags, path, size);
/osnet-11/usr/src/lib/libfedfs/common/
H A Dget_rp_data.c43 get_rp_data(char *path) argument
50 if (path == NULL)
52 err = lstat(path, &stbuf);
56 sz = readlink(path, buf, SYMLINK_MAX);
64 fd1 = open(path, O_RDONLY);

Completed in 107 milliseconds

1234567891011>>