 |
Index for Section 9s |
|
 |
Alphabetical listing for U |
|
 |
Bottom of page |
|
uio(9s)
NAME
uio - General: Describes I/O, either single vector or multiple vectors
SYNOPSIS
____________________________
Member Name Data Type
____________________________
uio_iov struct iovec *
uio_iovcnt int
uio_offset off_t
uio_segflg enum uio_seg
uio_resid int
uio_rw enum uio_rw
____________________________
MEMBERS
uio_iov
Specifies a pointer to the first iovec structure. The iovec structure
has two members: one that specifies the address of the segment and
another that specifies the size of the segment. The system allocates
contiguous iovec structures for a given transfer.
uio_iovcnt
Specifies the number of iovec structures for this transfer.
uio_offset
Specifies the offset within the file.
uio_segflg
Specifies the segment type. This member can be set to one of the
following values: UIO_USERSPACE (the segment is from the user data
space), UIO_SYSSPACE (the segment is from the system space), or
UIO_USERISPACE (the segment is from the user I space).
uio_resid
Specifies the number of bytes that still need to be transferred.
uio_rw
Specifies whether the transfer is a read or a write. This member is set
by read and write system calls according to the corresponding field in
the file descriptor. This member can be set to one of the following
values: UIO_READ (read transfer), UIO_WRITE (write transfer), or
UIO_AIORW (Alpha I/O read/write transfer).
DESCRIPTION
The uio data structure describes, either singler-vector or multiple-vector
I/O. Typically, kernel modules do not manipulate the members of this data
structure. However, the data structure is presented here for the purpose of
understanding the uiomove routine, which operates on the members of the uio
structure.
FILES
<sys/uio.h>
SEE ALSO
Routines: uiomove(9r)
 |
Index for Section 9s |
|
 |
Alphabetical listing for U |
|
 |
Top of page |
|