Files
Arquivotheca.SunOS-4.1.3/lib/libc/stdio/common/iob.c
seta75D 2e8a93c394 Init
2021-10-11 18:20:23 -03:00

25 lines
736 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)iob.c 1.1 92/07/30 SMI"; /* from Sun */
#endif
#include <stdio.h>
#include "iob.h"
FILE _iob[NSTATIC] = {
#if pdp11
{ NULL, 0, NULL, 0, _IOREAD, 0 }, /* stdin */
{ NULL, 0, NULL, 0, _IOWRT, 1 }, /* stdout */
{ NULL, 0, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
#else
#if u370
{ NULL, 0, NULL, 0, _IOREAD, 0 }, /* stdin */
{ NULL, 0, NULL, 0, _IOWRT, 1 }, /* stdout */
{ NULL, 0, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
#else /* just about every other UNIX system in existence */
{ 0, NULL, NULL, 0, _IOREAD, 0 }, /* stdin */
{ 0, NULL, NULL, 0, _IOWRT, 1 }, /* stdout */
{ 0, NULL, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
#endif
#endif
};