xref: /original-bsd/lib/libc/stdio/data.c (revision f0fd5f8a)
1 /* @(#)data.c	4.2 (Berkeley) 10/05/82 */
2 #include <stdio.h>
3 #include <sys/param.h>
4 char	_sibuf[MAXBSIZE];
5 char	_sobuf[MAXBSIZE];
6 
7 struct	_iobuf	_iob[_NFILE] ={
8 	{ 0, NULL, NULL, NULL, _IOREAD, 0},
9 	{ 0, NULL, NULL, NULL, _IOWRT, 1},
10 	{ 0, NULL, NULL, NULL, _IOWRT+_IONBF, 2},
11 };
12 /*
13  * Ptr to end of buffers
14  */
15 struct	_iobuf	*_lastbuf ={ &_iob[_NFILE] };
16