blob: 844c81784a4e263783f84d0777d728a0f196db9f (
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
|
#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);
class Debug
{
public:
static void set_serial_debug(bool state);
};
#endif
|