vrb_is_not_empty(3)

πŸ“¦ version 0.5.1, in nixos 26.05

πŸ’– 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, 1 is returned, otherwise 0 is 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