1 #define F_IGNORE 0x01 /* %_A */
2 #define F_SETREP 0x02 /* rep count set, not default */
3 #define F_ADDRESS 0x001 /* print offset */
4 #define F_BPAD 0x002 /* blank pad */
5 #define F_C 0x004 /* %_c */
6 #define F_CHAR 0x008 /* %c */
7 #define F_DBL 0x010 /* %[EefGf] */
8 #define F_INT 0x020 /* %[di] */
9 #define F_P 0x040 /* %_p */
10 #define F_STR 0x080 /* %s */
11 #define F_U 0x100 /* %_u */
12 #define F_UINT 0x200 /* %[ouXx] */
13 #define F_TEXT 0x400 /* no conversions */
15 enum _vflag { ALL, DUP, FIRST, WAIT }; /* -v values */
18 struct _pr *nextpr; /* next print unit */
19 unsigned int flags; /* flag values */
20 int bcnt; /* byte count */
21 char *cchar; /* conversion character */
22 char *fmt; /* printf format */
23 char *nospace; /* no whitespace version */
27 struct _fu *nextfu; /* next format unit */
28 struct _pr *nextpr; /* next print unit */
29 unsigned int flags; /* flag values */
30 int reps; /* repetition count */
31 int bcnt; /* byte count */
32 char *fmt; /* format string */
35 typedef struct _fs { /* format strings */
36 struct _fs *nextfs; /* linked list of format strings */
37 struct _fu *nextfu; /* linked list of format units */
42 int dump (char **argv);