Home
last modified time | relevance | path

Searched refs:SHF_WR (Results 1 – 10 of 10) sorted by relevance

/external/mksh/src/
Dshf.c89 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR); in shf_open()
113 sflags |= SHF_WR; in shf_open_hlp()
123 if (!(sflags & (SHF_RD | SHF_WR))) in shf_open_hlp()
201 if (!(!(sflags & SHF_RD) ^ !(sflags & SHF_WR))) in shf_sopen()
210 if (!buf && (sflags & SHF_WR) && (sflags & SHF_DYNAMIC)) { in shf_sopen()
278 if (shf->flags & SHF_WR) { in shf_sclose()
297 rv = (shf->flags & SHF_WR) ? -1 : 0; in shf_flush()
606 if (!(shf->flags & SHF_WR)) in shf_putchar()
662 if (!(shf->flags & SHF_WR)) in shf_write()
753 shf_sopen(buf, bsize, SHF_WR, &shf); in shf_snprintf()
[all …]
Dmain.c1060 shf_reopen(2, SHF_WR, shl_out); in quitenv()
1501 shf_fdopen(1, SHF_WR, shl_stdout); in initio()
1502 shf_fdopen(2, SHF_WR, shl_out); in initio()
1503 shf_fdopen(2, SHF_WR, shl_xtrace); in initio()
1522 shf_fdopen(shl_dbg_fd, SHF_WR, shl_dbg); in initio()
1791 j = SHF_WR; in maketemp()
Dtree.c455 shf_sopen(s, n, SHF_WR | (s ? 0 : SHF_DYNAMIC), &shf); in snptreef()
675 shf_sopen(NULL, 32, SHF_WR | SHF_DYNAMIC, &shf); in wdstrip()
Djobs.c195 shl_j = shf_fdopen(2, SHF_WR, NULL); in j_init()
1503 shf_reopen(fd, SHF_WR, shl_j); in check_job()
Dexec.c1389 shf_reopen(1, SHF_WR, shl_stdout); in call_builtin()
1578 shf_reopen(2, SHF_WR, shl_out); in iosetup()
Dsh.h1711 #define SHF_WR 0x0002 macro
1712 #define SHF_RDWR (SHF_RD | SHF_WR)
Dlex.c1492 SHF_WR | SHF_DYNAMIC, NULL); in set_prompt()
Deval.c816 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); in expand()
Dfuncs.c526 co.shf = shf_sopen(NULL, 128, SHF_WR | SHF_DYNAMIC, NULL); in c_print()
Dedit.c5712 shf_sopen(alloc(newlen, AEDIT), newlen, SHF_WR | SHF_DYNAMIC, &shf); in x_quote_region_helper()