Home
last modified time | relevance | path

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

/external/mksh/src/
Dshf.c298 else if (shf->flags & SHF_ERROR) { in shf_flush()
306 shf->flags |= SHF_ERROR; in shf_flush()
331 if (shf->flags & SHF_ERROR) { in shf_emptybuf()
373 shf->flags |= SHF_ERROR; in shf_emptybuf()
417 if (shf->flags & (SHF_EOF | SHF_ERROR)) { in shf_fillbuf()
418 if (shf->flags & SHF_ERROR) in shf_fillbuf()
436 shf->flags |= SHF_ERROR; in shf_fillbuf()
569 if ((shf->flags & SHF_ERROR) || c == -1 || in shf_ungetc()
616 if (shf->flags & SHF_ERROR) { in shf_putchar()
625 shf->flags |= SHF_ERROR; in shf_putchar()
[all …]
Dsh.h1419 #define shf_error(shf) ((shf)->flags & SHF_ERROR)
1421 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR))
1439 #define SHF_ERROR 0x0800 /* read()/write() error */ macro