You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
490 B
Groff

.TH buffer_seek 3
.SH NAME
buffer_seek \- remove bytes from beginning of string in buffer
.SH SYNTAX
.B #include <libowfat/buffer.h>
ssize_t \fBbuffer_seek\fP(buffer* \fIb\fR,size_t \fIr\fR);
.SH DESCRIPTION
buffer_seek removes \fIr\fR bytes from the beginning of the string.
\fIr\fR can not be larger than the maximum value that ssize_t can
represent.
.SH "RETURN VALUE"
Returns r (or -1 on error).
.SH "SEE ALSO"
buffer_init(3), buffer_feed(3), buffer_peek(3), buffer_get(3), buffer(3)