Searched refs:SHF_WRITING (Results 1 – 2 of 2) sorted by relevance
313 } else if (shf->flags & SHF_WRITING) in shf_flush()363 if (shf->flags & SHF_WRITING) { in shf_emptybuf()393 shf->flags &= ~SHF_WRITING; in shf_emptybuf()400 shf->flags |= SHF_WRITING; in shf_emptybuf()423 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == -1) in shf_fillbuf()573 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == -1) in shf_ungetc()
1442 #define SHF_WRITING 0x4000 /* currently writing: wnleft,wp valid */ macro