Lines Matching defs:path
29 * setpath --- smart interface for setting path variables
35 * The 'paths' argument is a list of pointers to path lists of the
36 * form "name=value" where name is the name of the path and value
38 * more than MAXDIRS (64) directories in a path.
41 * -r reset path to default
47 * -d# delete path at position #
54 * all command operands for any system path in 'paths'.
89 #define MAXDIRS 64 /* max directories on a path */
97 struct pelem *pnext; /* pointer to next path */
234 char *path, *val, *p, *q;
239 for (npaths = 0; path = paths[npaths]; npaths++) {
240 val = index(path, '=');
244 "setpath: value missing in path '%s'\n"), path);
257 p = strsave(path);
345 tcsh_rcmd(char *localsyspath) /* reset path with localsyspath */
388 icmd(char *path, char *localsyspath) /* insert path before localsyspath */
405 insert(pe, n, path);
407 insert(pe, 0, path);
412 iacmd(char *inpath, char *path) /* insert path after inpath */
420 insert(pe, n + 1, path);
428 ibcmd(char *inpath, char *path) /* insert path before inpath */
436 insert(pe, n, path);
444 incmd(char *path, int n) /* insert path at position n */
449 insert(pe, n, path);
479 dcmd(char *path) /* delete path */
485 n = locate(pe, path);
490 path, pe->pname);
525 ccmd(char *inpath, char *path) /* change inpath to path */
533 change(pe, n, path);
541 cncmd(char *path, int n) /* change at position n to path */
547 change(pe, n, path);