[Previous] [Contents] [Next]

resmgr_msgwritev()

Write a message to a client

Synopsis:

#include <sys/resmgr.h>

int resmgr_msgwritev( resmgr_context_t *ctp,
                      const iov_t *smsg,
                      int sparts,
                      int offset );

Library:

libc

Description:

The resmgr_msgwritev() function is a cover function for MsgWritev(), and performs the exact same functionality. It is provided for consistency with resmgr_msgwrite().

Returns:

The number of bytes written, or -1 if an error occurred (errno is set).

Errors:

EFAULT
A fault occurred in the sender's address space when a server tried to access the sender's return message buffer.
ESRCH
The thread indicated by ctp -> rcvid does not exist or has had its connection detached.
ESRVRFAULT
A fault occurred when the kernel tried to access the buffers provided.

Classification:

QNX 6

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

MsgWritev(), resmgr_msgwrite()


[Previous] [Contents] [Next]