Find the handle for a buffer with a given name
#include <sys/slog2.h> slog2_buffer_t slog2_find_buffer( const char *buffer_name, const char *buffer_set_name );
The slog2_find_buffer() function performs a reverse lookup of the buffer name to try and find the corresponding buffer handle.
The matching buffer handle, or NULL if the buffer wasn't found (errno is set).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |