NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ERRORS | ATTRIBUTES | SEE ALSO
#include <BlackBox/chBlackBox.h>int bbReset(KnBBId id);
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.
bbReset() resets a frozen black box.
The contents of the buffer are totally erased. Call bbRelease() to release the given buffer.
id is the ID of the black box to open, for example, as obtained by calling bbFreeze() or bbList().
Upon successful completion K_OK is returned. Otherwise, a negative error code is returned.
id is not a valid blackbox ID
The buffer is either open or not frozen
The caller is neither a supervisor actor nor a system actor
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 | SEE ALSO