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 or 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 OS
| Safety: | |
|---|---|
| Cancellation point | No |
| Signal handler | No |
| Thread | No |
Page updated:
