Home
last modified time | relevance | path

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

/external/mksh/src/
Dshf.c292 if (shf->flags & SHF_ERROR) { in shf_flush()
323 if (shf->flags & SHF_ERROR) { in shf_emptybuf()
365 shf->flags |= SHF_ERROR; in shf_emptybuf()
409 if (shf->flags & (SHF_EOF | SHF_ERROR)) { in shf_fillbuf()
410 if (shf->flags & SHF_ERROR) in shf_fillbuf()
428 shf->flags |= SHF_ERROR; in shf_fillbuf()
541 if ((shf->flags & SHF_ERROR) || c == EOF || in shf_ungetc()
587 if (shf->flags & SHF_ERROR) { in shf_putchar()
596 shf->flags |= SHF_ERROR; in shf_putchar()
670 shf->flags |= SHF_ERROR; in shf_write()
Dsh.h906 #define shf_error(shf) ((shf)->flags & SHF_ERROR)
908 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR))
926 #define SHF_ERROR 0x0800 /* read()/write() error */ macro