/plan9/sys/src/ape/cmd/pdksh/ |
H A D | shf.h | 11 #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 D | shf.c | 34 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 D | tree.c | 9 #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 D | main.c | 442 struct shf *shf; local
|
H A D | eval.c | 23 struct shf *shf;/* file */ member 844 struct shf *shf; local
|
H A D | c_sh.c | 245 struct shf *shf; local
|
H A D | lex.h | 16 struct shf *shf; /* shell file */ member
|
H A D | lex.c | 1121 struct shf *shf; local
|
H A D | exec.c | 1428 struct shf *volatile shf; local
|
H A D | history.c | 79 struct shf *shf; local
|
H A D | misc.c | 1051 print_columns(shf, n, func, arg, max_width) in print_columns() argument
|
H A D | jobs.c | 1499 j_print(j, how, shf) in j_print() argument
|
H A D | sh.h | 541 struct shf *shf; member
|