Home
last modified time | relevance | path

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

/external/mksh/src/
Dshf.c87 ((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()
208 if (!buf && (sflags & SHF_WR) && (sflags & SHF_DYNAMIC)) { in shf_sopen()
276 if (shf->flags & SHF_WR) { in shf_sclose()
293 return ((shf->flags & SHF_WR) ? -1 : 0); in shf_flush()
585 if (!(shf->flags & SHF_WR)) in shf_putchar()
641 if (!(shf->flags & SHF_WR)) in shf_write()
732 shf_sopen(buf, bsize, SHF_WR, &shf); in shf_snprintf()
[all …]
Dmain.c972 shf_reopen(2, SHF_WR, shl_out); in quitenv()
1382 shf_fdopen(1, SHF_WR, shl_stdout); in initio()
1383 shf_fdopen(2, SHF_WR, shl_out); in initio()
1384 shf_fdopen(2, SHF_WR, shl_xtrace); in initio()
1403 shf_fdopen(shl_dbg_fd, SHF_WR, shl_dbg); in initio()
1668 j = SHF_WR; in maketemp()
Dtree.c441 shf_sopen(s, n, SHF_WR | (s ? 0 : SHF_DYNAMIC), &shf); in snptreef()
658 shf_sopen(NULL, 32, SHF_WR | SHF_DYNAMIC, &shf); in wdstrip()
Dexec.c1325 shf_reopen(1, SHF_WR, shl_stdout); in call_builtin()
1509 shf_reopen(2, SHF_WR, shl_out); in iosetup()
Djobs.c187 shl_j = shf_fdopen(2, SHF_WR, NULL); in j_init()
1489 shf_reopen(fd, SHF_WR, shl_j); in check_job()
Dsh.h1385 #define SHF_WR 0x0002 macro
1386 #define SHF_RDWR (SHF_RD|SHF_WR)
Dlex.c1472 SHF_WR | SHF_DYNAMIC, NULL); in set_prompt()
Deval.c429 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); in expand()
Dfuncs.c538 co.shf = shf_sopen(NULL, 128, SHF_WR | SHF_DYNAMIC, NULL); in c_print()