Lines Matching refs:obuf
66 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; in quit() local
199 (obuf = Fdopen(fd, "w")) == NULL) { in quit()
207 (void)Fclose(obuf); in quit()
214 (void)putc(c, obuf); in quit()
217 if (ferror(obuf)) { in quit()
220 (void)Fclose(obuf); in quit()
224 (void)Fclose(obuf); in quit()
227 if ((obuf = Fopen(mbox, "r+")) == NULL) { in quit()
235 if ((obuf = Fopen(mbox, "a")) == NULL) { in quit()
240 (void)fchmod(fileno(obuf), 0600); in quit()
244 if (sendmessage(mp, obuf, saveignore, NULL) < 0) { in quit()
247 (void)Fclose(obuf); in quit()
262 (void)putc(c, obuf); in quit()
263 if (ferror(obuf)) in quit()
269 (void)fflush(obuf); in quit()
270 trunc(obuf); in quit()
271 if (ferror(obuf)) { in quit()
273 (void)Fclose(obuf); in quit()
277 (void)Fclose(obuf); in quit()
334 FILE *obuf; in writeback() local
337 if ((obuf = Fopen(mailname, "r+")) == NULL) { in writeback()
344 (void)putc(c, obuf); in writeback()
349 if (sendmessage(mp, obuf, NULL, NULL) < 0) { in writeback()
351 (void)Fclose(obuf); in writeback()
358 (void)putc(c, obuf); in writeback()
360 (void)fflush(obuf); in writeback()
361 trunc(obuf); in writeback()
362 if (ferror(obuf)) { in writeback()
364 (void)Fclose(obuf); in writeback()
369 (void)Fclose(obuf); in writeback()
387 FILE *obuf, *ibuf, *readstat; in edstop() local
423 (obuf = Fdopen(fd, "w")) == NULL) { in edstop()
430 (void)Fclose(obuf); in edstop()
437 (void)putc(c, obuf); in edstop()
439 (void)Fclose(obuf); in edstop()
450 if ((obuf = Fopen(mailname, "r+")) == NULL) { in edstop()
455 trunc(obuf); in edstop()
461 if (sendmessage(mp, obuf, NULL, NULL) < 0) { in edstop()
470 (void)putc(c, obuf); in edstop()
473 (void)fflush(obuf); in edstop()
474 if (ferror(obuf)) { in edstop()
479 (void)Fclose(obuf); in edstop()