Lines Matching defs:obuf
74 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf;
207 (obuf = Fdopen(fd, "w")) == NULL) {
215 (void)Fclose(obuf);
222 (void)putc(c, obuf);
225 if (ferror(obuf)) {
228 (void)Fclose(obuf);
232 (void)Fclose(obuf);
235 if ((obuf = Fopen(mbox, "r+")) == NULL) {
243 if ((obuf = Fopen(mbox, "a")) == NULL) {
248 (void)fchmod(fileno(obuf), 0600);
252 if (sendmessage(mp, obuf, saveignore, NULL) < 0) {
255 (void)Fclose(obuf);
270 (void)putc(c, obuf);
271 if (ferror(obuf))
277 (void)fflush(obuf);
278 trunc(obuf);
279 if (ferror(obuf)) {
281 (void)Fclose(obuf);
285 (void)Fclose(obuf);
342 FILE *obuf;
345 if ((obuf = Fopen(mailname, "r+")) == NULL) {
352 (void)putc(c, obuf);
357 if (sendmessage(mp, obuf, NULL, NULL) < 0) {
359 (void)Fclose(obuf);
366 (void)putc(c, obuf);
368 (void)fflush(obuf);
369 trunc(obuf);
370 if (ferror(obuf)) {
372 (void)Fclose(obuf);
377 (void)Fclose(obuf);
395 FILE *obuf, *ibuf, *readstat;
431 (obuf = Fdopen(fd, "w")) == NULL) {
438 (void)Fclose(obuf);
445 (void)putc(c, obuf);
447 (void)Fclose(obuf);
458 if ((obuf = Fopen(mailname, "r+")) == NULL) {
463 trunc(obuf);
469 if (sendmessage(mp, obuf, NULL, NULL) < 0) {
478 (void)putc(c, obuf);
481 (void)fflush(obuf);
482 if (ferror(obuf)) {
487 (void)Fclose(obuf);