1: char    *sccsid = "@(#)rfc678.c	4.1 (Berkeley) 4.1";
   2: 
   3: #include <stdio.h>
   4: 
   5: char linebuf[1024];
   6: /*
   7:  * rfc678
   8:  */
   9: main()
  10: {
  11:     register char *cp;
  12:     int lineno = 0;
  13: 
  14:     while (gets(linebuf)) {
  15:         for (cp = linebuf; *cp; cp++)
  16:             if (*cp == 010) {
  17:                 strcpy(cp-1, cp+1);
  18:                 cp -= 2;
  19:             }
  20:         if (++lineno <= 59)
  21:             printf("%s\n", linebuf);
  22:         else if (lineno == 60)
  23:             printf("%s\f\n", linebuf);
  24:         lineno %= 66;
  25:     }
  26: }

Defined functions

main defined in line 9; never used

Defined variables

linebuf defined in line 5; used 4 times
sccsid defined in line 1; never used
Last modified: 1982-10-22
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 957
Valid CSS Valid XHTML 1.0 Strict