Home
last modified time | relevance | path

Searched refs:SHF_WR (Results 1 – 9 of 9) 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()
605 if (!(shf->flags & SHF_WR)) in shf_putchar()
661 if (!(shf->flags & SHF_WR)) in shf_write()
752 shf_sopen(buf, bsize, SHF_WR, &shf); in shf_snprintf()
[all …]
Dmain.c1023 shf_reopen(2, SHF_WR, shl_out); in quitenv()
1431 shf_fdopen(1, SHF_WR, shl_stdout); in initio()
1432 shf_fdopen(2, SHF_WR, shl_out); in initio()
1433 shf_fdopen(2, SHF_WR, shl_xtrace); in initio()
1452 shf_fdopen(shl_dbg_fd, SHF_WR, shl_dbg); in initio()
1721 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.c194 shl_j = shf_fdopen(2, SHF_WR, NULL); in j_init()
1502 shf_reopen(fd, SHF_WR, shl_j); in check_job()
Dexec.c1395 shf_reopen(1, SHF_WR, shl_stdout); in call_builtin()
1584 shf_reopen(2, SHF_WR, shl_out); in iosetup()
Dsh.h1639 #define SHF_WR 0x0002 macro
1640 #define SHF_RDWR (SHF_RD|SHF_WR)
Dlex.c1493 SHF_WR | SHF_DYNAMIC, NULL); in set_prompt()
Deval.c446 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); in expand()
Dfuncs.c529 co.shf = shf_sopen(NULL, 128, SHF_WR | SHF_DYNAMIC, NULL); in c_print()