buffer_seek man page

buffer_seek ā€” remove bytes from beginning of string in buffer


#include <buffer.h>

void buffer_seek(buffer* b,size_t r);


buffer_seek removes r bytes from the beginning of the string. r must be at most the current length of the string.

See Also

buffer_init(3), buffer_feed(3), buffer_peek(3), buffer_get(3), buffer(3)

Referenced By

buffer_get(3), buffer_getline(3), buffer_get_token(3), buffer_get_token_pred(3), buffer_peek(3).