MicrOS
|
Macros | |
#define | FLAGS_CHAR (1) |
#define | FLAGS_SHORT (1 << 1) |
#define | FLAGS_LONG (1 << 2) |
#define | FLAGS_LONG_LONG (1 << 3) |
Functions | |
static int | _getc (FILE *stream) |
static int | _ungetc (int c, FILE *stream) |
int | _get_number_from_file (FILE *stream, int width) |
int | _get_decimal_number_from_file (FILE *stream, int width) |
int | _get_hex_number_from_file (FILE *stream, int width) |
int | _get_octal_number_from_file (FILE *stream, int width) |
int | vfscanf (FILE *stream, const char *format, va_list arg) |
Read formatted data from stream into variable argument list. More... | |
Variables | |
unsigned int | _read_characters_count |
#define FLAGS_CHAR (1) |
#define FLAGS_LONG (1 << 2) |
#define FLAGS_LONG_LONG (1 << 3) |
#define FLAGS_SHORT (1 << 1) |
int _get_decimal_number_from_file | ( | FILE * | stream, |
int | width | ||
) |
int _get_hex_number_from_file | ( | FILE * | stream, |
int | width | ||
) |
int _get_number_from_file | ( | FILE * | stream, |
int | width | ||
) |
int _get_octal_number_from_file | ( | FILE * | stream, |
int | width | ||
) |
|
inlinestatic |
|
inlinestatic |
int vfscanf | ( | FILE * | stream, |
const char * | format, | ||
va_list | arg | ||
) |
Read formatted data from stream into variable argument list.
Reads data from the stream and stores them according to parameter format into the locations pointed by the elements in the variable argument list identified by arg.
stream | Pointer to a FILE object that identifies an input stream. |
format | C string that contains the text to be written to the stream.Can contain embedded format specifiers. |
arg | A value identifying a variable arguments list initialized with va_start. |
unsigned int _read_characters_count |