Home
last modified time | relevance | path

Searched refs:SHF_ERROR (Results 1 – 2 of 2) sorted by relevance

/external/mksh/src/
Dshf.c294 if (shf->flags & SHF_ERROR) { in shf_flush()
324 if (shf->flags & SHF_ERROR) { in shf_emptybuf()
364 shf->flags |= SHF_ERROR; in shf_emptybuf()
404 if (shf->flags & (SHF_EOF | SHF_ERROR)) { in shf_fillbuf()
405 if (shf->flags & SHF_ERROR) in shf_fillbuf()
426 shf->flags |= SHF_ERROR; in shf_fillbuf()
535 if ((shf->flags & SHF_ERROR) || c == EOF || in shf_ungetc()
579 if (shf->flags & SHF_ERROR) { in shf_putchar()
588 shf->flags |= SHF_ERROR; in shf_putchar()
661 shf->flags |= SHF_ERROR; in shf_write()
Dsh.h844 #define shf_error(shf) ((shf)->flags & SHF_ERROR)
846 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR))
864 #define SHF_ERROR 0x0800 /* read()/write() error */ macro