| 5 | #include "errorf.h" |
| 6 | |
| 7 | void error_format(char *errbuf, const char *format, ...) |
| 8 | { |
| 9 | va_list args; |
| 10 | va_start(args, format); |
| 11 | vsnprintf(errbuf, ERROR_BUFFER_SIZE, format, args); |
| 12 | va_end(args); |
| 13 | } |
| 14 | |
| 15 | void error_wrap_format(char *errbuf, const char *format, ...) |
| 16 | { |
no outgoing calls