NAME | SYNOPSIS | API RESTRICTIONS | ARGUMENTS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO
#include <sys/types.h> #include <sys/blackbox.h>void BB_SEV_SET(uint_t level, bb_severity_t * sev);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
an entry in the bb_severity_t bitmap
the severity bitmap
a maximum severity level
A given severity level can be modified with the BB_SET_* interfaces, as follows:
BB_SEV_SET enables the single severity level in the severity bitmap sev .
BB_SEV_SET_LIMIT enables all severity levels greater than or equal to limit in the severity bitmap sev .
BB_SEV_TEST returns a non-zero value if the severity level level is set in the severity bitmap sev .
BB_SEV_CLEAR disables the single severity level level in the severity bitmap sev .
BB_SEV_CLEAR_LIMIT disables all severity levels greater than or equal to limit in the severity bitmap sev .
BB_SEV_TEST returns a non-zero value if the severity level level is set in the severity bitmap sev and zero otherwise.
No errors are defined.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | ARGUMENTS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO