Cthulhu  0.2.10
Cthulhu compiler collection
console.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-only
2 
3 #pragma once
4 
5 #include <ctu_io_api.h>
6 
7 #include "core/compiler.h"
8 
10 
11 typedef struct io_t io_t;
12 
15 
19 CT_IO_API io_t *io_stdout(void);
20 
24 CT_IO_API io_t *io_stderr(void);
25 
27 
#define CT_BEGIN_API
Definition: compiler.h:129
#define CT_END_API
Definition: compiler.h:130
CT_IO_API io_t * io_stderr(void)
get the global stderr IO object
Definition: console.c:65
CT_IO_API io_t * io_stdout(void)
get the global stdout IO object
Definition: console.c:60
io object implementation
Definition: impl.h:122