Lines Matching refs:pathstr
110 const char *pathstr;
126 if ((pathstr = getenv("PATH")) == NULL) {
128 * XPG4: pathstr is equivalent to CSPATH, except that
129 * :/usr/sbin is appended when root, and pathstr must end
131 * with CSPATH in confstr.c. Note that pathstr must end
138 pathstr = "/usr/sbin:/usr/ccs/bin:/usr/bin";
140 pathstr = "/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:"
145 pathstr = "/usr/ccs/bin:/usr/bin:";
147 pathstr = "/usr/xpg4/bin:/usr/ccs/bin:"
152 cp = strchr(name, '/')? (const char *)"": pathstr;