xref: /csrg-svn/lib/libc/stdio/data.c (revision 22127)
1*22127Smckusick /*
2*22127Smckusick  * Copyright (c) 1985 Regents of the University of California.
3*22127Smckusick  * All rights reserved.  The Berkeley software License Agreement
4*22127Smckusick  * specifies the terms and conditions for redistribution.
5*22127Smckusick  */
6*22127Smckusick 
7*22127Smckusick #ifndef lint
8*22127Smckusick static char sccsid[] = "@(#)data.c	5.1 (Berkeley) 06/05/85";
9*22127Smckusick #endif not lint
10*22127Smckusick 
111998Swnj #include <stdio.h>
128326Smckusick #include <sys/param.h>
131998Swnj 
141998Swnj struct	_iobuf	_iob[_NFILE] ={
158326Smckusick 	{ 0, NULL, NULL, NULL, _IOREAD, 0},
168326Smckusick 	{ 0, NULL, NULL, NULL, _IOWRT, 1},
178326Smckusick 	{ 0, NULL, NULL, NULL, _IOWRT+_IONBF, 2},
181998Swnj };
191998Swnj /*
201998Swnj  * Ptr to end of buffers
211998Swnj  */
221998Swnj struct	_iobuf	*_lastbuf ={ &_iob[_NFILE] };
23