Home
last modified time | relevance | path

Searched refs:SHF_RD (Results 1 – 4 of 4) sorted by relevance

/third_party/mksh/
Dshf.c56 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_open()
88 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
110 sflags |= SHF_RD; in shf_open_hlp()
123 if (!(sflags & (SHF_RD | SHF_WR))) in shf_open_hlp()
133 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_fdopen()
168 sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; in shf_reopen()
201 if (!(!(sflags & SHF_RD) ^ !(sflags & SHF_WR))) in shf_sopen()
459 if (!(shf->flags & SHF_RD)) in shf_read()
497 if (!(shf->flags & SHF_RD)) in shf_getse()
551 if (!(shf->flags & SHF_RD)) in shf_getchar()
[all …]
Dmain.c558 s->u.shf = shf_fdopen(0, SHF_RD | can_seek(0), in main_init()
1800 j = SHF_RD; in maketemp()
Dsh.h1708 #define SHF_RD 0x0001 macro
1710 #define SHF_RDWR (SHF_RD | SHF_WR)
Deval.c1621 shf = shf_fdopen(pv[0], SHF_RD, NULL); in comsub()