Alex Martir
09/10/2020 4:22 PM
post120926
|
Hi, is there a way to know the current size (not the capacity or max size, but how much has been used) of the buffer in
an slog2 handle?
Following some of the examples in the site, it's possible to extract each individual log by
- Calling slog2_open_log(...)
- Calling slog2_get_log_info(...)
- Then you can get buffer_info
But there's only max capacity, and no current size of the buffer exposed. There's a size member in the structure, but it
only represents the size of the buffer_info struct itself, and not the size of the buffer.
Thanks in advance!
|
|
|