seq_pad(9)
π seq_pad(9) β like, the Kernel API Manual page you didn't know you needed π
Ok so bestie, welcome to the Kernel API Manual β this is seq_pad(9), and honestly? She's a tiny little icon. No cap. Let's get into it β¨
πΈ NAME πΈ
seq_pad β writes padding spaces into a buffer π«Ά
Like, she literally just adds spaces. That's the whole job. And she does it flawlessly. π
β¨ SYNOPSIS β¨
void seq_pad (struct seq_file *m , char c );
Yes, that's the whole signature. Short. Sweet. Main character energy. π
π¦ ARGUMENTS π¦
mβ theseq_filethat identifies the buffer where the data should be written π Like, this is the destination bestie, the place the magic happens.cβ the byte to append after the padding, but only if it's non-zero β So if you pass a zero in there, that's a no-op, she's not appending anything extra, periodt.
π SEE ALSO π
Kernel file ./fs/seq_file.c β and omg the whole friend group shows up here, we love a supportive squad π«Ά:
seq_open(9)seq_read(9)seq_lseek(9)seq_release(9)seq_escape_mem(9)seq_mangle_path(9)seq_path(9)seq_file_path(9)seq_put_decimal_ull_width(9)seq_put_hex_ll(9)seq_write(9)seq_hlist_start(9)seq_hlist_start_head(9)seq_hlist_next(9)seq_hlist_start_rcu(9)seq_hlist_start_head_rcu(9)seq_hlist_next_rcu(9)seq_hlist_start_percpu(9)seq_hlist_next_percpu(9)
Every single one of them. Go read them. They slay too. π₯
Mwah π β this little page lives under ./fs, and it's stamped October 2026. That's the version and date, bestie, noted for the record. Now go pad those buffers and be iconic π§ββοΈπ
π¦ 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