seq_buf_putc(9)
π seq_buf_putc β the Kernel API Manual girlie's edition β¨
okay so bestie, welcome to the seq_buf_putc page from the Kernel API Manual π β it's giving "tiny function, big responsibility," and honestly? iconic.
β¨ NAME β¨
seq_buf_putc β sequence printing of a simple character π¦
πΈ SYNOPSIS πΈ
int seq_buf_putc (struct seq_buf *s , unsigned char c );
π ARGUMENTS π
sβ yourseq_bufdescriptor, aka the little buffer situation we're working with π«Άcβ the simple character you wanna record. one (1) single char. that's it. that's the vibe π
π DESCRIPTION π
So what does it do? It copies a single character into the sequence buffer. literally just one character. no cap, that's the whole plot π
β RETURN β
zeroon success β slay, we ate π-1on overflow β π the buffer said "no more room bestie"
π SEE ALSO π
Kernel file ./lib/seq_buf.c, plus the whole seq_buf friend group, all invited to the group chat:
seq_buf_can_fit(9)seq_buf_print_seq(9)seq_buf_vprintf(9)seq_buf_printf(9)seq_buf_do_printk(9)seq_buf_bprintf(9)seq_buf_puts(9)seq_buf_putmem(9)seq_buf_putmem_hex(9)seq_buf_path(9)seq_buf_to_user(9)seq_buf_hex_dump(9)
and that's the whole page, bestie π§π this little drop came to you from ./lib, dated October 2026, filed under seq_buf_putc(9) β main character energy, no notes π₯β¨
π¦ 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