summaryrefslogtreecommitdiffstats
path: root/sys/sys/uio.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2006-11-29 19:08:45 +0000
committeralfred <alfred@FreeBSD.org>2006-11-29 19:08:45 +0000
commit397a5b85eeac3131904c7a8120ef31aa197b9785 (patch)
treedcf92eb47cd2e62554564c6732cacd7730cc380e /sys/sys/uio.h
parentbcf19b8816ed961fb5b7f4e51bbe80108f3a43ab (diff)
downloadFreeBSD-src-397a5b85eeac3131904c7a8120ef31aa197b9785.zip
FreeBSD-src-397a5b85eeac3131904c7a8120ef31aa197b9785.tar.gz
Document struct uio.h entries.
Diffstat (limited to 'sys/sys/uio.h')
-rw-r--r--sys/sys/uio.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index b5c0ece..c46cc6f 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -61,13 +61,13 @@ enum uio_seg {
#ifdef _KERNEL
struct uio {
- struct iovec *uio_iov;
- int uio_iovcnt;
- off_t uio_offset;
- int uio_resid;
- enum uio_seg uio_segflg;
- enum uio_rw uio_rw;
- struct thread *uio_td;
+ struct iovec *uio_iov; /* scatter/gather list */
+ int uio_iovcnt; /* length of scatter/gather list */
+ off_t uio_offset; /* offset in target object */
+ int uio_resid; /* remaining bytes to process */
+ enum uio_seg uio_segflg; /* address space */
+ enum uio_rw uio_rw; /* operation */
+ struct thread *uio_td; /* owner */
};
/*
OpenPOWER on IntegriCloud