This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Write a message to a client
#include <sys/resmgr.h> int resmgr_msgwritev( resmgr_context_t *ctp, const iov_t *smsg, int sparts, int offset );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The resmgr_msgwritev() function is a cover function for MsgWritev(), and performs the exact same functionality. It's provided for consistency with resmgr_msgwrite().
The number of bytes written, or -1 if an error occurred (errno is set).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
MsgWritev(), resmgr_context_t, resmgr_msgread(), resmgr_msgreadv(), resmgr_msgwrite()
"Combine messages" in the Writing a Resource Manager chapter of the Programmer's Guide