source:
trunk/sys/dietlibc/stderr.c
@
74
Last change on this file since 74 was 1, checked in by , 8 years ago | |
---|---|
File size: 342 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include "dietstdio.h" |
2 | ||
3 | static FILE __stderr = { | |
4 | .fd=2, | |
5 | .flags=NOBUF|CANWRITE, | |
6 | .bs=0, .bm=0, | |
7 | .buflen=0, | |
8 | .buf=0, | |
9 | .next=0, | |
10 | .popen_kludge=0, | |
11 | .ungetbuf=0, | |
12 | .ungotten=0, | |
13 | #ifdef WANT_THREAD_SAFE | |
14 | .m=PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, | |
15 | #endif | |
16 | }; | |
17 | ||
18 | FILE *stderr=&__stderr; | |
19 | ||
20 | int __fflush_stderr(void) { | |
21 | return fflush(stderr); | |
22 | } |
Note: See TracBrowser
for help on using the repository browser.