man rbuf_erase (Fonctions bibliothèques) - remove portions of an rbuf.

NAME

rbuf_erase - remove portions of an rbuf.

SYNOPSIS

#include <roy.h>

void rbuf_erase (RBuf *buf, unsigned int pos, unsigned int len);

DESCRIPTION

rbuf_erase(3) is used to remove portions of the buffer stored in an rbuf. buf is the rbuf on which to do the operation. pos is the starting index into the buffer you wish to begin removing at, and len is the length of the portion to be removed.

RETURN VALUE

There is no return value for rbuf_erase(3). If the portion to be removed is out of bounds, no action is taken - the buffer will remain untouched.

ERRORS

These calls do not error.

FUNCTION

rbuf_erase(3) is implemented with a function.

SEE ALSO