2020-11-30 06:32:12 -05:00
|
|
|
#ifndef KERNAUX_INCLUDED_CONSOLE
|
|
|
|
#define KERNAUX_INCLUDED_CONSOLE 1
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-12-16 10:26:16 -05:00
|
|
|
#include <stddef.h>
|
|
|
|
|
2020-11-30 06:32:12 -05:00
|
|
|
void kernaux_console_print(const char *s);
|
2020-12-05 23:45:48 -05:00
|
|
|
void kernaux_console_printf(const char *format, ...)
|
|
|
|
__attribute__((format(printf, 1, 2)));
|
2020-11-30 06:32:12 -05:00
|
|
|
void kernaux_console_putc(char c);
|
|
|
|
void kernaux_console_puts(const char *s);
|
2021-12-16 10:26:16 -05:00
|
|
|
void kernaux_console_write(const char *data, size_t size);
|
2020-11-30 06:32:12 -05:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|