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 /* openp, fopenp -- search pathlist and open file
27 * i = openp (path,file,complete,flags,mode)
28 * f = fopenp (path,file,complete,type)
31 * char *path,*file,*complete,*type;
33 * Openp searches for "file" in the pathlist "path";
34 * when the file is found and can be opened by open()
36 * is copied into "complete" and openp returns the file
37 * descriptor. If no such file is found, openp returns -1.
40 * file is found.
58 int openp(const char *fpath, char *file, char *complete, int flags, int mode);
79 openp(const char *fpath, char *file, char *complete, int flags, int mode)
83 if (searchp(fpath,file,complete,func) < 0) return (-1);
88 fopenp(const char *fpath, char *file, char *complete, const char *ftype)
91 if (searchp(fpath,file,complete,ffunc) < 0) return (0);