Searched refs:SHF_ERROR (Results 1 – 2 of 2) sorted by relevance
297 if (shf->flags & SHF_ERROR) { in shf_flush()328 if (shf->flags & SHF_ERROR) { in shf_emptybuf()370 shf->flags |= SHF_ERROR; in shf_emptybuf()414 if (shf->flags & (SHF_EOF | SHF_ERROR)) { in shf_fillbuf()415 if (shf->flags & SHF_ERROR) in shf_fillbuf()433 shf->flags |= SHF_ERROR; in shf_fillbuf()546 if ((shf->flags & SHF_ERROR) || c == EOF || in shf_ungetc()592 if (shf->flags & SHF_ERROR) { in shf_putchar()601 shf->flags |= SHF_ERROR; in shf_putchar()675 shf->flags |= SHF_ERROR; in shf_write()
1050 #define shf_error(shf) ((shf)->flags & SHF_ERROR)1052 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR))1070 #define SHF_ERROR 0x0800 /* read()/write() error */ macro