utilize st_blksize field to optimize size of reads and writes
[unix-history] / usr / src / lib / libc / stdio / data.c
/* @(#)data.c 4.2 (Berkeley) %G% */
#include <stdio.h>
#include <sys/param.h>
char _sibuf[MAXBSIZE];
char _sobuf[MAXBSIZE];
struct _iobuf _iob[_NFILE] ={
{ 0, NULL, NULL, NULL, _IOREAD, 0},
{ 0, NULL, NULL, NULL, _IOWRT, 1},
{ 0, NULL, NULL, NULL, _IOWRT+_IONBF, 2},
};
/*
* Ptr to end of buffers
*/
struct _iobuf *_lastbuf ={ &_iob[_NFILE] };