E:/Projects/AvrLib/include/stdio.h File Reference

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

Include dependency graph for stdio.h:

Go to the source code of this file.

Defines

#define EOF   (-1)
 End of file.
#define _IOFBF   0x00
 Fully buffered.
#define _IOLBF   0x01
 Line buffered.
#define _IONBF   0x02
 Unbuffered.
#define stdin   (__iob[0])
 Standard input stream.
#define stdout   (__iob[1])
 Standard output stream.
#define stderr   (__iob[2])
 Standard error output stream.
#define SEEK_SET   0
#define SEEK_CUR   1
#define SEEK_END   2
#define fputs_P(string, stream)   fputs(string, stream)
#define fwrite_P(data, size, count, stream)   fwrite(data, size, count, stream)
#define puts_P(string)   puts(string)
#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)
#define fprintf_P   fprintf
#define fscanf_P   fscanf
#define printf_P   printf
#define scanf_P   scanf
#define sprintf_P   sprintf
#define sscanf_P   sscanf

Typedefs

typedef struct __iobuf FILE
 Stream structure type.

Functions

void clearerr (FILE *stream)
 Reset error status of a stream.
int fclose (FILE *stream)
 Close a stream.
void fcloseall (void)
 Close all open streams.
FILE_fdopen (int fd, CONST char *mode)
 Open a stream associated with a file, device or socket descriptor.
int feof (FILE *stream)
 Test if a stream reached the end of file.
int ferror (FILE *stream)
 Test for an error on a stream.
int fflush (FILE *stream)
 Flush a stream.
int fgetc (FILE *stream)
 Read a character from a stream.
char * fgets (char *buffer, int count, FILE *stream)
 Read a line from a stream.
int _fileno (FILE *stream)
 Get the file descriptor associated with a stream.
void _flushall (void)
 Flushes all streams.
FILEfopen (CONST char *name, CONST char *mode)
 Open a stream.
int fprintf (FILE *stream, CONST char *fmt,...)
 Print formatted data to a stream.
int fpurge (FILE *stream)
 Purge a stream, i.e. discards the input buffer.
int fputc (int c, FILE *stream)
 Write a character to a stream.
int fputs (CONST char *string, FILE *stream)
 Write a string to a stream.
size_t fread (void *buffer, size_t size, size_t count, FILE *stream)
 Read data from a stream.
FILEfreopen (CONST char *name, CONST char *mode, FILE *stream)
 Reassign a stream.
int fscanf (FILE *stream, CONST char *fmt,...)
 Read formatted data from a stream.
int fseek (FILE *stream, long offset, int origin)
 Move read/write position of a stream.
long ftell (FILE *stream)
 Return the read/write position of a stream.
size_t fwrite (CONST void *data, size_t size, size_t count, FILE *stream)
 Write data to a stream.
int getc (FILE *stream)
 Read a character from a stream.
int getchar (void)
 Read a character from a standard input.
int kbhit (void)
char * gets (char *buffer)
 Get a line from the standard input stream.
int printf (CONST char *fmt,...)
 Print formatted data to the standard output stream.
int putc (int c, FILE *stream)
 Write a character to a stream.
int putchar (int c)
 Write a character to standard output.
int puts (CONST char *string)
 Write a string to stdout.
int scanf (CONST char *fmt,...)
 Read formatted data from the standard input stream.
int sprintf (char *buffer, CONST char *fmt,...)
 Write formatted data to a string.
int sscanf (CONST char *string, CONST char *fmt,...)
 Read formatted data from a string.
int ungetc (int c, FILE *stream)
 Push a character back onto a stream.
int vfprintf (FILE *stream, CONST char *fmt, va_list ap)
 Write argument list to a stream using a given format.
int vfscanf (FILE *stream, CONST char *fmt, va_list ap)
 Read formatted data from a stream.
int vsprintf (char *buffer, CONST char *fmt, va_list ap)
 Write argument list to a string using a given format.
int vsscanf (CONST char *string, CONST char *fmt, va_list ap)
 Read formatted data from a string.
int rename (CONST char *old_name, CONST char *new_name)

Variables

FILE__iob []


Define Documentation

#define fprintf_P   fprintf

Definition at line 216 of file stdio.h.

#define fputs_P ( string,
stream   )     fputs(string, stream)

Definition at line 200 of file stdio.h.

Referenced by puts_P().

#define fscanf_P   fscanf

Definition at line 217 of file stdio.h.

#define fwrite_P ( data,
size,
count,
stream   )     fwrite(data, size, count, stream)

Definition at line 201 of file stdio.h.

#define printf_P   printf

Definition at line 218 of file stdio.h.

#define puts_P ( string   )     puts(string)

Definition at line 202 of file stdio.h.

#define scanf_P   scanf

Definition at line 219 of file stdio.h.

#define SEEK_CUR   1

Definition at line 133 of file stdio.h.

#define SEEK_END   2

Definition at line 137 of file stdio.h.

#define SEEK_SET   0

Definition at line 129 of file stdio.h.

#define sprintf_P   sprintf

Definition at line 220 of file stdio.h.

#define sscanf_P   sscanf

Definition at line 221 of file stdio.h.

#define vfprintf_P ( stream,
fmt,
ap   )     vfprintf(stream, fmt, ap)

Definition at line 203 of file stdio.h.

Referenced by fprintf_P(), and printf_P().

#define vfscanf_P ( stream,
fmt,
ap   )     vfscanf(stream, fmt, ap)

Definition at line 204 of file stdio.h.

Referenced by fscanf_P(), and scanf_P().

#define vsprintf_P ( buffer,
fmt,
ap   )     vsprintf(buffer, fmt, ap)

Definition at line 205 of file stdio.h.

Referenced by sprintf_P().

#define vsscanf_P ( string,
fmt,
ap   )     vsscanf(string, fmt, ap)

Definition at line 206 of file stdio.h.

Referenced by sscanf_P().


Function Documentation

int kbhit ( void   ) 

Definition at line 46 of file kbhit.c.

References _filelength(), _fileno(), and stdin.

int rename ( CONST char *  old_name,
CONST char *  new_name 
)


Generated on Sun Aug 31 13:30:34 2008 for FrankenRTOS by  doxygen 1.5.6