vrb_data_len(3)

vrb_data_len3

Return the length of data

Usage

#include <vrb.h>

size_t vrb_data_len(vrb_p vrb);

Library

-lvrb

Overview

vrb_data_len returns the total length of data presently in the given virtual ring buffer.

Arguments

vrb_p vrb
specifies the virtual ring buffer to obtain the data length of. If a NULL or invalid pointer is given, results are unpredictable and are likely to be disasterous.

Return value

size_t
The total data length of the virtual ring buffer is returned.

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

From libvrb0-dev 0.5.1-5.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.