Lines Matching defs:paths
31 * usage: setpath(paths, cmds, localsyspath, dosuffix, printerrors)
32 * char **paths, **cmds, *localsyspath;
35 * The 'paths' argument is a list of pointers to path lists of the
54 * all command operands for any system path in 'paths'.
56 * Both of the 'paths' and 'cmds' lists are terminated by a NULL
77 * Added -r switch to reset paths to their default values.
155 setpath(char **paths, char **cmds, char *localsyspath, int dosuffix,
163 if (initpaths(paths) < 0)
226 savepaths(paths);
232 initpaths(char **paths)
239 for (npaths = 0; path = paths[npaths]; npaths++) {
284 savepaths(char **paths)
297 paths[npath] = p;