Lines Matching refs:pathstr
376 const char *pathstr = (strchr(file, '/') == NULL)? getenv("PATH") : "";
440 if (pathstr == NULL) {
442 * XPG4: pathstr is equivalent to _CS_PATH, except that
443 * :/usr/sbin is appended when root, and pathstr must end
445 * with _CS_PATH in confstr.c. Note that pathstr must end
452 pathstr = "/usr/sbin:/usr/ccs/bin:/usr/bin";
454 pathstr = "/usr/xpg4/bin:/usr/ccs/bin:"
458 pathstr = "/usr/ccs/bin:/usr/bin:";
460 pathstr = "/usr/xpg4/bin:/usr/ccs/bin:"
465 cp = pathstr;