source: trunk/sys/dietlibc/stderr.c @ 274

Last change on this file since 274 was 1, checked in by alain, 8 years ago

First import

File size: 342 bytes
RevLine 
[1]1#include "dietstdio.h"
2
3static 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
18FILE *stderr=&__stderr;
19
20int __fflush_stderr(void) {
21  return fflush(stderr);
22}
Note: See TracBrowser for help on using the repository browser.