XS_MSG_SIZE(3)

NAME
xs_msg_size - retrieve message content size in bytes

SYNOPSIS

size_t xs_msg_size (xs_msg_t *msg);

DESCRIPTION

The xs_msg_size() function shall return the size in bytes of the content of the message object referenced by msg.

    Caution

    Never access xs_msg_t members directly, instead always use the xs_msg family of functions.

RETURN VALUE

Upon successful completion, xs_msg_size() shall return the size of the message content in bytes.

ERRORS

No errors are defined.

SEE ALSO

xs_msg_data(3) xs_msg_init(3) xs_msg_init_size(3) xs_msg_init_data(3) xs_msg_close(3) xs(7)

AUTHORS

The Crossroads documentation was written by Martin Sustrik <sustrik@250bpm.com[1]> and Martin Lucina <martin@lucina.net[2]>.

NOTES

1.  sustrik@250bpm.com
    mailto:sustrik@250bpm.com

2.  martin@lucina.net
    mailto:martin@lucina.net