slog2_reset()
Reset the state of slogger2 for the process
Synopsis:
#include <slog2.h> int slog2_reset( void );
Description:
The slog2_reset() function resets the state of slogger2 within the process. All resources used by slogger2 within the process are released, so any existing buffer handles become invalid.
Returns:
O for success, or -1 if an error occurred.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |