00001
00002
00003
00004
00005
00006
00007
00008 #ifndef STDIO_H
00009 #define STDIO_H
00010
00011 #include <stdarg.h>
00012 #include <sys/sys.h>
00013
00014
00015
00016 #define STR_MAX_LENGTH 1024
00017
00018 extern int getchar(void);
00019 extern void putchar(int c);
00020
00021 extern int printf (const char *__restrict __format, ...);
00022
00023 extern int snprintf(char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...);
00024 extern int vsnprintf(char *__restrict __s, size_t __maxlen, const char *__restrict __format, va_list __arg);
00025
00026 extern int sprintf(char * buf, const char *fmt, ...);
00027
00028 extern char *gets(char *__s);
00029
00030 extern int scanf (const char *__restrict __format, ...);
00031 extern int sscanf(const char *__restrict __buf, const char *__restrict __fmt, ...);
00032 extern int vsscanf(const char *__restrict __s, const char *__restrict __format, va_list __arg);
00033
00034 #endif