![]() |
![]() |
![]() |
![]() |
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()
“Layers in a resource manager” in the Bones of a Resource Manager chapter of Writing a Resource Manager
Resource Managers chapter of Getting Started with QNX Neutrino
![]() |
![]() |
![]() |
![]() |