9 #define SIZEOF_OFFSET 1
17 #define SPF_SPEC_START 37 //%
18 #define SPF_SPEC_DECIMAL 100 //d 16bit dec signed (-32767 to 32767) DONE same as i
19 #define SPF_SPEC_INT 105 //i 16bit dec signed (-32767 to 32767) DONE same as d
20 #define SPF_SPEC_UINT 117 //u 16bit dec unsigned (0 to 65535) DONE
21 #define SPF_SPEC_STRING 115 //s variable length (abcd...) DONE
22 #define SPF_SPEC_UHINT 120 //x 16bit hex lwrc (7fa) DONE
23 #define SPF_SPEC_UHINT_UP 88 //x 16bit hex lwrc (7fa) DONE
24 #define SPF_SPEC_LONG 108 //l start of either ld or lu DONE
25 #define SPF_SPEC_DECIMAL 100 //ld 32bit dec signed (-2147483647 to 2147483647) DONE
26 #define SPF_SPEC_UNSIGNED 117 //lu 32bit dec unsigned (0 to 4294967295) DONE
27 #define SPF_SPEC_UHINT 120 //lx 32bit hex unsigned (0 to ffffffff) DONE
29 #define SSF_SPEC_START 37 //%
30 #define SSF_SPEC_SHORTINT 104 //h 8bit dec signed (-127 to 127) DONE
31 #define SSF_LEN_SHORTINT 3 //hhd
32 #define SSF_SPEC_DECIMAL 100 //d 16bit dec signed (-32767 to 32767) DONE
33 #define SSF_LEN_DECIMAL 5 //32767
34 #define SSF_SPEC_INT 105 //i 16bit dec signed (-32767 to 32767) DONE
35 #define SSF_LEN_INT 5 //32767
36 #define SSF_SPEC_LONG 108 //l start of either ld or lu DONE
37 #define SSF_SPEC_DECIMAL 100 //ld 32bit dec signed (-2147483647 to 2147483647) DONE
38 #define SSF_SPEC_UHINT 120 //lx 32bit hex unsigned DONE
39 #define SSF_LEN_LDECIMAL 10 //2147483647
40 #define SSF_SPEC_STRING 115 //s variable length (abcd...) DONE
41 #define SSF_SKIP_SPACE 32 //space
43 #define SSF_SPEC_VERSION 118 //v collect to comma delimiter - special
44 #define SSF_DELIM_COMMA 44 //,
46 #define ASCII_NUM_START 48 //0
47 #define ASCII_NUM_END 58 //9
49 #define T_UINT32_0_LIMIT 14
50 #define T_UINT32_1_LIMIT 27
52 int vspf(char *_Dest, const char *_Format, va_list va);
53 int spf(char *_Dest, const char *_Format, ...);
54 int ssf(const char *_Src, const char *_Format, ...);