add strdup for S5
[unix-history] / usr / src / lib / libc / stdio / data.c
CommitLineData
b8f253e8
KM
1/*
2 * Copyright (c) 1985 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
7#ifndef lint
8static char sccsid[] = "@(#)data.c 5.1 (Berkeley) %G%";
9#endif not lint
10
08922572 11#include <stdio.h>
f4c06a32 12#include <sys/param.h>
08922572
BJ
13
14struct _iobuf _iob[_NFILE] ={
f4c06a32
KM
15 { 0, NULL, NULL, NULL, _IOREAD, 0},
16 { 0, NULL, NULL, NULL, _IOWRT, 1},
17 { 0, NULL, NULL, NULL, _IOWRT+_IONBF, 2},
08922572
BJ
18};
19/*
20 * Ptr to end of buffers
21 */
22struct _iobuf *_lastbuf ={ &_iob[_NFILE] };