![]() |
![]() |
![]() |
![]() |
![]() |
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_msgwrite( resmgr_context_t *ctp,
const void *msg,
int size,
int offset );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The function resmgr_msgwrite() is a cover for MsgWrite() and performs the exact same functionality.
The same values as MsgWrite(); the number of bytes written, or -1 if an error occurs (errno is set).
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
MsgWrite(), resmgr_context_t, resmgr_msgread(), resmgr_msgreadv(), resmgr_msgwritev()
"Combine messages" in the Writing a Resource Manager chapter of the Programmer's Guide
![]() |
![]() |
![]() |
![]() |