Lines Matching +defs:val +defs:file
490 const char *val;
494 if(val=sh_scoped(shp,(PATHNOD))->nvalue.cp)
496 shp->pathlist = pp = (void*)path_addpath(shp,(Pathcomp_t*)shp->pathlist,val,PATH_PATH);
504 if(val=sh_scoped(shp,(FPATHNOD))->nvalue.cp)
506 pp = (void*)path_addpath(shp,(Pathcomp_t*)shp->pathlist,val,PATH_FPATH);
533 * open file corresponding to name using path give by <pp>
575 * open file corresponding to name using path give by <pp>
616 * load functions from file <fno>
753 * do a path search and find the full pathname of file name
885 * sets exec_err if file is found but can't be executable
947 char *path_relative(Shell_t *shp,register const char* file)
950 register const char *fp = file;
967 return((char*)file);
1150 * file has execute but not read permissions. So,
1226 * Assume file is a Shell script and execute it.
1252 /* check if file cannot open for read or script is setuid/setgid */
1270 /* create a suid open file with owner equal effective uid */
1274 /* make sure that file has right owner */
1311 /* close history file if name has changed */
1368 * terminate an accounting record and append to accounting file
1470 * This function checks for the .paths file in directory in <pp>
1769 static void talias_put(register Namval_t* np,const char *val,int flags,Namfun_t *fp)
1771 if(!val && np->nvalue.cp)
1777 nv_putv(np,val,flags,fp);