libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_string_buffer_truncate (explain_string_buffer_t *sb, long new_position) |
void explain_string_buffer_truncate | ( | explain_string_buffer_t * | sb, |
long | new_position | ||
) |
The explain_string_buffer_truncate function is used to trim a string buffer back to the given size.
sb | The string buffer to shorten |
new_position | The newer shorter position (ignored of longer) |
Definition at line 24 of file truncate.c.