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