vrb_is_empty(3) indicate if VRB is empty

LIBRARY

-lvrb

SYNOPSIS

#include <vrb.h>

int vrb_is_empty(vrb_p vrb);

DESCRIPTION

vrb_is_empty returns true or false to indicate if the specified virtual ring buffer is empty or not.

ARGUMENTS

vrb_p vrb
specifies the virtual ring buffer to examine

RETURN VALUE

int
If the virtual ring buffer is empty, 1 is returned, otherwise 0 is returned.