Searched refs:SHF_WR (Results 1 – 9 of 9) sorted by relevance
/external/mksh/src/ |
D | shf.c | 89 ((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 …]
|
D | main.c | 1023 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()
|
D | tree.c | 455 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()
|
D | jobs.c | 194 shl_j = shf_fdopen(2, SHF_WR, NULL); in j_init() 1502 shf_reopen(fd, SHF_WR, shl_j); in check_job()
|
D | exec.c | 1395 shf_reopen(1, SHF_WR, shl_stdout); in call_builtin() 1584 shf_reopen(2, SHF_WR, shl_out); in iosetup()
|
D | sh.h | 1639 #define SHF_WR 0x0002 macro 1640 #define SHF_RDWR (SHF_RD|SHF_WR)
|
D | lex.c | 1493 SHF_WR | SHF_DYNAMIC, NULL); in set_prompt()
|
D | eval.c | 446 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); in expand()
|
D | funcs.c | 529 co.shf = shf_sopen(NULL, 128, SHF_WR | SHF_DYNAMIC, NULL); in c_print()
|