head 1.1; branch 1.1.1; access; symbols SFIO_1999:1.1.1.2 SFIO_1998:1.1.1.2 SFIO_1997:1.1.1.1 ATT:1.1.1; locks; strict; comment @ * @; 1.1 date 96.11.22.02.18.35; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 96.11.22.02.18.35; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 97.03.17.02.12.01; author rse; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @#define _in_stdextern 1 #include "sfstdio.h" #if _do_iob || _do_sf #if _do_iob FILE _iob[_NFILE] = #else FILE _sf[_NFILE] = #endif { _STDIO_INIT(0), _STDIO_INIT(1), _STDIO_INIT(2) }; #else /* Linux */ FILE _IO_stdin_ = _STDIO_INIT(0); FILE _IO_stdout_ = _STDIO_INIT(1); FILE _IO_stderr_ = _STDIO_INIT(2); #endif @ 1.1.1.1 log @Import of Sfio1997 @ text @@ 1.1.1.2 log @Import of Sfio1998 @ text @d4 1 a5 1 #define _have_streams 1 d7 2 a8 4 { _STDIO_INIT(0), _STDIO_INIT(1), _STDIO_INIT(2) }; a9 3 #if _do_sf && !_have_streams /* BSDI2.0 */ FILE _sf[_NFILE] = a13 1 #endif d15 1 a15 9 #if _do_swbuf && _do_srget && !_have_streams /*BSDI3.0*/ #define _have_streams 1 FILE __sstdin = _STDIO_INIT(0); FILE __sstdout = _STDIO_INIT(1); FILE __sstderr = _STDIO_INIT(2); #endif #if !_have_streams /*Linux*/ #define _have_streams 1 d19 1 @