Searched defs:fbuf (Results 1 - 1 of 1) sorted by relevance
/ast/src/cmd/mailx/ |
H A D | quit.c | 331 FILE* fbuf; local 366 if (!(fbuf = fileopen(state.path.mail, "r+"))) 369 filelock(state.path.mail, fbuf, 1); 373 if (!(rbuf = fileopen(state.tmp.more, "w")) || !fbuf) 376 fseek(fbuf, state.mailsize, SEEK_SET); 377 filecopy(NiL, fbuf, NiL, rbuf, NiL, (off_t)0, NiL, NiL, 0); 379 if (filecopy(NiL, fbuf, NiL, rbuf, NiL, (off_t)(size - state.mailsize), NiL, NiL, 0)) 389 fbuf = 0; 438 if (fbuf) 439 fileclose(fbuf); [all...] |
Completed in 6 milliseconds