|
coastline 0.0.4
|
The formatter behind sprintf() and the state it passes to the conversion routines. More...

Go to the source code of this file.
Macros | |
| #define | FLAGS_SPACE 0x01 |
| #define | FLAGS_PLUS 0x02 |
| #define | FLAGS_MINUS 0x04 |
| #define | FLAGS_HASH 0x08 |
| #define | FLAGS_ZERO 0x10 |
Typedefs | |
| typedef void *(* | outfun) (void *arg, const char *s, size_t count) |
| A routine that appends count characters to arg and returns the new position, or NULL. | |
The formatter behind sprintf() and the state it passes to the conversion routines.
| #define FLAGS_SPACE 0x01 |
The space flag: a space before a positive number.
| #define FLAGS_PLUS 0x02 |
The plus flag: a sign before every number.
| #define FLAGS_MINUS 0x04 |
The minus flag: the field is aligned left.
| #define FLAGS_HASH 0x08 |
The hash flag: the alternative form of the conversion.
| #define FLAGS_ZERO 0x10 |
The zero flag: the field is padded with zeros.
| typedef void *(* outfun) (void *arg, const char *s, size_t count) |
A routine that appends count characters to arg and returns the new position, or NULL.