Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / libcc.ansi / stdio / data.c
1 /*
2  * data.c - this is the initialization for the standard streams
3  */
4 /* $Id: data.c,v 1.4 1994/06/24 11:48:19 ceriel Exp $ */
5
6 #include        <stdio.h>
7
8 struct __iobuf __stdin = {
9         0, 0, _IOREAD, 0,
10         (unsigned char *)NULL, (unsigned char *)NULL, 
11 };
12
13 struct __iobuf __stdout = {
14         0, 1, _IOWRITE, 0,
15         (unsigned char *)NULL, (unsigned char *)NULL, 
16 };
17
18 struct __iobuf __stderr = {
19         0, 2, _IOWRITE | _IOLBF, 0,
20         (unsigned char *)NULL, (unsigned char *)NULL, 
21 };
22
23 FILE *__iotab[FOPEN_MAX] = {
24         &__stdin,
25         &__stdout,
26         &__stderr,
27         0
28 };