summaryrefslogtreecommitdiff
path: root/src/user/lib/libc/include/stdio.h
blob: d93ebf0dd05acbb7de7aa6fb19cc19686a6d37a1 (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
27
28
29
#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(char *s);
void printf(char *s, ...);
char *readln();

void fprint(FILE f, char *s);
void fprint_int(FILE f, int number);
void fprint_hex(FILE f, unsigned number);
void fprintf(FILE f, char *s, ...);

void vfprintf(FILE f, char *s, va_list arg);

#ifdef __cplusplus
} }
#endif


#endif