| Updated: October 28, 2024 |
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 );
void SETIOV_CONST( iov_t *msg,
const void *addr,
size_t len );
The SETIOV() macro fills in the fields of an iov_t message structure. The iov_t structure consists of the following fields:
typedef struct iovec {
union {
void *iov_base;
const void *iov_base_const;
};
_Sizet iov_len;
} iov_t;
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |