48 #define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
49 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
195 if ((status >= m_codeblock[i].
min) && (status <= m_codeblock[i].
max)) {
229 const char* text = NULL;
233 text = m_codeblock[block].
message[status - m_codeblock[block].
min];
237 text = strerror(status);
270 output = m_codeblock[block].
output;
343 va_start(ap, status);
384 vsnprintf(buffer,
sizeof(buffer), message, ap);
385 buffer[
sizeof(buffer) - 1] =
'\0';
390 snprintf(buffer,
sizeof(buffer),
"?????: unknown message number %d", status);