wait_add()

Add a new wait entry to the client message buffer

Synopsis:

#include <sys/io-char.h>

TTYWAIT *wait_add(TTYWAIT **queue, 
                 resmgr_context_t *ctp, 
                 int offset);

Arguments:

queue
A pointer to the TTYWAIT queue that stores blocking clients waiting to process (open, read, write, or drain).
ctp
A pointer to the resmgr_context_t structure that you want to use.
offset
The offset into the client message buffer. This is the number of bytes already processed to/from the client's message buffer.

Description:

This function adds a new wait entry to the client message buffer.

Returns:

A pointer to the wait entry, or NULL if an error occurred.

Classification:

QNX Neutrino

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

See also:

wait_remove_rcvid()