Searched refs:SHF_WR (Results 1 – 7 of 7) 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 | 873 shf_reopen(2, SHF_WR, shl_out); in quitenv() 1226 shf_fdopen(1, SHF_WR, shl_stdout); in initio() 1227 shf_fdopen(2, SHF_WR, shl_out); in initio() 1229 shf_fdopen(2, SHF_WR, shl_spare); in initio() 1469 tp->shf = shf_fdopen(fd, SHF_WR, NULL); in maketemp()
|
D | tree.c | 394 shf_sopen(s, n, SHF_WR | (s ? 0 : SHF_DYNAMIC), &shf); in snptreef() 606 shf_sopen(NULL, 32, SHF_WR | SHF_DYNAMIC, &shf); in wdstrip()
|
D | sh.h | 912 #define SHF_WR 0x0002 macro 913 #define SHF_RDWR (SHF_RD|SHF_WR)
|
D | jobs.c | 185 shl_j = shf_fdopen(2, SHF_WR, NULL); in j_init() 1395 shf_reopen(fd, SHF_WR, shl_j); in check_job()
|
D | exec.c | 1254 shf_reopen(1, SHF_WR, shl_stdout); in call_builtin() 1410 shf_reopen(2, SHF_WR, shl_out); in iosetup()
|
D | lex.c | 1507 SHF_WR | SHF_DYNAMIC, NULL); in set_prompt()
|