Expand description
fmtmsg.h implementation.
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/fmtmsg.h.html. Ported from Musl.
See https://github.com/kraj/musl/blob/kraj/master/src/misc/fmtmsg.c
Constants§
- MM_APPL
- Condition detected by application.
- MM_
CONSOLE - Display message on system console.
- MM_
ERROR - Application has encountered a non-fatal fault.
- MM_FIRM
- Source of the condition is firmware.
- MM_HALT
- Error causing application to halt.
- MM_HARD
- Source of the condition is hardware.
- MM_INFO
- Informative message.
- MM_
NOCON - The function was unable to generate a console message, but otherwise succeeded.
- MM_
NOMSG - The function was unable to generate a message on standard error, but otherwise succeeded.
- MM_
NOSEV - No severity level provided for the message.
- MM_
NOTOK - The function failed completely.
- MM_
NRECOV - Non-recoverable error.
- MM_
NULLMC - Class argument.
- MM_
NULLSEV - Severity argument.
- MM_OK
- The function succeeded.
- MM_
OPSYS - Condition detected by operating system.
- MM_
PRINT - Display message on standard error.
- MM_
RECOVER - Recoverable error.
- MM_SOFT
- Source of the condition is software.
- MM_UTIL
- Condition detected by utility.
- MM_
WARNING - Application has detected unusual non-error condition.