46 #define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
47 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
192 if ((status >= m_codeblock[i].
min) && (status <= m_codeblock[i].
max)) {
226 const char* text = NULL;
230 text = m_codeblock[block].
message[status - m_codeblock[block].
min];
234 text = strerror(status);
267 output = m_codeblock[block].
output;
340 va_start(ap, status);
381 vsnprintf(buffer,
sizeof(buffer), message, ap);
382 buffer[
sizeof(buffer) - 1] =
'\0';
387 snprintf(buffer,
sizeof(buffer),
"?????: unknown message number %d", status);