uio.9: Improve description of uio_rw flags
The direction of the data transfer in uio(9) can be confusing, so state explicitly the difference between UIO_READ and UIO_WRITE. Reviewed by: ziaee MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D52996
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd March 11, 2017
|
.Dd October 22, 2025
|
||||||
.Dt UIO 9
|
.Dt UIO 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -107,10 +107,14 @@ The I/O vector points into the kernel address space.
|
|||||||
Do not copy, already in object.
|
Do not copy, already in object.
|
||||||
.El
|
.El
|
||||||
.It Va uio_rw
|
.It Va uio_rw
|
||||||
The direction of the desired transfer, either
|
The direction of the desired transfer.
|
||||||
.Dv UIO_READ
|
The supported flags are:
|
||||||
or
|
.Bl -tag -width "UIO_WRITE"
|
||||||
.Dv UIO_WRITE .
|
.It Dv UIO_READ
|
||||||
|
Transfer data from the buffers into the I/O vectors.
|
||||||
|
.It Dv UIO_WRITE
|
||||||
|
Transfer data from the I/O vectors into the buffers.
|
||||||
|
.El
|
||||||
.It Va uio_td
|
.It Va uio_td
|
||||||
The pointer to a
|
The pointer to a
|
||||||
.Vt "struct thread"
|
.Vt "struct thread"
|
||||||
|
|||||||
Reference in New Issue
Block a user