| XS_MSG_SIZE(3) | Crossroads I/O Manual | XS_MSG_SIZE(3) |
xs_msg_size - retrieve message content size in bytes
size_t xs_msg_size (xs_msg_t *msg);
The xs_msg_size() function shall return the size in bytes of the content of the message object referenced by msg.
Never access xs_msg_t members directly, instead always use the xs_msg family of functions.
Upon successful completion, xs_msg_size() shall return the size of the message content in bytes.
No errors are defined.
xs_msg_data(3) xs_msg_init(3) xs_msg_init_size(3) xs_msg_init_data(3) xs_msg_close(3) xs(7)
The Crossroads documentation was written by Martin Sustrik <sustrik@250bpm.com[1]> and Martin Lucina <martin@lucina.net[2]>.
| 06/13/2012 | Crossroads I/O 1.2.0 |