Graphviz 13.0.0~dev.20241222.1117
|
#include "config.h"
#include <limits.h>
#include <stdio.h>
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | _sffmt_s |
Macros | |
#define | SFFMT_SSHORT 00000010 /* 'hh' flag, char */ |
#define | SFFMT_TFLAG 00000020 /* 't' flag, ptrdiff_t */ |
#define | SFFMT_ZFLAG 00000040 /* 'z' flag, size_t */ |
#define | SFFMT_LEFT 00000100 /* left-justification */ |
#define | SFFMT_SIGN 00000200 /* must have a sign */ |
#define | SFFMT_BLANK 00000400 /* if not signed, prepend a blank */ |
#define | SFFMT_ZERO 00001000 /* zero-padding on the left */ |
#define | SFFMT_ALTER 00002000 /* alternate formatting */ |
#define | SFFMT_THOUSAND 00004000 /* thousand grouping */ |
#define | SFFMT_SKIP 00010000 /* skip assignment in scanf() */ |
#define | SFFMT_SHORT 00020000 /* 'h' flag */ |
#define | SFFMT_LONG 00040000 /* 'l' flag */ |
#define | SFFMT_LLONG 00100000 /* 'll' flag */ |
#define | SFFMT_LDOUBLE 00200000 /* 'L' flag */ |
#define | SFFMT_VALUE 00400000 /* value is returned */ |
#define | SFFMT_ARGPOS 01000000 /* getting arg for $ patterns */ |
#define | SFFMT_IFLAG 02000000 /* 'I' flag */ |
#define | SFFMT_JFLAG 04000000 /* 'j' flag, intmax_t */ |
#define | SFFMT_SET 07777770 /* flags settable on calling extf */ |
Typedefs | |
typedef struct _sffmt_s | Sffmt_t |
typedef int(* | Sffmtext_f) (void *, Sffmt_t *) |
Functions | |
int | sfprint (FILE *, Sffmt_t *format) |
int | sfvscanf (FILE *, Sffmt_t *format) |
ssize_t | sfslen (void) |
Variables | |
ssize_t | _Sfi |
#define SFFMT_ARGPOS 01000000 /* getting arg for $ patterns */ |
#define SFFMT_BLANK 00000400 /* if not signed, prepend a blank */ |
#define SFFMT_SET 07777770 /* flags settable on calling extf */ |
|
extern |
f | file to print to |
format | Structure describing how to print |
Definition at line 36 of file sfprint.c.
References _sfcvt(), _Sfdec, _Sfdigits, _Sffmtintf, _Sftype, Argv_t::c, Argv_t::d, dot, _sffmt_s::extf, Argv_t::f, flags, _sffmt_s::flags, FMTCMP, FMTGET, FMTSET, _sffmt_s::form, format, FP_SET, FPRECIS, Argv_t::ft, gv_isalnum(), gv_isalpha(), gv_isdigit(), gv_isupper(), Argv_t::h, HIGHBITI, HIGHBITL, Argv_t::i, imin(), Argv_t::l, LEFTP, Argv_t::ll, NULL, QUOTE, RIGHTP, Argv_t::s, SF_FDIGITS, SF_MAXDIGITS, SF_RADIX, SFFMT_ALTER, SFFMT_BLANK, SFFMT_EFORMAT, SFFMT_FLOAT, SFFMT_IFLAG, SFFMT_INT, SFFMT_JFLAG, SFFMT_LDOUBLE, SFFMT_LEFT, SFFMT_LLONG, SFFMT_LONG, SFFMT_MINUS, SFFMT_PREFIX, SFFMT_SHORT, SFFMT_SIGN, SFFMT_SSHORT, SFFMT_TFLAG, SFFMT_THOUSAND, SFFMT_TYPES, SFFMT_UINT, SFFMT_VALUE, SFFMT_ZERO, SFFMT_ZFLAG, SFnputc, SFputc, SFSETLOCALE, sfslen(), sfucvt, SFwrite, sign(), _sffmt_s::size, SLACK, Argv_t::sp, uchar, ulong, ushort, and Argv_t::vp.
Referenced by print().
|
extern |
|
extern |
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().
|
extern |
Definition at line 21 of file sfextern.c.