Lines Matching defs:file
7 * Reserved. This file contains Original Code and/or Modifications of
9 * Source License Version 1.0 (the 'License'). You may not use this file
12 * this file.
24 /* searchp -- search through pathlist for file
26 * Usage: p = searchp (path,file,fullname,func);
27 * char *p, *path, *file, *fullname;
31 * by colons, prepending each pathname to "file". The resulting
39 * If "file" begins with a slash, it is assumed to be an
68 searchp(const char *spath, char *file, char *fullname, int (*func)(char *))
74 nextpath = ((*file == '/') ? "" : spath);
80 if (nextchar != nextpath && *file) *fname++ = '/';
83 nextchar = file; /* append file */