• Home
  • Raw
  • Download

Lines Matching refs:shf

883 	struct shf *shf;  member
1097 #define shf_fileno(shf) ((shf)->fd) argument
1098 #define shf_setfileno(shf,nfd) ((shf)->fd = (nfd)) argument
1099 #define shf_getc_i(shf) ((shf)->rnleft > 0 ? \ argument
1100 (shf)->rnleft--, *(shf)->rp++ : \
1101 shf_getchar(shf))
1102 #define shf_putc_i(c, shf) ((shf)->wnleft == 0 ? \ argument
1103 shf_putchar((c), (shf)) : \
1104 ((shf)->wnleft--, *(shf)->wp++ = (c)))
1105 #define shf_eof(shf) ((shf)->flags & SHF_EOF) argument
1106 #define shf_error(shf) ((shf)->flags & SHF_ERROR) argument
1107 #define shf_errno(shf) ((shf)->errnosv) argument
1108 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR)) argument
1132 struct shf { struct
1147 extern struct shf shf_iob[]; argument
1557 struct shf *shf; /* shell file */ member
1872 void quitenv(struct shf *);
1940 void print_value_quoted(struct shf *, const char *);
1942 void print_columns(struct shf *, unsigned int,
1961 struct shf *shf_open(const char *, int, int, int);
1962 struct shf *shf_fdopen(int, int, struct shf *);
1963 struct shf *shf_reopen(int, int, struct shf *);
1964 struct shf *shf_sopen(char *, ssize_t, int, struct shf *);
1965 int shf_close(struct shf *);
1966 int shf_fdclose(struct shf *);
1967 char *shf_sclose(struct shf *);
1968 int shf_flush(struct shf *);
1969 ssize_t shf_read(char *, ssize_t, struct shf *);
1970 char *shf_getse(char *, ssize_t, struct shf *);
1971 int shf_getchar(struct shf *s);
1972 int shf_ungetc(int, struct shf *);
1974 int shf_getc(struct shf *);
1975 int shf_putc(int, struct shf *);
1980 int shf_putchar(int, struct shf *);
1981 ssize_t shf_puts(const char *, struct shf *);
1982 ssize_t shf_write(const char *, ssize_t, struct shf *);
1983 ssize_t shf_fprintf(struct shf *, const char *, ...)
1990 ssize_t shf_vfprintf(struct shf *, const char *, va_list)
2000 void fptreef(struct shf *, int, const char *, ...);
2008 void dumpchar(struct shf *, int);
2009 void dumptree(struct shf *, struct op *);
2010 void dumpwdvar(struct shf *, const char *);
2011 void dumpioact(struct shf *shf, struct op *t);
2014 void fpFUNCTf(struct shf *, int, bool, const char *, struct op *);