Lines Matching refs:shf
1199 struct shf *shf; member
1410 #define shf_fileno(shf) ((shf)->fd) argument
1411 #define shf_setfileno(shf,nfd) ((shf)->fd = (nfd)) argument
1412 #define shf_getc_i(shf) ((shf)->rnleft > 0 ? \ argument
1413 (shf)->rnleft--, *(shf)->rp++ : \
1414 shf_getchar(shf))
1415 #define shf_putc_i(c, shf) ((shf)->wnleft == 0 ? \ argument
1416 shf_putchar((uint8_t)(c), (shf)) : \
1417 ((shf)->wnleft--, *(shf)->wp++ = (c)))
1418 #define shf_eof(shf) ((shf)->flags & SHF_EOF) argument
1419 #define shf_error(shf) ((shf)->flags & SHF_ERROR) argument
1420 #define shf_errno(shf) ((shf)->errnosv) argument
1421 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR)) argument
1445 struct shf { struct
1460 extern struct shf shf_iob[]; argument
1873 struct shf *shf; member
1902 struct shf *shf; member
2221 void quitenv(struct shf *);
2289 void print_value_quoted(struct shf *, const char *);
2318 struct shf *shf_open(const char *, int, int, int);
2319 struct shf *shf_fdopen(int, int, struct shf *);
2320 struct shf *shf_reopen(int, int, struct shf *);
2321 struct shf *shf_sopen(char *, ssize_t, int, struct shf *);
2322 int shf_close(struct shf *);
2323 int shf_fdclose(struct shf *);
2324 char *shf_sclose(struct shf *);
2325 int shf_flush(struct shf *);
2326 ssize_t shf_read(char *, ssize_t, struct shf *);
2327 char *shf_getse(char *, ssize_t, struct shf *);
2328 int shf_getchar(struct shf *s);
2329 int shf_ungetc(int, struct shf *);
2331 int shf_getc(struct shf *);
2332 int shf_putc(int, struct shf *);
2337 int shf_putchar(int, struct shf *);
2338 ssize_t shf_puts(const char *, struct shf *);
2339 ssize_t shf_write(const char *, ssize_t, struct shf *);
2340 ssize_t shf_fprintf(struct shf *, const char *, ...)
2347 ssize_t shf_vfprintf(struct shf *, const char *, va_list)
2356 void fptreef(struct shf *, int, const char *, ...);
2364 void dumpchar(struct shf *, int);
2365 void dumptree(struct shf *, struct op *);
2366 void dumpwdvar(struct shf *, const char *);
2367 void dumpioact(struct shf *shf, struct op *t);
2370 void fpFUNCTf(struct shf *, int, bool, const char *, struct op *);