| Updated: October 28, 2024 | 
Reset the state of slogger2 for the process
#include <sys/slog2.h> int slog2_reset( void );
The slog2_reset() function resets the state of slogger2 within the process. Use this function to unregister a buffer set that you registered with slog2_register().
0 for success, or -1 if an error occurred.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes |