Home
last modified time | relevance | path

Searched defs:shf (Results 1 – 13 of 13) sorted by relevance

/plan9/sys/src/ape/cmd/pdksh/
H A Dshf.h11 #define shf_fileno(shf) ((shf)->fd) argument
12 #define shf_setfileno(shf,nfd) ((shf)->fd = (nfd)) argument
13 #define shf_getc(shf) ((shf)->rnleft > 0 ? (shf)->rnleft--, *(shf)->rp++ : \ argument
15 #define shf_putc(c, shf) ((shf)->wnleft == 0 ? shf_putchar((c), (shf)) \ argument
17 #define shf_eof(shf) ((shf)->flags & SHF_EOF) argument
18 #define shf_error(shf) ((shf)->flags & SHF_ERROR) argument
19 #define shf_errno(shf) ((shf)->errno_) argument
20 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR)) argument
44 struct shf { struct
56 Area *areap; /* area shf/buf were allocated in */ argument
H A Dshf.c34 struct shf *shf; local
72 shf_fdopen(fd, sflags, shf) in shf_fdopen() argument
125 shf_reopen(fd, sflags, shf) in shf_reopen() argument
175 shf_sopen(buf, bsize, sflags, shf) in shf_sopen() argument
212 shf_close(shf) in shf_close() argument
232 shf_fdclose(shf) in shf_fdclose() argument
255 shf_sclose(shf) in shf_sclose() argument
272 shf_finish(shf) in shf_finish() argument
291 shf_flush(shf) in shf_flush() argument
323 shf_emptybuf(shf, flags) in shf_emptybuf() argument
[all …]
H A Dtree.c9 #define tputc(c, shf) shf_putchar(c, shf); argument
23 ptree(t, indent, shf) in ptree() argument
210 pioact(shf, indent, iop) in pioact() argument
271 tputC(c, shf) in tputC() argument
286 tputS(wp, shf) in tputS() argument
371 fptreef(struct shf *shf, int indent, const char *fmt, ...) in fptreef()
402 struct shf shf; local
414 vfptreef(shf, indent, fmt, va) in vfptreef() argument
608 struct shf shf; local
H A Dmain.c442 struct shf *shf; local
H A Deval.c23 struct shf *shf;/* file */ member
844 struct shf *shf; local
H A Dc_sh.c245 struct shf *shf; local
H A Dlex.h16 struct shf *shf; /* shell file */ member
H A Dlex.c1121 struct shf *shf; local
H A Dexec.c1428 struct shf *volatile shf; local
H A Dhistory.c79 struct shf *shf; local
H A Dmisc.c1051 print_columns(shf, n, func, arg, max_width) in print_columns() argument
H A Djobs.c1499 j_print(j, how, shf) in j_print() argument
H A Dsh.h541 struct shf *shf; member