Back to index

tetex-bin  3.0
Classes | Defines | Functions
printf-parse.h File Reference
#include "printf-args.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  char_directive
struct  char_directives

Defines

#define FLAG_GROUP   1 /* ' flag */
#define FLAG_LEFT   2 /* - flag */
#define FLAG_SHOWSIGN   4 /* + flag */
#define FLAG_SPACE   8 /* space flag */
#define FLAG_ALT   16 /* # flag */
#define FLAG_ZERO   32
#define ARG_NONE   (~(size_t)0)

Functions

int printf_parse (const char *format, char_directives *d, arguments *a)

Class Documentation

struct char_directive

Definition at line 37 of file printf-parse.h.

Class Members
size_t arg_index
char conversion
const char * dir_end
const char * dir_start
int flags
size_t precision_arg_index
const char * precision_end
const char * precision_start
size_t width_arg_index
const char * width_end
const char * width_start
struct char_directives

Definition at line 54 of file printf-parse.h.

Collaboration diagram for char_directives:
Class Members
size_t count
char_directive * dir
size_t max_precision_length
size_t max_width_length

Define Documentation

#define ARG_NONE   (~(size_t)0)

Definition at line 34 of file printf-parse.h.

#define FLAG_ALT   16 /* # flag */

Definition at line 30 of file printf-parse.h.

#define FLAG_GROUP   1 /* ' flag */

Definition at line 26 of file printf-parse.h.

#define FLAG_LEFT   2 /* - flag */

Definition at line 27 of file printf-parse.h.

#define FLAG_SHOWSIGN   4 /* + flag */

Definition at line 28 of file printf-parse.h.

#define FLAG_SPACE   8 /* space flag */

Definition at line 29 of file printf-parse.h.

#define FLAG_ZERO   32

Definition at line 31 of file printf-parse.h.


Function Documentation

int printf_parse ( const char *  format,
char_directives d,
arguments a 
)