Searched refs:SHF_ERROR (Results 1 – 2 of 2) sorted by relevance
298 if (shf->flags & SHF_ERROR) { in shf_flush()329 if (shf->flags & SHF_ERROR) { in shf_emptybuf()371 shf->flags |= SHF_ERROR; in shf_emptybuf()415 if (shf->flags & (SHF_EOF | SHF_ERROR)) { in shf_fillbuf()416 if (shf->flags & SHF_ERROR) in shf_fillbuf()434 shf->flags |= SHF_ERROR; in shf_fillbuf()551 if ((shf->flags & SHF_ERROR) || c == -1 || in shf_ungetc()598 if (shf->flags & SHF_ERROR) { in shf_putchar()607 shf->flags |= SHF_ERROR; in shf_putchar()682 shf->flags |= SHF_ERROR; in shf_write()
1379 #define shf_error(shf) ((shf)->flags & SHF_ERROR)1381 #define shf_clearerr(shf) ((shf)->flags &= ~(SHF_EOF | SHF_ERROR))1399 #define SHF_ERROR 0x0800 /* read()/write() error */ macro