Home
last modified time | relevance | path

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

/third_party/mksh/
Dshf.c300 else if (shf->flags & SHF_ERROR) { in shf_flush()
308 shf->flags |= SHF_ERROR; in shf_flush()
333 if (shf->flags & SHF_ERROR) { in shf_emptybuf()
375 shf->flags |= SHF_ERROR; in shf_emptybuf()
419 if (shf->flags & (SHF_EOF | SHF_ERROR)) { in shf_fillbuf()
420 if (shf->flags & SHF_ERROR) in shf_fillbuf()
438 shf->flags |= SHF_ERROR; in shf_fillbuf()
572 if ((shf->flags & SHF_ERROR) || c == -1 || in shf_ungetc()
619 if (shf->flags & SHF_ERROR) { in shf_putchar()
628 shf->flags |= SHF_ERROR; in shf_putchar()
[all …]
Dsh.h1703 #define shf_error(shf) ((shf)->flags & SHF_ERROR)
1705 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR))
1723 #define SHF_ERROR 0x0800 /* read()/write() error */ macro