BSD 3 development
[unix-history] / .ref-BSD-2 / src / libNS / data.c
/* Copyright (c) 1979 Regents of the University of California */
#include <stdio.h>
char _sibuf[BUFSIZ];
char _sobuf[BUFSIZ];
struct _iobuf _iob[_NFILE] = {
{ _sibuf, 0, _sibuf, _IOREAD, 0, 0},
{ NULL, 0, NULL, _IOWRT, 1, 0},
{ NULL, 0, NULL, _IOWRT+_IONBF, 2, 0},
};
/*
* Ptr to end of buffers
*/
struct _iobuf *_lastbuf = { &_iob[_NFILE] };