---
name: "ixp_fcall2msg"
section: "3"
platform: "linux"
package: "libixp-dev"
version: "0.6~20121202+hg148-5"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/ixp_fcall2msg"
---

# ixp\_fcall2msg(3)

## NAME

ixp\_fcall2msg, ixp\_msg2fcall

## 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. The message is set to the appropriate mode and its position is set to the beginning of its buffer.

## RETURN VALUE

These functions return the size of the message on success and 0 on failure.

## SEE ALSO

[IxpMsg(3)](/IxpMsg/3.md), [ixp\_pfcall(3)](/ixp_pfcall/3.md)
