| 1 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
| 2 |
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> |
| 3 |
<refentry id="iovec"> |
| 4 |
|
| 5 |
<refmeta> |
| 6 |
<refentrytitle>iovec</refentrytitle> |
| 7 |
<manvolnum>9S</manvolnum> |
| 8 |
</refmeta> |
| 9 |
|
| 10 |
<refnamediv> |
| 11 |
<refname>iovec</refname> |
| 12 |
<refpurpose>data storage structure for I/O using uio</refpurpose> |
| 13 |
</refnamediv> |
| 14 |
|
| 15 |
<refsynopsisdiv> |
| 16 |
<synopsis> |
| 17 |
#include &lt;sys/uio.h&gt; |
| 18 |
</synopsis> |
| 19 |
</refsynopsisdiv> |
| 20 |
|
| 21 |
<refsect1><title>Interface Level</title> |
| 22 |
<para> |
| 23 |
Architecture independent level 1 (DDI/DKI). |
| 24 |
</para> |
| 25 |
</refsect1> |
| 26 |
|
| 27 |
<refsect1><title>Description</title> |
| 28 |
|
| 29 |
<para> |
| 30 |
An <structname>iovec</structname> structure describes a data |
| 31 |
storage area for transfer in a |
| 32 |
<citerefentry><refentrytitle>uio</refentrytitle> |
| 33 |
<manvolnum>9S</manvolnum> |
| 34 |
</citerefentry> |
| 35 |
structure. Conceptually, |
| 36 |
it may be thought of as a base address and length specification. |
| 37 |
</para> |
| 38 |
|
| 39 |
</refsect1> |
| 40 |
<refsect1><title>Structure Members</title> |
| 41 |
|
| 42 |
<programlisting> |
| 43 |
caddr_t iov_base; /* base address of the data storage area */ |
| 44 |
/* represented by the iovec structure */ |
| 45 |
int iov_len; /* size of the data storage area in bytes */ |
| 46 |
</programlisting> |
| 47 |
|
| 48 |
<para>&hellip;</para> |
| 49 |
</refsect1> |
| 50 |
</refentry> |