sockaddr_to_str(9)
πΈ NAME πΈ
okay so bestie, this is sockaddr_to_str(9) β yes, from the Kernel API Manual β and it's literally here to convert sockaddr to a string β¨ that's the whole assignment, no cap.
π¦ SYNOPSIS π¦
int sockaddr_to_str (const struct sockaddr *addr , char *buf , size_t
len );
π ARGUMENTS π
addrβ thesockadddrstructure to be converted. (yes,sockadddr, we're keeping it exactly as written π )bufβ string containing socket addr.lenβ string length.
π DESCRIPTION π
okay so the return value is the number of characters written into buf not including the trailing ' ' π. If len is == 0 the function returns 0.. β yep, two dots and all, bestie π.
π₯ SEE ALSO π₯
- Kernel file
./drivers/infiniband/ulp/rtrs/rtrs.c rtrs_str_to_sockaddr(9),rtrs_addr_to_str(9),rtrs_addr_to_sockaddr(9)
so yeah, that's the page π«Ά source/version: ./drivers/infiniband/ulp/rtrs, dated October 2026, manual name sockaddr_to_str(9) β catch u later bestie, mwah πβ¨
π¦ 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