summaryrefslogblamecommitdiff
path: root/src/user/lib/libc/include/stdio.h
blob: d93ebf0dd05acbb7de7aa6fb19cc19686a6d37a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                   
                   
                        
 



                             





                          




                                         
                                            
 



                  

      
#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