vrb_is_not_empty(3) indicate if VRB is not_empty

LIBRARY

-lvrb

SYNOPSIS

#include <vrb.h>

int vrb_is_not_empty(vrb_p vrb);

DESCRIPTION

vrb_is_not_empty returns false or true 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 not empty, 1 is returned, otherwise 0 is returned.