major stdio overhaul, using readv/writev, plus other changes
[musl] / src / stdio / stderr.c
1 #include "stdio_impl.h"
2
3 static unsigned char buf[UNGET];
4 static FILE f = {
5         .buf = buf+UNGET,
6         .buf_size = 0,
7         .fd = 2,
8         .flags = F_PERM | F_NORD,
9         .write = __stdio_write,
10         .seek = __stdio_seek,
11         .close = __stdio_close,
12 };
13 FILE *const stderr = &f;