EB_READSW
if (flags & EB_READSW) /* doesn't happen */
if (flags & EB_READSW) {
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)