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


                   

                   





                          




                                         

                                             
                      

      
#ifndef DEF_STDIO_H
#define DEF_STDIO_H

#include <stdarg.h>

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 vsfprintf(FILE f, char *s, va_list arg);

char* freadln(FILE f);

#endif