iovec

Contains information about a send or receive buffer.

Service:Networking

Syntax

  #include <sys/uio.h>
  
  typedef struct iovec
  {
     caddr_t  *iov_base; 
     int       iov_len; 
  } iovec_t;
  

Fields

iov_base

Points to the send or receive buffer.

iov_len

Specifies the length of the send or receive buffer.

Remarks

The readv and writev functions and the msghdr structure use this structure.