Searched refs:SHF_WR (Results 1 – 8 of 8) sorted by relevance
/external/mksh/src/ |
D | shf.c | 82 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR); in shf_open() 106 sflags |= SHF_WR; in shf_open_hlp() 116 if (!(sflags & (SHF_RD | SHF_WR))) in shf_open_hlp() 194 if (!(!(sflags & SHF_RD) ^ !(sflags & SHF_WR))) in shf_sopen() 202 if (!buf && (sflags & SHF_WR) && (sflags & SHF_DYNAMIC)) { in shf_sopen() 270 if (shf->flags & SHF_WR) { in shf_sclose() 287 return ((shf->flags & SHF_WR) ? EOF : 0); in shf_flush() 575 if (!(shf->flags & SHF_WR)) in shf_putchar() 630 if (!(shf->flags & SHF_WR)) in shf_write() 720 shf_sopen(buf, bsize, SHF_WR, &shf); in shf_snprintf() [all …]
|
D | main.c | 967 shf_reopen(2, SHF_WR, shl_out); in quitenv() 1365 shf_fdopen(1, SHF_WR, shl_stdout); in initio() 1366 shf_fdopen(2, SHF_WR, shl_out); in initio() 1367 shf_fdopen(2, SHF_WR, shl_spare); in initio() 1386 shf_fdopen(shl_dbg_fd, SHF_WR, shl_dbg); in initio() 1657 tp->shf = shf_fdopen(i, SHF_WR, NULL); in maketemp()
|
D | tree.c | 423 shf_sopen(s, n, SHF_WR | (s ? 0 : SHF_DYNAMIC), &shf); in snptreef() 636 shf_sopen(NULL, 32, SHF_WR | SHF_DYNAMIC, &shf); in wdstrip()
|
D | jobs.c | 190 shl_j = shf_fdopen(2, SHF_WR, NULL); in j_init() 1423 shf_reopen(fd, SHF_WR, shl_j); in check_job()
|
D | sh.h | 1040 #define SHF_WR 0x0002 macro 1041 #define SHF_RDWR (SHF_RD|SHF_WR)
|
D | exec.c | 1268 shf_reopen(1, SHF_WR, shl_stdout); in call_builtin() 1425 shf_reopen(2, SHF_WR, shl_out); in iosetup()
|
D | lex.c | 1475 SHF_WR | SHF_DYNAMIC, NULL); in set_prompt()
|
D | eval.c | 423 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); in expand()
|