PowerBlocks SDK
 
Loading...
Searching...
No Matches
libcio.c File Reference

Adds standard IO to libc. More...

#include <stdio.h>
#include "utils/console.h"

Variables

FILE static_stdout
 
FILE *const stdout = &static_stdout
 

Detailed Description

Adds standard IO to libc.

Adds standard IO to libc.

Author
Samuel Fitzsimons (rainbain)
Date
2025 @license MIT (see LICENSE file)

Variable Documentation

◆ static_stdout

FILE static_stdout
Initial value:
= {
.unget = 0,
.flags = __SRD | __SWR,
.put = libc_put,
.get = libc_get,
.flush = libc_flush
}