rbuf_truncate(3)

rbuf_truncate3

Change the length of an rbuf's buffer

Usage

#include <roy.h>

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

Overview

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.

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.