Searched defs:dir (Results 1 - 25 of 141) sorted by relevance

123456

/osnet-11/usr/src/lib/libast/common/comp/
H A Dtempnam.c55 tempnam(const char* dir, const char* pfx) argument
57 return pathtmp(NiL, dir, pfx, NiL);
/osnet-11/usr/src/lib/libproc/common/
H A DPisprocdir.c35 * Return TRUE iff dir is the /proc directory.
38 Pisprocdir(struct ps_prochandle *Pr, const char *dir) argument
44 if (*dir == '/')
46 procfs_path, (int)Pr->pid, dir);
49 procfs_path, (int)Pr->pid, dir);
/osnet-11/usr/src/lib/libparted/common/lib/
H A Ddirname-lgpl.c78 char *dir = malloc (length + append_dot + 1); local
79 if (!dir)
81 memcpy (dir, file, length);
83 dir[length++] = '.';
84 dir[length] = '\0';
85 return dir;
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Ddirname-lgpl.c78 char *dir = malloc (length + append_dot + 1); local
79 if (!dir)
81 memcpy (dir, file, length);
83 dir[length++] = '.';
84 dir[length] = '\0';
85 return dir;
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtmp.c35 pathtmp(char* buf, const char* dir, const char* pfx, int* fdp) argument
39 len = !buf ? 0 : !dir ? L_tmpnam : (strlen(dir) + 14);
40 return pathtemp(buf, len, dir, pfx, fdp);
H A Dpathshell.c79 char dir[PATH_MAX]; local
92 if (strlen(s) >= sizeof(dir))
94 strcpy(dir, s);
95 if (!(s = strrchr(dir, '/')))
98 s = dir;
H A Dpathfind.c40 char dir[1]; /* directory path */ member in struct:Dir_s
50 * append dir to pathfind() include list
54 pathinclude(const char* dir) argument
59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st))
62 if (streq(dir, dp->dir))
64 if (!(dp = oldof(0, Dir_t, 1, strlen(dir))))
[all...]
/osnet-11/usr/src/lib/libuutil/common/
H A Duu_open.c47 uu_open_tmp(const char *dir, uint_t uflags) argument
56 (void) snprintf(fname, PATH_MAX, "%s/uu%lld", dir, gethrtime());
/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_control.c36 DIR *dir; local
43 if ((dir = opendir(path)) != NULL) {
44 while ((dp = readdir(dir)) != NULL) {
53 (void) closedir(dir);
/osnet-11/usr/src/lib/libpkg/common/
H A Dckvolseq.c46 ckvolseq(char *dir, int part, int nparts) argument
59 (void) snprintf(path, sizeof (path), "%s/pkginfo", dir);
65 (void) snprintf(path, sizeof (path), "%s/pkgmap", dir);
75 (void) snprintf(path, sizeof (path), "%s/pkginfo", dir);
91 (void) snprintf(path, sizeof (path), "%s/root.%d", dir, part);
94 (void) snprintf(path, sizeof (path), "%s/reloc.%d", dir, part);
99 dir, part);
/osnet-11/usr/src/lib/libgen/common/
H A Drmdirp.c136 dotdot(char *dir) argument
138 if (strcmp(dir, ".") == 0 || strcmp(dir, "..") == 0)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Daddr_order.c44 int dir; local
51 dir = addr1->length - addr2->length;
63 return dir;
/osnet-11/usr/src/lib/libcmd/common/
H A Dmktemp.c76 char* dir = ""; local
96 dir = 0;
98 dir = opt_info.arg;
104 dir = 0;
133 if (dir && !*dir)
134 dir = 0;
139 dir = fmtbuf(i);
140 memcpy(dir, pfx, i);
141 dir[
[all...]
H A Drmdir.c59 register char* dir; local
94 while (dir = *argv++)
96 end = dir;
97 if (pflag) end += strlen(dir);
101 if (rmdir(dir) < 0)
112 error(ERROR_system(0), "%s: cannot remove", dir);
118 do if (end <= dir) goto next; while (*--end != '/');
119 do if (end <= dir) goto next; while (*(end - 1) == '/' && end--);
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dmnt.h48 char* dir; /* mounted dir */ member in struct:__anon1113
/osnet-11/usr/src/lib/libast/common/include/
H A Dmnt.h39 char* dir; /* mounted dir */ member in struct:__anon1147
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dmnt.h48 char* dir; /* mounted dir */ member in struct:__anon1207
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dmnt.h48 char* dir; /* mounted dir */ member in struct:__anon1229
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dmnt.h48 char* dir; /* mounted dir */ member in struct:__anon1251
/osnet-11/usr/src/lib/sun_fc/common/
H A DHBANPIVPort.cc77 const char dir[] = "/dev/cfg"; local
81 if ((dp = opendir(dir)) == NULL) {
83 tmp += dir;
96 sprintf(node, "%s/%s", dir, dirp->d_name);
100 string cfg_path = dir;
/osnet-11/usr/src/lib/libkmf/include/
H A Dkmfmapper.h52 char *dir; member in struct:__anon1836
/osnet-11/usr/src/lib/libcurses/screen/
H A Dwinsdelln.c57 int endy, endx, to, fr, num_lines, dir; local
106 dir = 1;
115 dir = -1;
132 for (; num_lines > 0; num_lines--, to += dir, fr += dir) {
188 for (; num_lines > 0; --num_lines, to += dir) {
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dtempnam.c54 tempnam(const char *dir, /* use this directory please (if non-NULL) */ argument
65 if (dir != NULL) {
66 if (stat64(dir, &statbuf) == 0 && S_ISDIR(statbuf.st_mode))
67 y = strlen(dir);
73 if (y > 0 && access(pcopy(p, dir), (W_OK | X_OK)) == 0)
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dcd_pwd.c54 register char *dir; local
81 dir = argv[0];
88 dir = sh_substitute(oldpwd,dir,argv[1]);
89 else if(!dir)
90 dir = nv_getval(HOME);
91 else if(*dir == '-' && dir[1]==0)
92 dir = nv_getval(opwdnod);
93 if(!dir || *di
[all...]
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dutil.c40 * This function returns a fullpath based on the "dir" and "filepath" input
44 * - If only dir or filepath is given, this function returns a copy of the
46 * - If the filepath is fully qualified already and the "dir" is also
50 get_fullpath(char *dir, char *filepath) argument
59 if (dir != NULL)
60 dirlen = strlen(dir);
68 dir, filepath);
75 fullpath = (char *)strdup(dir);

Completed in 57 milliseconds

123456