struct iovec on OpenBSD-4.5

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Wed, 07 Jul 2010 10:52:46 -0600

On 07/07/2010 09:24 AM, noc_at_squid-cache.org wrote:
> ../../../src/ipc/TypedMsgHdr.h:52: error: field `ios' has incomplete type

Can somebody with OpenBSD access lookup which header(s) are needed to
completely define "struct iovec", please? The structure is used for UDS
I/O. According to "man recvmsg" on Linux, the structure is defined in
<sys/socket.h> but OpenBSD must be different.

> The recvmsg() call uses a msghdr structure to minimize the number of
> directly supplied arguments. This structure is defined as follows in
> <sys/socket.h>:
>
> struct iovec { /* Scatter/gather array items */
> void *iov_base; /* Starting address */
> size_t iov_len; /* Number of bytes to transfer */
> };
> ...

Thank you,

Alex.
Received on Wed Jul 07 2010 - 16:53:45 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 08 2010 - 12:00:08 MDT