blob: 42098960cfa3821cea4e097a181be44e710085fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <io.h>
#include <fcntl.h>
#include <unistd.h>
#define BUFSIZ 4096
struct __FILE __stderr = { .fd = STDERR_FILENO,
.flags = O_WRONLY,
.type = 0,
.buf = 0,
.buf_len = 0,
.buf_size = 0,
.buf_pos = 0,
.eof = 0,
.unget_cnt = 0,
.next = 0,
.offset = 0,
.lock = ATOMIC_FLAG_INIT };
struct FILE *const stderr = (struct FILE *)&__stderr;
|