#include <stdarg.h>
#include <sys/types.h>
#include <Macros.h>
Go to the source code of this file.
|
| struct | FILE |
| | A structure containing information about a file. More...
|
| |
|
| #define | dprintf(fmt, ...) printf("{%s:%d}: " fmt, __FILE__, __LINE__, ##__VA_ARGS__); |
| | Output a debug message using printf().
|
| |
|
| #define | SEEK_CUR 0 |
| | Seek relative to current position.
|
| |
| #define | SEEK_END 1 |
| | Seek relative to end-of-file.
|
| |
| #define | SEEK_SET 2 |
| | Seek relative to start-of-file.
|
| |
|
| C int | snprintf (char *buffer, unsigned int size, const char *fmt,...) |
| | Write a formatted string into a buffer.
|
| |
| C int | vsnprintf (char *buffer, unsigned int size, const char *fmt, va_list args) |
| | Write a formatted string into a buffer.
|
| |
| C int | printf (const char *format,...) |
| | Output a formatted string to standard output.
|
| |
| C int | vprintf (const char *format, va_list args) |
| | Output a formatted string to standard output, using a variable argument list.
|
| |
|
| typedef struct FILE | FILE |
| | A structure containing information about a file.
|
| |
| C FILE * | fopen (const char *filename, const char *mode) |
| | Open a stream.
|
| |
| C size_t | fread (void *ptr, size_t size, size_t nitems, FILE *stream) |
| | Binary input.
|
| |
| C size_t | fwrite (const void *ptr, size_t size, size_t nitems, FILE *stream) |
| | The fwrite() function shall write, from the array pointed to by ptr, up to nitems elements whose size is specified by size, to the stream pointed to by stream.
|
| |
| C int | fclose (FILE *stream) |
| | Close a stream.
|
| |