1: /* Copyright (c) 1979 Regents of the University of California */
   2: 
   3: static char sccsid[] = "@(#)APPEND.c 1.2 6/10/81";
   4: 
   5: #include "h00vars.h"
   6: 
   7: APPEND(filep)
   8: 
   9:     register struct iorec   *filep;
  10: {
  11:     filep = GETNAME (filep, 0, 0, 0);
  12:     filep->fbuf = fopen(filep->fname, "a");
  13:     if (filep->fbuf == NULL) {
  14:         PERROR("Could not open ", filep->pfname);
  15:         return;
  16:     }
  17:     filep->funit |= (EOFF | FWRITE);
  18:     if (filep->fblk > PREDEF) {
  19:         setbuf(filep->fbuf, &filep->buf[0]);
  20:     }
  21: }

Defined functions

APPEND defined in line 7; used 2 times

Defined variables

sccsid defined in line 3; never used
Last modified: 1983-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 914
Valid CSS Valid XHTML 1.0 Strict