Lines Matching defs:obuf
72 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf;
205 (obuf = Fdopen(fd, "w")) == NULL) {
213 (void)Fclose(obuf);
220 (void)putc(c, obuf);
223 if (ferror(obuf)) {
226 (void)Fclose(obuf);
230 (void)Fclose(obuf);
232 if ((obuf = Fopen(mbox, "r+")) == NULL) {
240 if ((obuf = Fopen(mbox, "a")) == NULL) {
245 (void)fchmod(fileno(obuf), 0600);
249 if (sendmessage(mp, obuf, saveignore, NULL) < 0) {
252 (void)Fclose(obuf);
267 (void)putc(c, obuf);
268 if (ferror(obuf))
274 (void)fflush(obuf);
275 trunc(obuf);
276 if (ferror(obuf)) {
278 (void)Fclose(obuf);
282 (void)Fclose(obuf);
339 FILE *obuf;
342 if ((obuf = Fopen(mailname, "r+")) == NULL) {
349 (void)putc(c, obuf);
354 if (sendmessage(mp, obuf, NULL, NULL) < 0) {
356 (void)Fclose(obuf);
363 (void)putc(c, obuf);
365 (void)fflush(obuf);
366 trunc(obuf);
367 if (ferror(obuf)) {
369 (void)Fclose(obuf);
374 (void)Fclose(obuf);
392 FILE *obuf, *ibuf, *readstat;
428 (obuf = Fdopen(fd, "w")) == NULL) {
435 (void)Fclose(obuf);
442 (void)putc(c, obuf);
444 (void)Fclose(obuf);
455 if ((obuf = Fopen(mailname, "r+")) == NULL) {
460 trunc(obuf);
466 if (sendmessage(mp, obuf, NULL, NULL) < 0) {
475 (void)putc(c, obuf);
478 (void)fflush(obuf);
479 if (ferror(obuf)) {
484 (void)Fclose(obuf);