Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

stdio.h

Go to the documentation of this file.
00001 /*!     \file include/stdio.h
00002  *      \brief POSIX standard I/O.
00003  *      \author Andrea Righi <drizzt@inwind.it>
00004  *      \date Last update: 2004-01-27
00005  *      \note Copyright (&copy;) 2003 Andrea Righi
00006  */
00007 
00008 #ifndef STDIO_H
00009 #define STDIO_H
00010 
00011 #include <stdarg.h>
00012 #include <sys/sys.h>
00013 
00014 //! Define a standard length for put a limit for
00015 //! dangerous functions like gets(), scanf(), etc...
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

Generated on Fri Feb 20 15:32:16 2004 for Minirighi by doxygen1.2.18