48 #define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
49 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
194 if ((status >= m_codeblock[i].
min) && (status <= m_codeblock[i].
max)) {
228 const char* text = NULL;
232 text = m_codeblock[block].
message[status - m_codeblock[block].
min];
236 text = strerror(status);
269 output = m_codeblock[block].
output;
342 va_start(ap, status);
383 vsnprintf(buffer,
sizeof(buffer), message, ap);
384 buffer[
sizeof(buffer) - 1] =
'\0';
389 snprintf(buffer,
sizeof(buffer),
"?????: unknown message number %d", status);