dvb_ringbuffer_avail(9)
β¨ dvb_ringbuffer_avail(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this little cutie lives in the Linux kernel docs and honestly? she's a whole vibe. it's dvb_ringbuffer_avail, and no cap she's about to become your new fave π
πΈ NAME πΈ
dvb_ringbuffer_avail β literally just returns the number of bytes waiting in the buffer π«Ά that's it, that's the whole job, and she does it flawlessly
β¨ SYNOPSIS β¨
ssize_t dvb_ringbuffer_avail (struct dvb_ringbuffer *rbuf );
like, that's the whole call. short, sweet, iconic π
π ARGUMENTS π
rbufβ pointer tostruct dvb_ringbufferπ¦ yeah she takes a pointer, she's lowkey fancy like that. hand her your ringbuffer and she'll do her thing π
β RETURN β
the number of bytes waiting in the buffer π that's the return value, that's the whole tea, no surprises, no drama, fr fr π
π₯ SEE ALSO π₯
okay this is the group chat, and everyone's invited π«Ά the kernel file is ./include/media/dvb_ringbuffer.h β go say hi to the whole squad:
struct dvb_ringbuffer(9)dvb_ringbuffer_init(9)dvb_ringbuffer_empty(9)dvb_ringbuffer_free(9)dvb_ringbuffer_reset(9)dvb_ringbuffer_flush(9)dvb_ringbuffer_flush_spinlock_wakeup(9)DVB_RINGBUFFER_PEEK(9)DVB_RINGBUFFER_SKIP(9)dvb_ringbuffer_read_user(9)dvb_ringbuffer_read(9)DVB_RINGBUFFER_WRITE_BYTE(9)dvb_ringbuffer_write(9)dvb_ringbuffer_write_user(9)dvb_ringbuffer_pkt_write(9)dvb_ringbuffer_pkt_read_user(9)dvb_ringbuffer_pkt_read(9)dvb_ringbuffer_pkt_dispose(9)dvb_ringbuffer_pkt_next(9)
like, that's the entire friend group and they all slay in their own way π β¨
ngl bestie, she's a tiny function but she's main character energy β knowing how many bytes are chillin' in your buffer is kind of a big deal ππ
and that's the page!! mwah π this lil drop came straight out of ./include/media, dated October 2026, and she's officially dvb_ringbuffer_avail(9) β periodt, go read your ringbuffers bestie ππ¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms