NAME | SYNOPSIS | API RESTRICTIONS | ARGUMENTS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO
$(OS_DIR)/lib/libblackbox.a #include <sys/blackbox.h>int bb_setseverity(bb_severity_t severity);
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.
bb_setseverity() sets the global severity bitmap for the node. A given severity level can be modified with the BB_SEV_SET interface, described below.
bb_setseverity() returns 0 on success and -1 on failure.
If it returns -1, errno is set to EPERM: the caller doesn't have permission to set the global severity bitmap. ENOTSUP: the black box service is not configured on this node.
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