rpc_sockaddr2uaddr(9)
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 π
- Kernel file
./net/sunrpc/addr.c rpc_ntop(9)rpc_pton(9)rpc_uaddr2sockaddr(9)
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
- 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