Lines Matching refs:PATH_MAX
75 pkgfilename(char path[PATH_MAX], const char *root, const char *sadmdir,
78 if (snprintf(path, PATH_MAX, "%s%s/%s", root == NULL ? "" : root,
79 sadmdir == NULL ? SADM_DIR : sadmdir, file) >= PATH_MAX) {
153 pkgfindrealsadmdir(char fullpath[PATH_MAX], const char *root,
159 char temp[PATH_MAX];
162 if (snprintf(temp, PATH_MAX, "%s%s",
164 *sadmdir == NULL ? SADM_DIR : *sadmdir) >= PATH_MAX) {
225 if (snprintf(temp, PATH_MAX, "%s%s", saved.mnt_special,
226 &fullpath[max]) >= PATH_MAX) {
257 char pkgdoor[PATH_MAX];
258 char realsadmdir[PATH_MAX];
545 char pkgfile[PATH_MAX];