nut/include/stdio.h File Reference

Detailed Description

C Standard I/O.

#include <sys/types.h>
#include <stdarg.h>


#define _IOFBF   0x00
 Fully buffered.
#define _IOLBF   0x01
 Line buffered.
#define _IONBF   0x02
#define EOF   (-1)
 End of file.
#define fprintf_P   fprintf
#define fputs_P(string, stream)   fputs(string, stream)
#define fscanf_P   fscanf
#define fwrite_P(data, size, count, stream)   fwrite(data, size, count, stream)
#define printf_P   printf
#define puts_P(string)   puts(string)
#define scanf_P   scanf
#define SEEK_CUR   1
#define SEEK_END   2
#define SEEK_SET   0
#define sprintf_P   sprintf
#define sscanf_P   sscanf
#define stderr   (__iob[2])
 Standard error output stream.
#define stdin   (__iob[0])
 Standard input stream.
#define stdout   (__iob[1])
 Standard output stream.
#define vfprintf_P(stream, fmt, ap)   vfprintf(stream, fmt, ap)
#define vfscanf_P(stream, fmt, ap)   vfscanf(stream, fmt, ap)
#define vsprintf_P(buffer, fmt, ap)   vsprintf(buffer, fmt, ap)
#define vsscanf_P(string, fmt, ap)   vsscanf(string, fmt, ap)


typedef __iobuf FILE
 Stream structure type.


FILE_fdopen (int fd, CONST char *mode)
int _fileno (FILE *stream)
void _flushall (void)
void clearerr (FILE *stream)
int fclose (FILE *stream)
void fcloseall (void)
int feof (FILE *stream)
int ferror (FILE *stream)
int fflush (FILE *stream)
int fgetc (FILE *stream)
char * fgets (char *buffer, int count, FILE *stream)
FILEfopen (CONST char *name, CONST char *mode)
int fprintf (FILE *stream, CONST char *fmt,...)
int fpurge (FILE *stream)
int fputc (int c, FILE *stream)
int fputs (CONST char *string, FILE *stream)
size_t fread (void *buffer, size_t size, size_t count, FILE *stream)
FILEfreopen (CONST char *name, CONST char *mode, FILE *stream)
int fscanf (FILE *stream, CONST char *fmt,...)
int fseek (FILE *stream, long offset, int origin)
long ftell (FILE *stream)
size_t fwrite (CONST void *data, size_t size, size_t count, FILE *stream)
int getc (FILE *stream)
int getchar (void)
char * gets (char *buffer)
int kbhit (void)
int printf (CONST char *fmt,...)
int putc (int c, FILE *stream)
int putchar (int c)
int puts (CONST char *string)
int rename (CONST char *old_name, CONST char *new_name)
int scanf (CONST char *fmt,...)
int sprintf (char *buffer, CONST char *fmt,...)
int sscanf (CONST char *string, CONST char *fmt,...)
int ungetc (int c, FILE *stream)
int vfprintf (FILE *stream, CONST char *fmt, va_list ap)
int vfscanf (FILE *stream, CONST char *fmt, va_list ap)
int vsprintf (char *buffer, CONST char *fmt, va_list ap)
int vsscanf (CONST char *string, CONST char *fmt, va_list ap)


FILE__iob []

Generated on Wed Apr 29 11:12:30 2009 for BTnut System Software by doxygen 1.5.1
!!! Dieses Dokument stammt aus dem ETH Web-Archiv und wird nicht mehr gepflegt !!!
!!! This document is stored in the ETH Web archive and is no longer maintained !!!