man rbuf_free (Fonctions bibliothèques) - free an rbuf

NAME

rbuf_free - free an rbuf

SYNOPSIS

#include <roy.h>

void rbuf_free (RBuf *buf);

DESCRIPTION

Only call rbuf_free(3) on buf which was allocated using one of the rbuf_new(3) api calls. If buf is owned because of a call to rbuf_own(3) then buf will not be freed. See rbuf_own(3) for more details on rbuf ownership.

RETURN VALUE

This call returns no value.

ERRORS

Calls to rbuf_free(3) can never fail.

MACRO

The rbuf_free(3) api is implemented using a macro.

SEE ALSO