projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add legacy sys/ttydefaults.h header
[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 *const __stderr_used = &f;