aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/stdio.h
blob: 3318ef917ace9bff085f2348faf2690e64759826 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MELVIX_STDIO_H
#define MELVIX_STDIO_H

#include <stdarg.h>

void putch(char c);

int sprintf(char *str, const char *fmt, ...);
void vprintf(const char *fmt, va_list args);
int vsprintf(char *str, const char *fmt, va_list args);
void printf(const char *fmt, ...);

void serial_vprintf(const char *fmt, va_list args);
void serial_printf(const char *fmt, ...);

#endif