FMTMSG.H(3HEAD) | Headers | FMTMSG.H(3HEAD) |
fmtmsg.h, fmtmsg - message display structures
#include <fmtmsg.h>
The <fmtmsg.h> header defines the following macros, which expand to constant integer expressions:
MM_HARD
MM_SOFT
MM_FIRM
MM_APPL
MM_UTIL
MM_OPSYS
MM_RECOVER
MM_NRECOV
MM_HALT
MM_ERROR
MM_WARNING
MM_INFO
MM_NOSEV
MM_PRINT
MM_CONSOLE
The table below indicates the null values and identifiers for fmtmsg(3C) arguments. The <fmtmsg.h> header defines the macros in the Identifier column, which expand to constant expressions that expand to expressions of the type indicated in the Type column:
Argument | Type | Null-Value | Identifier |
label | char* | (char*) NULL | MM_NULLLBL |
severity | int | 0 | MM_NULLSEV |
class | long | 0L | MM_NULLMC |
text | char* | (char*) NULL | MM_NULLTXT |
action | char* | (char*) NULL | MM_NULLACT |
tag | char* | (char*) NULL | MM_NULLTAG |
The <fmtmsg.h> header also defines the following macros for use as return values for fmtmsg():
MM_OK
MM_NOTOK
MM_NOMSG
MM_NOCON
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
September 10, 2004 | OmniOS |