[Previous] [Contents] [Next]

resmgr_msgwrite()

Write a message to a client

Synopsis:

#include <sys/resmgr.h>

int resmgr_msgwrite( resmgr_context_t *ctp,
                     const void *msg,
                     int size,
                     int offset );

Library:

libc

Description:

The function resmgr_msgwrite() is a cover for MsgWrite(), and performs the exact same functionality.

Returns:

The same values as MsgWrite(); the number of bytes written, or -1 if an error occurs (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:

MsgWrite(), resmgr_msgwritev()


[Previous] [Contents] [Next]