Graphviz 13.0.0~dev.20241222.1117
|
#include <assert.h>
#include <inttypes.h>
#include <limits.h>
#include <sfio/sfhdr.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <util/gv_ctype.h>
Go to the source code of this file.
Macros | |
#define | MAXWIDTH INT_MAX |
#define | SFGETC(f, c) (((c) = getc(f)) < 0 ? c : (++n_input, c)) |
#define | SFUNGETC(f, c) |
Functions | |
static const unsigned char * | setclass (const unsigned char *form, bool *accept) |
int | sfvscanf (FILE *f, Sffmt_t *ft) |
#define MAXWIDTH INT_MAX |
Definition at line 25 of file sfvscanf.c.
#define SFGETC | ( | f, | |
c | |||
) | (((c) = getc(f)) < 0 ? c : (++n_input, c)) |
#define SFUNGETC | ( | f, | |
c | |||
) |
|
static |
form | format string |
accept | accepted characters are set to 1 |
Definition at line 31 of file sfvscanf.c.
Referenced by sfvscanf().
int sfvscanf | ( | FILE * | f, |
Sffmt_t * | ft | ||
) |
f | file to be scanned |
ft | Formatting instructions |
Definition at line 68 of file sfvscanf.c.
References _Sfcv36, _Sfcv64, _Sffmtintf, _Sftype, Argv_t::d, dot, _sffmt_s::extf, flags, _sffmt_s::flags, FMTCMP, FMTGET, FMTSET, _sffmt_s::form, FP_SET, Argv_t::ft, gv_isdigit(), gv_isspace(), Argv_t::i, LEFTP, Argv_t::ll, Argv_t::lu, MAXWIDTH, NULL, RIGHTP, Argv_t::s, setclass(), SF_MAXDIGITS, SF_RADIX, SFFMT_ALTER, SFFMT_FLOAT, SFFMT_IFLAG, SFFMT_INT, SFFMT_JFLAG, SFFMT_LDOUBLE, SFFMT_LLONG, SFFMT_LONG, SFFMT_MINUS, SFFMT_SHORT, SFFMT_SKIP, SFFMT_SSHORT, SFFMT_TFLAG, SFFMT_TYPES, SFFMT_UINT, SFFMT_VALUE, SFFMT_ZFLAG, SFGETC, SFUNGETC, _sffmt_s::size, uchar, ulong, ushort, and Argv_t::vp.
Referenced by scan().