bglibs: misc.h Source File

- Main Page
- Modules
- Data Structures
- Files
- Directories
- Related Pages
- Examples

# misc.h

    00001 /* $Id: misc.h 616 2005-08-19 20:11:01Z bruce $ */
    00002 #ifndef FMT__MISC__H__
    00003 #define FMT__MISC__H__
    00004
    00005 #include <stdarg.h>
    00006 struct str;
    00007
    00016 extern unsigned fmt_char(char* buffer, int ch, unsigned width, char pad);
    00017 extern unsigned fmt_mem(char* buffer, const char* s, unsigned length,
    00018                         unsigned width, char pad);
    00019 extern unsigned fmt_chars(char* buffer, const char* s,
    00020                           unsigned width, char pad);
    00021 extern unsigned fmt_str(char* buffer, const struct str* s,
    00022                         unsigned width, char pad);
    00023
    00028 #endif