Fill in the fields of an iov_t structure
#include <sys/types.h>
#include <unistd.h>
void SETIOV( iov_t *msg,
void *addr,
size_t len );
- msg
- A pointer to the iov_t structure structure that you
want to set.
- addr
- The value you want to use for the structure's iov_base member.
- len
- The value you want to use for the structure's iov_len member.
The SETIOV() macro fills in the fields of an iov_t
message structure. The iov_t structure consists of two fields:
typedef struct iovec {
void *iov_base;
size_t iov_len;
} iov_t;
 |
SETIOV() doesn't make a copy of the data that addr
points to; it just copies the pointer. |
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
Yes |
Signal handler |
Yes |
Thread |
Yes |
GETIOVBASE(),
GETIOVLEN(),
MsgKeyData(),
MsgReadv(),
MsgReceivev(),
MsgReplyv(),
MsgSendv(),
MsgWritev()
Message Passing
chapter of Getting Started with QNX Neutrino