Searched refs:SHF_WRITING (Results 1 – 2 of 2) sorted by relevance
310 } else if (shf->flags & SHF_WRITING) in shf_flush()360 if (shf->flags & SHF_WRITING) { in shf_emptybuf()390 shf->flags &= ~SHF_WRITING; in shf_emptybuf()397 shf->flags |= SHF_WRITING; in shf_emptybuf()420 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == -1) in shf_fillbuf()550 if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == -1) in shf_ungetc()
1129 #define SHF_WRITING 0x4000 /* currently writing: wnleft,wp valid */ macro