fix behavior of printf with alt-form octal, zero precision, zero value
[oweals/musl.git] / 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         .lbf = -1,
10         .write = __stdio_write,
11         .seek = __stdio_seek,
12         .close = __stdio_close,
13         .lock = -1,
14 };
15 FILE *const stderr = &f;
16 FILE *volatile __stderr_used = &f;