Subversion Repositories HelenOS-historic

Rev

Rev 985 | Rev 1301 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 985 Rev 1234
Line 28... Line 28...
28
 
28
 
29
#ifndef __LIBC__STDIO_H__
29
#ifndef __LIBC__STDIO_H__
30
#define __LIBC__STDIO_H__
30
#define __LIBC__STDIO_H__
31
 
31
 
32
#include <types.h>
32
#include <types.h>
-
 
33
#include <stdarg.h>
33
 
34
 
34
#define EOF (-1)
35
#define EOF (-1)
35
 
36
 
36
extern int puts(const char * str);
37
extern int puts(const char * str);
37
 
38
 
38
extern int printf(const char *fmt, ...);
39
extern int printf(const char *fmt, ...);
-
 
40
extern int sprintf(char *str, const char *fmt, ...);
-
 
41
extern int snprintf(char *str, size_t size, const char *fmt, ...);
-
 
42
 
-
 
43
extern int vprintf(const char *fmt, va_list ap);
-
 
44
extern int vsprintf(char *str, const char *fmt, va_list ap);
-
 
45
extern int vsnprintf(char *str, size_t size, const char *fmt, va_list ap);
-
 
46
 
39
#define fprintf(f, fmt, ...) printf(fmt, ##__VA_ARGS__)
47
#define fprintf(f, fmt, ...) printf(fmt, ##__VA_ARGS__)
40
 
48
 
41
#endif
49
#endif