Searched refs:PATH_MAX (Results 1 - 25 of 130) sorted by relevance

123456

/ast/src/lib/libast/comp/
H A Dgetwd.c34 if (getcwd(path, PATH_MAX)) return(path);
H A Drealpath.c47 return resolvepath(file, path, PATH_MAX) > 0 ? path : (char*)0;
/ast/src/lib/libast/path/
H A Dpathcd.c35 #undef PATH_MAX macro
37 #define PATH_MAX 16 macro
44 if (strlen(path) >= PATH_MAX)
86 if ((n = strlen(p)) < PATH_MAX)
107 s = p + PATH_MAX;
124 if ((n -= s - p) < PATH_MAX)
H A Dpathaccess.c42 return pathaccess_20100601(dirs, a, b, mode, path, PATH_MAX);
54 char cwd[PATH_MAX];
H A Dpathprobe.c54 return pathprobe_20100601(lang, tool, proc, op, path, PATH_MAX, attr, PATH_MAX);
117 char buf[PATH_MAX];
118 char cmd[PATH_MAX];
119 char exe[PATH_MAX];
120 char lib[PATH_MAX];
121 char ver[PATH_MAX];
141 strncopy(proc + n, p, PATH_MAX - n - 1);
167 if (n < (PATH_MAX - 5))
175 nx = path + PATH_MAX
[all...]
H A Dpathkey.c46 return pathkey_20100601(lang, tool, path, key, 16, attr, PATH_MAX);
68 char tmp[PATH_MAX];
112 if (!flags && fs3d(FS3D_TEST) && (c = mount(path, tmp, FS3D_GET|FS3D_ALL|FS3D_SIZE(PATH_MAX), NiL)) > 1 && c < PATH_MAX)
H A Dpathnative.c57 if (!buf || siz < PATH_MAX)
59 char tmp[PATH_MAX];
H A Dpathposix.c57 if (!buf || siz < PATH_MAX)
59 char tmp[PATH_MAX];
H A Dpathcat.c48 return pathcat_20100601(dirs, sep, a, b, path, PATH_MAX);
/ast/src/cmd/3d/
H A Dsymlink3d.c34 char buf[PATH_MAX + 1];
36 char tmp[PATH_MAX + 1];
44 else sp = strncpy(buf, sp, PATH_MAX);
71 tp = strncpy(tmp, tp, PATH_MAX);
82 tp = strncpy(tmp, tp, PATH_MAX);
H A Drename3d.c33 char buf[PATH_MAX+1];
43 strncpy(buf, sp, PATH_MAX);
67 sp = strncpy(buf, sp, PATH_MAX);
78 sp = strncpy(buf, sp, PATH_MAX);
H A Dlink3d.c36 char buf[PATH_MAX+1];
38 char tmp[PATH_MAX+1];
51 sp = strncpy(buf, sp, PATH_MAX);
75 tp = strncpy(tmp, tp, PATH_MAX);
86 tp = strncpy(tmp, tp, PATH_MAX);
H A Dvcs_3d.h50 char rfile[PATH_MAX]; \
51 char version[PATH_MAX]; \
/ast/src/lib/libast/misc/
H A Dfindlib.h69 char path[PATH_MAX];
70 char temp[PATH_MAX];
84 char path[PATH_MAX];
85 char mark[PATH_MAX];
86 char file[PATH_MAX];
87 char temp[PATH_MAX];
H A Dprocrun.c44 char buf[PATH_MAX];
H A Dgetcwd.c56 n = PATH_MAX;
72 n += PATH_MAX / 4;
143 * this path name may be longer than PATH_MAX
171 char dots[PATH_MAX];
219 len = PATH_MAX;
231 if ((d - dots) > (PATH_MAX - 4))
289 if ((d - dots) > (PATH_MAX - 1 - namlen))
292 if (namlen >= PATH_MAX || !(dirstk = pushdir(dirstk, dots + 3, p, buf + len - 1))) ERROR(ERANGE);
303 if (extra < 0 || !(buf = newof(buf, char, len += PATH_MAX, extra))) ERROR(ERANGE);
H A Dsystrace.c39 char buf[PATH_MAX];
/ast/src/lib/libast/preroot/
H A Drealopen.c36 char buf[PATH_MAX + 8];
H A Dgetpreroot.c51 char buf[PATH_MAX];
78 char dots[PATH_MAX];
91 p = path + PATH_MAX - 1;
98 if ((d - dots) > (PATH_MAX - 4)) ERROR(ERANGE);
143 if ((d - dots) > (PATH_MAX - 1 - namlen)) ERROR(ERANGE);
/ast/src/lib/libtksh/include/
H A DtclPort.h24 # ifdef PATH_MAX
25 # define MAXPATHLEN PATH_MAX
/ast/src/lib/libtk/unix/
H A DtkUnixInit.c26 static char defaultLibraryDir[PATH_MAX];
/ast/src/lib/libcoshell/
H A Dcolib.h107 #define CO_BUFSIZ (PATH_MAX/2) /* temporary buffer size */
108 #define CO_MAXEVAL (PATH_MAX*8) /* max eval'd action size */
/ast/src/lib/libcs/
H A Dcsinfo.c36 char buf[PATH_MAX];
37 char tmp[PATH_MAX];
H A Dcsslib.h69 char buf[PATH_MAX]; \
70 char tmp[PATH_MAX]; \
/ast/src/cmd/mailx/
H A Dlocal.h115 #define FILENAME_MAX PATH_MAX
123 #define MAXPATHLEN PATH_MAX

Completed in 48 milliseconds

123456