Searched refs:fileopen (Results 1 - 14 of 14) sorted by relevance
/ast/src/cmd/mailx/ |
H A D | quit.c | 138 news = state.var.news && *state.var.news ? fileopen(state.var.news, "w") : (FILE*)0; 172 if (obuf = fileopen(move, "Ew")) { 196 if (!(obuf = fileopen(temp, "Ew"))) { 200 if (!(ibuf = fileopen(state.path.mail, "Er"))) { 210 if (!(ibuf = fileopen(temp, "Er"))) { 219 if (!(obuf = fileopen(state.path.mail, "Er+"))) { 273 if (!(obuf = fileopen(state.path.mail, "Er+"))) 366 if (!(fbuf = fileopen(state.path.mail, "r+"))) 373 if (!(rbuf = fileopen(state.tmp.more, "w")) || !fbuf) 383 if (!(rbuf = fileopen(stat [all...] |
H A D | edit.c | 164 if (!(ep = fileopen(state.tmp.edit, "EMw"))) 198 if (!(ep = fileopen(state.tmp.edit, "Ea+"))) 203 if (!(ep = fileopen(state.tmp.edit, "EMa+")))
|
H A D | collect.c | 161 if (!(of = fileopen(name, "Ew"))) 203 if (!(nf = fileopen(state.tmp.edit, "Ew+"))) 387 if (!(state.collect.fp = fileopen(state.tmp.mail, "Ew+"))) 500 if (state.var.signature && (fp = fileopen(state.var.signature, "EXr"))) { 535 if (!(fp = fileopen(s, "ERr"))) 588 else if (!(fp = iscmd(s) ? pipeopen(s + 1, "r") : fileopen(s, "ERr"))) 756 if (fp = fileopen(state.tmp.edit, "EMw+")) { 811 if (filesize(fp) && (s = deadletter()) && (dp = fileopen(s, "Ma"))) {
|
H A D | send.c | 101 if (!(tp = fileopen(state.tmp.more, "Ew"))) 118 if (!(tp = fileopen(state.tmp.more, "Ew"))) 302 if (!(nfo = fileopen(state.tmp.mail, "Ew"))) 304 if (!(nfi = fileopen(state.tmp.mail, "Er"))) { 336 if (fp = fileopen(name, "Ea")) { 416 if (!(fp = fileopen(state.tmp.edit, "Ew+"))) { 432 if (!(fp = fileopen(name, "Ea"))) {
|
H A D | lex.c | 114 if (!(state.msg.op = fileopen(state.tmp.mesg, "EIw"))) 116 if (!(state.msg.ip = fileopen(state.tmp.mesg, "EIr"))) 144 if (!(ibuf = fileopen(name, "Rr"))) { 219 if (!(fp = fileopen(state.path.mail, "r"))) 719 if (!(fp = fileopen(name, "r")))
|
H A D | fio.c | 271 if (fp = fileopen(struse(state.path.temp), "r")) { 326 if (fp = fileopen(struse(state.path.temp), "Ew")) { 382 if ((ent->fts_info & FTS_F) && (fp = fileopen(ent->fts_accpath, "Er"))) { 517 if (!(state.msg.ap = fileopen(struse(state.path.temp), "EIr")) && !(state.msg.ap = fileopen("/dev/null", "EIr")))
|
H A D | cmd2.c | 296 if (!(fp = fileopen(file, state.clobber ? "EMw" : "EMa"))) 331 if (fp = fileopen(temp, "MEw")) { 673 if (!(op = n ? pipeopen(s, "w") : fileopen(s, "ERw"))) 835 if (fp = fileopen(file, "Ew")) {
|
H A D | misc.c | 195 if (!(fp = fileopen(*arglist, "EXr")))
|
H A D | proc.c | 127 fileopen(char* file, char* mode) function 260 * Call this after fileopen() or filefd().
|
H A D | mailx.h | 660 struct file* files; /* fileopen() list */ 663 struct stat openstat; /* fileopen stat */ 942 extern FILE* fileopen(char*, char*);
|
H A D | vars.c | 122 if (fp = fileopen(s, "r")) {
|
H A D | cmd3.c | 718 if (fp = fileopen(name, "EXr")) {
|
H A D | imap.c | 1524 if (fp = fileopen(state.var.imap, "IRXr")) 2217 if (!(imap->copy.fp = n ? pipeopen(s, "w") : fileopen(s, "ERw"))) {
|
/ast/src/cmd/sort/ |
H A D | main.c | 294 Sfio_t* opened; /* fileopen() peek stream */ 363 fileopen(register Sort_t* sp, const char* path) function 769 if ((sp->opened = fileopen(sp, key->input[0])) && (s = sfreserve(sp->opened, SF_UNBOUND, SF_LOCKR))) 894 if (!(sp->opened = fileopen(sp, key->input[0]))) 1032 if (!(ip = fileopen(sp, file))) 1564 ip = fileopen(sp, file); 1686 fp = fileopen(&sort, s); 1704 fp = fileopen(&sort, s);
|
Completed in 64 milliseconds