vrb_is_not_empty(3)
π vrb_is_not_empty(3) π
okay so welcome to the VRB Programmer's Manual, bestie β this is the vrb_is_not_empty(3) page, and it's literally just the βis this thing not empty?β vibe check for your virtual ring buffer. π«Ά
β¨ NAME β¨
vrb_is_not_empty β indicate if VRB is not_empty πΈ
π LIBRARY π
- Link with:
-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. That's it. That's the whole gig β a tiny boolean bestie doing a not-empty check. β¨
π ARGUMENTS π
vrb_p vrbβ specifies the virtual ring buffer to examine π
π RETURN VALUE π
intβ if the virtual ring buffer is not empty,1is returned, otherwise0is returned. No cap. π―
π SEE ALSO π
go read these next, iykyk:
vrb(3), vrb_capacity(3), vrb_data_len(3), vrb_data_ptr(3),
vrb_destroy(3), vrb_get(3), vrb_get_min(3), vrb_give(3), vrb_init(3),
vrb_init_opt(3), vrb_is_empty(3), vrb_is_full(3), vrb_is_not_full(3),
vrb_move(3), vrb_new(3), vrb_new_opt(3), vrb_put(3), vrb_put_all(3),
vrb_read(3), vrb_read_min(3), vrb_resize(3), vrb_space_len(3),
vrb_space_ptr(3), vrb_take(3), vrb_uninit(3), vrb_write(3),
vrb_write_min(3)
β with love from the vrb manual source/version, dated 2002-09-30, page vrb_is_not_empty(3) π
π¦ where this page comes from
- nixos 26.05: vrb 0.5.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms