xref: /original-bsd/lib/libc/stdio/data.c (revision 5e5b7b99)
1 /*
2  * Copyright (c) 1985 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 
7 #ifndef lint
8 static char sccsid[] = "@(#)data.c	5.1 (Berkeley) 06/05/85";
9 #endif not lint
10 
11 #include <stdio.h>
12 #include <sys/param.h>
13 
14 struct	_iobuf	_iob[_NFILE] ={
15 	{ 0, NULL, NULL, NULL, _IOREAD, 0},
16 	{ 0, NULL, NULL, NULL, _IOWRT, 1},
17 	{ 0, NULL, NULL, NULL, _IOWRT+_IONBF, 2},
18 };
19 /*
20  * Ptr to end of buffers
21  */
22 struct	_iobuf	*_lastbuf ={ &_iob[_NFILE] };
23