1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)iorec.h	5.1 (Berkeley) 6/5/85
   7:  */
   8: 
   9: #include <stdio.h>
  10: #define NAMSIZ 76
  11: 
  12: struct iorec {
  13:     char        *fileptr;   /* ptr to file window */
  14:     long        lcount;     /* number of lines printed */
  15:     long        llimit;     /* maximum number of text lines */
  16:     FILE        *fbuf;      /* FILE ptr */
  17:     struct iorec    *fchain;    /* chain to next file */
  18:     long        *flev;      /* ptr to associated file variable */
  19:     char        *pfname;    /* ptr to name of file */
  20:     long        funit;      /* file status flags */
  21:     long        size;       /* size of elements in the file */
  22:     char        fname[NAMSIZ];  /* name of associated UNIX file */
  23:     char        buf[BUFSIZ];    /* I/O buffer */
  24:     char        window[1];  /* file window element */
  25: };

Defined struct's

iorec defined in line 12; used 4 times

Defined macros

NAMSIZ defined in line 10; used 1 times
  • in line 22

Usage of this include

Last modified: 1985-06-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 827
Valid CSS Valid XHTML 1.0 Strict