data.c

Go to the documentation of this file.
00001 /*
00002  * data.c - this is the initialization for the standard streams
00003  */
00004 /* $Header: /opt/proj/minix/cvsroot/src/lib/stdio/data.c,v 1.1.1.1 2005/04/21 14:56:34 beng Exp $ */
00005 
00006 #include        <stdio.h>
00007 
00008 struct __iobuf __stdin = {
00009         0, 0, _IOREAD, 0,
00010         (unsigned char *)NULL, (unsigned char *)NULL, 
00011 };
00012 
00013 struct __iobuf __stdout = {
00014         0, 1, _IOWRITE, 0,
00015         (unsigned char *)NULL, (unsigned char *)NULL, 
00016 };
00017 
00018 struct __iobuf __stderr = {
00019         0, 2, _IOWRITE | _IOLBF, 0,
00020         (unsigned char *)NULL, (unsigned char *)NULL, 
00021 };
00022 
00023 FILE *__iotab[FOPEN_MAX] = {
00024         &__stdin,
00025         &__stdout,
00026         &__stderr,
00027         0
00028 };

Generated on Fri Apr 14 22:57:27 2006 for minix by  doxygen 1.4.6