rpc_ntop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to rpc_ntop(9) from the Kernel API Manual πŸ’… it’s literally here to construct a presentation address in @buf, and the whole page has main-character energy, no cap.

πŸŽ€ NAME πŸŽ€

rpc_ntop β€” construct a presentation address in @buf. periodt.

✨ SYNOPSIS ✨

size_t rpc_ntop (const struct sockaddr *sap , char *buf , const size_t buflen );

πŸ’– ARGUMENTS πŸ’–

  • sap β€” socket address. That’s the socket-address input, lowkey essential.
  • buf β€” construction area. This is where the string gets planted, bestie.
  • buflen β€” size of buf, in bytes. Keep an eye on it, iykyk.

πŸ¦‹ DESCRIPTION πŸ¦‹

So the way that rpc_ntop() works: it plants a NUL-terminated string in buf and returns the length of the string, excluding the NUL. Otherwise zero is returned. That’s the vibe β€” string goes in, length comes out, and otherwise you get zero. fr fr.

🌈 SEE ALSO 🌈

kiss kiss πŸ’‹ β€” this page comes from ./net/sunrpc and is dated October 2026. bye bestie 🫢

πŸ“¦ where this page comes from