Lines Matching refs:SHF_WR
87 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR); in shf_open()
111 sflags |= SHF_WR; in shf_open_hlp()
121 if (!(sflags & (SHF_RD | SHF_WR))) in shf_open_hlp()
199 if (!(!(sflags & SHF_RD) ^ !(sflags & SHF_WR))) in shf_sopen()
207 if (!buf && (sflags & SHF_WR) && (sflags & SHF_DYNAMIC)) { in shf_sopen()
275 if (shf->flags & SHF_WR) { in shf_sclose()
292 return ((shf->flags & SHF_WR) ? -1 : 0); in shf_flush()
580 if (!(shf->flags & SHF_WR)) in shf_putchar()
635 if (!(shf->flags & SHF_WR)) in shf_write()
725 shf_sopen(buf, bsize, SHF_WR, &shf); in shf_snprintf()
740 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); in shf_smprintf()