#include <sys/types.h>
#include <stdarg.h>
#include <str.h>
#include <adt/list.h>
Go to the source code of this file.
Data Structures | |
struct | FILE |
Defines | |
#define | BUFSIZ 4096 |
Default size for stream I/O buffers. | |
#define | DEBUG(fmt,) |
#define | EOF (-1) |
#define | PRINTF_ATTRIBUTE(start, end) __attribute__((format(gnu_printf, start, end))) |
#define | SEEK_CUR 1 |
#define | SEEK_END 2 |
#define | SEEK_SET 0 |
Enumerations | |
enum | _buffer_state { _bs_empty, _bs_write, _bs_read } |
enum | _buffer_type { _IONBF, _IOLBF, _IOFBF } |
Functions | |
int | asprintf (char **strp, const char *fmt,...) |
Allocate and print to string. | |
void | clearerr (FILE *stream) |
int | fclose (FILE *stream) |
FILE * | fdopen (int fd, const char *mode) |
int | feof (FILE *stream) |
int | ferror (FILE *stream) |
int | fflush (FILE *stream) |
int | fgetc (FILE *stream) |
char * | fgets (char *str, int size, FILE *stream) |
int | fileno (FILE *stream) |
FILE * | fopen (const char *path, const char *mode) |
Open a stream. | |
int | fprintf (FILE *stream, const char *fmt,...) |
Print formatted text. | |
int | fputc (wchar_t c, FILE *stream) |
int | fputs (const char *str, FILE *stream) |
size_t | fread (void *dest, size_t size, size_t nmemb, FILE *stream) |
Read from a stream. | |
int | fseek (FILE *stream, off64_t offset, int whence) |
off64_t | ftell (FILE *stream) |
size_t | fwrite (const void *buf, size_t size, size_t nmemb, FILE *stream) |
Write to a stream. | |
int | getchar (void) |
int | printf (const char *fmt,...) |
Print formatted text to stdout. | |
int | putchar (wchar_t c) |
int | puts (const char *str) |
int | rename (const char *old, const char *new) |
void | rewind (FILE *stream) |
void | setvbuf (FILE *stream, void *buf, int mode, size_t size) |
Set stream buffer. | |
int | snprintf (char *str, size_t size, const char *fmt,...) |
Print formatted to the given buffer with limited size. | |
int | vfprintf (FILE *stream, const char *fmt, va_list ap) |
Print formatted text. | |
int | vprintf (const char *fmt, va_list ap) |
Print formatted text to stdout. | |
int | vsnprintf (char *str, size_t size, const char *fmt, va_list ap) |
Variables | |
FILE * | stderr |
FILE * | stdin |
FILE * | stdout |
Definition in file stdio.h.