man rbuf_truncate (Fonctions bibliothèques) - change the length of an rbuf's buffer

NAME

rbuf_truncate - change the length of an rbuf's buffer

SYNOPSIS

#include <roy.h>

void rbuf_truncate (RBuf *buf, unsigned int len);

DESCRIPTION

Reset buf's length to len. If len is greater than the current length of buf then this call will actually grow buf's length to len.

RETURN VALUE

This call returns nothing.

ERRORS

Calls to rbuf_truncate(3) can never fail.

FUNCTION

The rbuf_truncate(3) api is implemented using a function.

SEE ALSO