rpc_sockaddr2uaddr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to rpc_sockaddr2uaddr(9) from the Kernel API Manual β€” it’s literally giving β€œconstruct a universal address string from a socket address” energy, and we’re obsessed. πŸ¦‹βœ¨

🌸 NAME 🌸

rpc_sockaddr2uaddr β€” Construct a universal address string from @sap. πŸ’…

✨ SYNOPSIS ✨

char * rpc_sockaddr2uaddr (const struct sockaddr *sap , gfp_t gfp_flags
);

πŸŽ€ ARGUMENTS πŸŽ€

  • sap β€” socket address. that’s the address bestie, the thing being converted. 🫢
  • gfp_flags β€” allocation mode. the allocation vibe check, no cap. 🌈

πŸ’– DESCRIPTION πŸ’–

It returns a NUL-terminated string in dynamically allocated memory; otherwise NULL is returned if an error occurred. 😭

And bestie, the caller must free the returned string β€” that’s your responsibility, fr fr. πŸ§šβ€β™€οΈ

πŸ‘‘ SEE ALSO πŸ‘‘

go give these a read too, iykyk πŸ‘‘βœ¨


mwah πŸ’‹ β€” source/version: ./net/sunrpc, date: October 2026, page: rpc_sockaddr2uaddr(9). stay allocated, bestie πŸ’…βœ¨

πŸ“¦ where this page comes from