new copyright; att/bsd/shared
[unix-history] / usr / src / usr.bin / pascal / src / iorec.h
CommitLineData
0fc6e47b
KB
1/*-
2 * Copyright (c) 1980 The Regents of the University of California.
3 * All rights reserved.
252367af 4 *
0fc6e47b
KB
5 * %sccs.include.redist.c%
6 *
7 * @(#)iorec.h 5.2 (Berkeley) %G%
252367af 8 */
b378d11d
PK
9
10#include <stdio.h>
11#define NAMSIZ 76
12
13struct iorec {
14 char *fileptr; /* ptr to file window */
15 long lcount; /* number of lines printed */
16 long llimit; /* maximum number of text lines */
17 FILE *fbuf; /* FILE ptr */
18 struct iorec *fchain; /* chain to next file */
19 long *flev; /* ptr to associated file variable */
20 char *pfname; /* ptr to name of file */
21 long funit; /* file status flags */
22 long size; /* size of elements in the file */
23 char fname[NAMSIZ]; /* name of associated UNIX file */
24 char buf[BUFSIZ]; /* I/O buffer */
25 char window[1]; /* file window element */
26};