|
Tesseract 3.01
|
#include <ctype.h>#include <stdarg.h>#include <stddef.h>#include <inttypes.h>#include <string.h>#include <limits.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include "scanutils.h"#include "tprintf.h"Enumerations | |
| enum | Flags { FL_SPLAT = 0x01, FL_INV = 0x02, FL_WIDTH = 0x04, FL_MINUS = 0x08 } |
| enum | Ranks { RANK_CHAR = -2, RANK_SHORT = -1, RANK_INT = 0, RANK_LONG = 1, RANK_LONGLONG = 2, RANK_PTR = INT_MAX } |
| enum | Bail { BAIL_NONE = 0, BAIL_EOF, BAIL_ERR } |
Functions | |
| size_t | LongBit () |
| uintmax_t | streamtoumax (FILE *s, int base) |
| double | streamtofloat (FILE *s) |
| double | strtofloat (const char *s) |
| int | fscanf (FILE *stream, const char *format,...) |
| int | vfscanf (FILE *stream, const char *format, va_list ap) |
| int | creat (const char *pathname, mode_t mode) |
Variables | |
| enum Ranks | kMinRank = RANK_CHAR |
| enum Ranks | kMaxRank = RANK_LONGLONG |
| enum Ranks | kIntMaxRank = RANK_LONGLONG |
| enum Ranks | kSizeTRank = RANK_LONG |
| enum Ranks | kPtrDiffRank = RANK_LONG |
| enum Bail |
| enum Flags |
| enum Ranks |
| int creat | ( | const char * | pathname, |
| mode_t | mode | ||
| ) |
| int fscanf | ( | FILE * | stream, |
| const char * | format, | ||
| ... | |||
| ) |
| size_t LongBit | ( | ) | [inline] |
| double streamtofloat | ( | FILE * | s | ) |
| uintmax_t streamtoumax | ( | FILE * | s, |
| int | base | ||
| ) |
| double strtofloat | ( | const char * | s | ) |
| int vfscanf | ( | FILE * | stream, |
| const char * | format, | ||
| va_list | ap | ||
| ) |
| enum Ranks kIntMaxRank = RANK_LONGLONG |
| enum Ranks kPtrDiffRank = RANK_LONG |
| enum Ranks kSizeTRank = RANK_LONG |