SHF_WRITING
} else if (shf->flags & SHF_WRITING)
if (shf->flags & SHF_WRITING) {
shf->flags &= ~SHF_WRITING;
shf->flags |= SHF_WRITING;
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)