summaryrefslogtreecommitdiff
path: root/src/user/lib/libc/include/stdio.h
blob: f19ce60f9ab7981f1700d539050469dfe095cb88 (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 DEF_STDIO_H
#define DEF_STDIO_H

#include <stdarg.h>
#include <tce/syscall.h>

#ifdef __cplusplus
extern "C" { namespace libc {
#endif

extern FILE term;

void print(const char *s);
void printf(const char *s, ...);
char *readln();

void fprint(FILE f, const char *s);
void fprintf(FILE f, const char *s, ...);
void vfprintf(FILE f, const char *s, va_list arg);

#ifdef __cplusplus
} }
#endif


#endif