IXP_FCALL2MSG(3)

πŸ“¦ version 0-unstable-2022-04, in nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, we're in the Library Functions Manual, and this page is IXP_FCALL2MSG(3). The stars are ixp_fcall2msg and ixp_msg2fcall β€” the 9P message pack/unpack duo. ✨

✨ SYNOPSIS ✨

#include <ixp.h>

uint ixp_fcall2msg(IxpMsg *msg, IxpFcall *fcall);

uint ixp_msg2fcall(IxpMsg *msg, IxpFcall *fcall);

πŸ¦‹ DESCRIPTION πŸ¦‹

These functions pack or unpack a 9P protocol message. That's the whole assignment, fr fr.

When they do their thing, the message gets set to the appropriate mode, and its position gets set to the beginning of its buffer. Like, it's giving "reset and ready" energy. πŸ’…

πŸŽ€ RETURN VALUE πŸŽ€

On success, you get the size of the message. On failure? You get 0. That's the vibe check, no cap. 😭

🌈 SEE ALSO 🌈


xoxo, this was the libixp Manual πŸ’–, dated 2012 Dec, signing off as IXP_FCALL2MSG(3) πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from