Searched refs:SHF_WRITING (Results 1 – 2 of 2) sorted by relevance
315 } else if (shf->flags & SHF_WRITING) in shf_flush()365 if (shf->flags & SHF_WRITING) { in shf_emptybuf()395 shf->flags &= ~SHF_WRITING; in shf_emptybuf()402 shf->flags |= SHF_WRITING; in shf_emptybuf()425 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == -1) in shf_fillbuf()576 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == -1) in shf_ungetc()
1728 #define SHF_WRITING 0x4000 /* currently writing: wnleft,wp valid */ macro