Searched defs:path (Results 76 - 100 of 1135) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dxstat.c43 _xstat(int version, const char *path, struct stat *statb) argument
49 return (stat(path, statb));
53 _lxstat(int version, const char *path, struct stat *statb) argument
59 return (lstat(path, statb));
73 _xmknod(int version, const char *path, mode_t mode, dev_t dev) argument
79 return (mknod(path, mode, dev));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dfattach.c52 fattach(int fildes, const char *path) argument
62 if (path == NULL || *path == '\0') {
65 } else if (*path != '/') {
67 * The mount point must be an absolute path.
74 * The kernel will truncate the path if it would have
79 strlcat(buf, path, sizeof (buf)) >= sizeof (buf)) {
83 path = buf;
85 return (mount((char *)NULL, path, MS_DATA|MS_NOMNTTAB,
H A Dftok.c44 ftok(const char *path, int id) argument
51 if (stat64(path, &st) < 0)
59 path, &nvp)) == 0) {
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dshm.c38 shm_open(const char *path, int oflag, mode_t mode) argument
44 if (__pos4obj_check(path) == -1)
48 if (__pos4obj_lock(path, SHM_LOCK_TYPE) < 0)
51 fd = __pos4obj_open(path, SHM_DATA_TYPE, oflag, mode, &crflag);
54 (void) __pos4obj_unlock(path, SHM_LOCK_TYPE);
60 (void) __pos4obj_unlock(path, SHM_LOCK_TYPE);
66 if (__pos4obj_unlock(path, SHM_LOCK_TYPE) < 0) {
75 shm_unlink(const char *path) argument
80 if (__pos4obj_check(path) < 0)
83 if (__pos4obj_lock(path, SHM_LOCK_TYP
[all...]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dchmod.c35 fchmodat(int fd, const char *path, mode_t mode, int flag) argument
37 return (syscall(SYS_fchmodat, fd, path, mode, flag));
42 chmod(const char *path, mode_t mode) argument
45 return (syscall(SYS_chmod, path, mode));
47 return (fchmodat(AT_FDCWD, path, mode, 0));
H A Dreadlink.c32 readlinkat(int fd, const char *path, char *buf, size_t bufsize) argument
37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize);
45 readlink(const char *path, char *buf, size_t bufsize) argument
51 error = __systemcall(&rval, SYS_readlink, path, buf, bufsize);
56 return (readlinkat(AT_FDCWD, path, buf, bufsize));
/illumos-gate/usr/src/cmd/devfsadm/
H A Dfssnap_link.c62 char path[PATH_MAX + 1]; local
76 (void) snprintf(path, sizeof (path), "%s/%s",
79 (void) snprintf(path, sizeof (path), "%s/%s",
85 (void) devfsadm_mklink(path, node, minor, 0);
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dxen_link.c105 char path[MAXPATHLEN]; local
107 (void) snprintf(path, sizeof (path), "dtrace/provider/%s", mname);
108 (void) devfsadm_mklink(path, node, minor, 0);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_tdb.c74 mdb_tdb_load(const char *path) argument
86 if (strcmp(path, t->tdb_pathname) == 0)
97 if (access(path, F_OK) == -1)
100 if ((hdl = dlmopen(LM_ID_BASE, path, RTLD_LAZY | RTLD_LOCAL)) == NULL) {
123 (void) strncpy(t->tdb_pathname, path, MAXPATHLEN);
/illumos-gate/usr/src/cmd/mdb/intel/libstand/
H A Dstat.c49 _xstat(const int ver, const char *path, struct stat *st) argument
56 _lxstat(const int ver, const char *path, struct stat *st) argument
63 _xmknod(const int ver, const char *path, mode_t mode, dev_t dev) argument
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioLib.cc40 const char *path, // input filename
48 inf = new AudioFile(path, (FileAccess)ReadOnly);
73 const char *path, // output filename
81 outf = new AudioFile(path, (FileAccess)WriteOnly);
39 Audio_OpenInputFile( const char *path, Audio*& ap) argument
72 Audio_WriteOutputFile( const char *path, const AudioHdr& hdr, Audio* input) argument
/illumos-gate/usr/src/cmd/svr4pkg/installf/
H A Dremovef.c50 char *path; local
71 path = buf;
75 path = argv[argc];
79 * This strips the install root from the path using
84 path = orig_path_ptr(path);
86 if (path == NULL) {
92 if (*path != '/') {
94 "WARNING: relative pathname <%s> ignored"), path);
107 &(new->map_path), path);
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dpkgvolume.c50 char path[PATH_MAX]; local
85 (void) sprintf(path, "%s/%s", devp->dirname, pkg);
86 if (ckvolseq(path, part, nparts) == 0)
/illumos-gate/usr/src/cmd/tcpd/
H A Dtcpd.c50 char path[MAXPATHNAMELEN]; local
59 * If argv[0] is an absolute path name, ignore REAL_DAEMON_DIR, and strip
64 strcpy(path, argv[0]);
67 sprintf(path, "%s/%s", REAL_DAEMON_DIR, argv[0]);
126 (void) execv(path, argv);
127 syslog(LOG_ERR, "error: cannot execute %s: %m", path);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBANPIVPort.h47 FCHBANPIVPort(std::string path);
49 { return path; }
58 std::string path; member in class:FCHBANPIVPort
63 static void fp_ioctl(std::string path, int cmd, fcio_t *arg);
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_devname.c98 prom_path_options(register char *path) argument
102 s = prom_strrchr(path, '/');
/illumos-gate/usr/src/psm/stand/lib/names/sparc/common/
H A Duname-m.c45 * Is path "/platform/"dir"/" ?
48 platcmp(char *path, char *dir) argument
54 if (strncmp(path, prefix, sizeof (prefix) - 1) != 0)
57 path += sizeof (prefix) - 1;
58 if (strncmp(path, dir, len) != 0)
60 path += len;
61 if (strcmp(path, suffix) != 0)
/illumos-gate/usr/src/uts/common/syscall/
H A Dchmod.c50 fchmodat(int fd, char *path, int mode, int flag) argument
63 error = fsetattrat(fd, path, flag, &vattr);
70 * Change mode of file given path name.
73 chmod(char *path, int mode) argument
75 return (fchmodat(AT_FDCWD, path, mode, 0));
/illumos-gate/usr/src/lib/krb5/ss/
H A Dmk_cmds.c43 char *path, *p, *q; local
52 path = malloc(strlen(argv[1])+4); /* extra space to add ".ct" */
53 strcpy(path, argv[1]);
54 p = strrchr(path, '/');
56 p = path;
61 strcat(path, ".ct");
62 yyin = fopen(path, "rF");
64 perror(path);
68 p = strrchr(path, '.');
70 q = rindex(path, '/');
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dftw.c41 return (*ftw_userf)(ftw->path, &ftw->statb, n);
45 ftw(const char* path, int(*userf)(const char*, const struct stat*, int), int depth) argument
49 return ftwalk(path, ftw_user, FTW_DOT, NiL);
H A Dgross.c44 extern int lstat(const char* path, struct stat* st) argument
47 return __lxstat(_STAT_VER, path, st);
49 return _lxstat(_STAT_VER, path, st);
53 extern int stat(const char* path, struct stat* st) argument
56 return __xstat(_STAT_VER, path, st);
58 return _xstat(_STAT_VER, path, st);
75 extern int lstat64(const char* path, struct stat64* st) argument
78 return __lxstat64(_STAT_VER, path, st);
80 return _lxstat64(_STAT_VER, path, st);
84 extern int stat64(const char* path, struc argument
[all...]
H A Dresolvepath.c42 resolvepath(const char* file, char* path, size_t size) argument
60 s = path;
61 else if (!getcwd(path, size - n))
65 s = path + strlen(path);
69 return pathcanon(path, PATH_PHYSICAL|PATH_DOTDOT|PATH_EXISTS) ? strlen(path) : -1;
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathaccess.c27 * 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...]
H A Dpathpath.c27 * return full path to p with mode access using $PATH
32 * full path returned in path buffer
33 * if path==0 then the space is malloc'd
39 pathpath(register char* path, const char* p, const char* a, int mode) argument
47 if (!path)
48 path = buf;
58 strcpy(path, p);
59 if (pathexists(path, mode))
66 if (path !
[all...]
H A Dpathposix.c27 * convert native path to posix fs representation in <buf,siz>
28 * length of converted path returned
41 pathposix(const char* path, char* buf, size_t siz) argument
43 return uwin_unpath(path, buf, siz);
53 pathposix(const char* path, char* buf, size_t siz) argument
61 cygwin_conv_to_posix_path(path, tmp);
66 cygwin_conv_to_posix_path(path, buf);
75 pathposix(const char* path, char* buf, size_t siz) argument
80 if (!_posixpath(buf, path, siz))
86 else if ((n = strlen(path)) < si
98 pathposix(const char* path, char *buf, size_t siz) argument
113 pathposix(const char* path, char* buf, size_t siz) argument
[all...]

Completed in 1910 milliseconds

1234567891011>>