NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES
#include <blackbox/chBlackBox.h>int bbSeverity(KnBBSeverity* oldmask, KnBBSeverity* newmask);
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.
bbSeverity() gets or sets or gets and sets the global severity bitmap for the node.
If oldmask is not the NULL pointer, the global severity bitmap will be copied to the location pointed to by oldmask. If newmask is not the NULL pointer, the global severity bitmap will be set to the value of the bitmap pointed to by newmask.
A given severity level can be tested for with the BB_SEV_* interface.
bbSeverity() returns 0 on success. Otherwise, a negative error code is returned.
Some of the data provided are outside the caller's address space
The given blackbox is not initialized
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES