blob: 5cbeaa4bf9a5f761ce618a40bb7aaa3afe0404c3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#define BUFPAD 4096
struct print_buf {
char *buf;
size_t len;
size_t size;
};
int vbufprintf(struct print_buf *buf, const char *format, va_list ap);
int bufprintf(struct print_buf *buf, const char *format, ...);
|