n_hdlc_buf_put(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… n_hdlc_buf_put โ€” kernel API manual, but make it make sense โœจ

okay so bestie, welcome to the n_hdlc_buf_put(9) page ๐Ÿ’– this is one of those little kernel helper functions from the n_hdlc fam, and honestly? it's giving "small but mighty" ๐Ÿฆ‹ the way this whole page lives in section 9 (kernel API manual) and it's literally just one job โ€” but we're gonna do it right, no cap.


๐ŸŒธ NAME ๐ŸŒธ

n_hdlc_buf_put โ€” add the specified HDLC buffer to the tail of the specified list ๐ŸŽ€

like, that's it. that's the whole vibe. you got a buffer, you got a list, and the buffer goes to the end of that list. tail-end behaviour, main character energy ๐Ÿ”ฅ


โœจ SYNOPSIS โœจ

void n_hdlc_buf_put (struct n_hdlc_buf_list *buf_list , struct
       n_hdlc_buf *buf );

it's a void function, so it doesn't hand you anything back โ€” it just does the thing and dips ๐Ÿ™ˆ no return value to obsess over, bestie.


๐Ÿฉท ARGUMENTS ๐Ÿฉท

  • buf_list โ€” pointer to the buffer list ๐Ÿ’… this is the list you're appending to. the destination. the moment.
  • buf โ€” pointer to the buffer ๐ŸŽ€ this is the actual buffer getting tacked onto the tail of that list. the little guy being added. the icon.

both of them are pointers, both of them matter, and yeah โ€” miss either one and nothing about this works, iykyk ๐Ÿ’€


๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

fr fr, go read the whole little friend group if you wanna understand the buffer lifecycle โ€” n_hdlc_buf_get(9) and n_hdlc_buf_return(9) are right there waving at you ๐Ÿ‘‘ and struct n_hdlc(9) is the parent of this whole saga, so likeโ€ฆ start there if you're lost ๐ŸŒˆ

ngl, this page is short โ€” but that's not a red flag, it's just a very focused queen doing one job ๐Ÿ’…

aaand that's the page, bestie ๐Ÿซถ this was section 9 of the kernel API manual, living under ./drivers/tty, dated October 2026 ๐Ÿ˜ญ โ€” go drink some water and go read the rest of the n_hdlc docs, ily, periodt ๐Ÿ“๐Ÿ’œ

๐Ÿ“ฆ where this page comes from