blob: 7b5f144c978ac1bd6e3ded33b737cf3431958701 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef _STDIO_H_
#define _STDIO_H_
#include <stdarg.h>
#include <string.h>
#include <kernel/tty.h>
#include <printf_internal.h>
#include <kernel/serial.h>
#define EOF (-1)
int printf(const char* format, ...);
int sprintf(char* buf, const char* format, ...);
int print(const char* str);
int putc(const char c);
char getc(void); //for now void
class Debug
{
public:
static void set_serial_debug(bool state);
};
#endif
|