Ixp_fcall2msg, ixp_msg2fcall
#include <ixp.h> uint ixp_fcall2msg(IxpMsg *msg, IxpFcall *fcall); uint ixp_msg2fcall(IxpMsg *msg, IxpFcall *fcall);
These functions pack or unpack a 9P protocol message. The message is set to the appropriate mode and its position is set to the beginning of its buffer.
These functions return the size of the message on success and 0 on failure.