STRUCT SEQ_BUF(9)
π NAME π
okay so bestie, welcome to struct seq_buf β the seq buffer structure β¨ literally the little struct that holds your buffer, its size, and how much you've filled it. she's simple, she's iconic, she's giving "three fields and a dream" π
this one lives in the Kernel API Manual, and we're gonna walk through it together, no cap π«Ά
β¨ SYNOPSIS β¨
struct seq_buf {
char *buffer;
size_t size;
size_t len;
};
that's her!! that's the whole struct!! look at her go ππ three members, zero notes, ate and left no crumbs π
π MEMBERS π
bufferβ pointer to the buffer π like, the actual memory where the data hangs outsizeβ size of the buffer πΈ how much room she's got in totallenβ the amount of data inside the buffer π how much is actually in there right now, bestie
π SEE ALSO π
- Kernel file
./include/linux/seq_buf.hπ seq_buf_str(9)seq_buf_get_buf(9)seq_buf_commit(9)seq_buf_pop(9)
like, go read those next, iykyk π₯
and that's the vibe check, bestie π¦ this page came from ./include/linux, dated October 2026, and it's filed under struct seq_buf(9) β periodt πβ¨
π¦ 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