rbuf_free(3)

rbuf_free3

Free an rbuf

Usage

#include <roy.h>

void rbuf_free (RBuf *buf);

Overview

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.

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

From libroy-dev 1.0.8-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.