append_tid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ append_tid: bestie edition πŸ’…

okay so this is the append_tid(9) page from the Kernel API Manual, and it's literally here to help you append a thread ID to a string. no cap. 🫢


🌸 NAME 🌸

append_tid β€” append thread ID to the given string. periodt. πŸ’–

✨ SYNOPSIS ✨

int append_tid (char *str , size_t sz );

πŸŽ€ ARGUMENTS πŸŽ€

  • str β€” the string you're extending, bestie. ✨
  • sz β€” the string's size. that's the size of the string, iykyk. πŸ’…

πŸ’« DESCRIPTION πŸ’«

okay so 8 characters are used to append the thread ID (7 digits + ' '). the way that's such a specific little format. 😭

it returns -1 on errors, and 0 otherwise. that's the whole vibe check. βœ…

πŸ”₯ SEE ALSO πŸ”₯


mwah 🫢 this cute little page lives in ./tools/testing/selftests/bpf, dated October 2026, and it's the append_tid(9) manual page. go off, bestie. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from