append_tid(9)
π¦ 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 π₯
- Kernel file
./tools/testing/selftests/bpf/network_helpers.h open_netns(9)csum_tcpudp_magic(9)csum_ipv6_magic(9)build_udp_v4_csum(9)build_udp_v6_csum(9)tc_prog_attach(9)
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
- 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