Lines Matching refs:MAXPATHLEN
121 static char cwd[MAXPATHLEN + 1];
124 if ((p = getcwd(cwd, MAXPATHLEN)) != NULL)
137 static char wd[MAXPATHLEN + 1];
142 if (getcwd(wd , MAXPATHLEN)) {
143 strlcat(wd, "/", MAXPATHLEN);
144 strlcat(wd, name, MAXPATHLEN);
146 strlcpy(wd, name, MAXPATHLEN);
265 char buf[MAXPATHLEN+1];
266 char cwd[MAXPATHLEN+1];
279 if (getcwd(cwd, MAXPATHLEN) == NULL)
294 if (getcwd(buf, MAXPATHLEN) == NULL)