Home
last modified time | relevance | path

Searched refs:openfile (Results 1 – 7 of 7) sorted by relevance

/openbsd/src/usr.bin/lam/
Dlam.c51 struct openfile { /* open file structure */ struct
71 char *gatherline(struct openfile *);
73 char *pad(struct openfile *);
115 struct openfile *ip; in getargs()
214 pad(struct openfile *ip) in pad()
234 gatherline(struct openfile *ip) in gatherline()
/openbsd/src/usr.bin/sort/
Dfile.h112 FILE *openfile(const char *, const char *);
Dfile.c312 f = openfile(fn, "w"); in sort_list_dump()
462 openfile(const char *fn, const char *mode) in openfile() function
559 ret->file = openfile(fsrc, "r"); in file_reader_init()
984 f_out = openfile(fn_out, "w"); in merge_files_array()
/openbsd/src/usr.sbin/lpd/
Dprinter.c85 static int openfile(const char *, const char *, struct stat *, FILE **);
327 openfile(const char *fname, const char *inodeinfo, struct stat *st, FILE **fpp) in openfile() function
620 if ((ret = openfile(fname, inodeinfo, &st, &fp)) != OK) in printfile()
871 if ((ret = openfile(fname, inodeinfo, &st, &fp)) != OK) in sendfile()
/openbsd/src/usr.bin/awk/
Dproto.h194 extern FILE *openfile(int, const char *, bool *);
DFIXES39 Fixed openfile to not try to read from a directory.
Drun.c425 fp = openfile(mode, getsval(x), &newflag); in awkgetline()
2214 } else if ((fp = openfile(FFLUSH, getsval(x), NULL)) == NULL) in bltin()
2332 fp = openfile(a, fname, NULL); in redirect()
2364 FILE *openfile(int a, const char *us, bool *pnewflag) in openfile() function