00001 #ifndef FMT__MISC__H__
00002 #define FMT__MISC__H__
00003
00004 #include <stdarg.h>
00005 struct str;
00006
00015 extern unsigned fmt_char(char* buffer, int ch, unsigned width, char pad);
00016 extern unsigned fmt_mem(char* buffer, const char* s, unsigned length,
00017 unsigned width, char pad);
00018 extern unsigned fmt_chars(char* buffer, const char* s,
00019 unsigned width, char pad);
00020 extern unsigned fmt_str(char* buffer, const struct str* s,
00021 unsigned width, char pad);
00022
00023
00024
00025
00026
00027 #endif