15 lines
224 B
C
15 lines
224 B
C
#include "file.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
static struct __opaque_file __stdout = {
|
|
.f_fd = 1,
|
|
.f_flags = FILE_STATIC,
|
|
.f_buffer_mode = _IOLBF,
|
|
};
|
|
|
|
extern struct __opaque_file *__libc_file_stdout(void)
|
|
{
|
|
return &__stdout;
|
|
}
|