summaryrefslogtreecommitdiffstats
path: root/share/man/man9/uio.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-21 08:36:40 +0000
committerru <ru@FreeBSD.org>2005-01-21 08:36:40 +0000
commit7a3e657c56eb965857c0eaa67dfd6280cc69f93b (patch)
tree36796da3893db6597f28e6ae2ca01d40b60b73cb /share/man/man9/uio.9
parente892f32ba81eb2390a9e34d8cea91ef6c95ce340 (diff)
downloadFreeBSD-src-7a3e657c56eb965857c0eaa67dfd6280cc69f93b.zip
FreeBSD-src-7a3e657c56eb965857c0eaa67dfd6280cc69f93b.tar.gz
Sort sections.
Diffstat (limited to 'share/man/man9/uio.9')
-rw-r--r--share/man/man9/uio.918
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9
index 0126754..b567067 100644
--- a/share/man/man9/uio.9
+++ b/share/man/man9/uio.9
@@ -111,6 +111,15 @@ for the associated thread; used if
indicates that the transfer is to be made from/to a process's address
space.
.El
+.Sh RETURN VALUES
+.Fn uiomove
+can return
+.Er EFAULT
+from the invoked
+.Xr copyin 9
+or
+.Xr copyout 9
+in case the transfer was to/from a process's address space.
.Sh EXAMPLES
The idea is that the driver maintains a private buffer for its data,
and processes the request in chunks of maximal the size of this
@@ -151,15 +160,6 @@ fooread(dev_t dev, struct uio *uio, int flag)
return (rv);
}
.Ed
-.Sh RETURN VALUES
-.Fn uiomove
-can return
-.Er EFAULT
-from the invoked
-.Xr copyin 9
-or
-.Xr copyout 9
-in case the transfer was to/from a process's address space.
.Sh SEE ALSO
.Xr read 2 ,
.Xr readv 2 ,
OpenPOWER on IntegriCloud