aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/namei.98
-rw-r--r--share/man/man9/uio.924
2 files changed, 16 insertions, 16 deletions
diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9
index 33f753f14499..c9410045da21 100644
--- a/share/man/man9/namei.9
+++ b/share/man/man9/namei.9
@@ -319,6 +319,10 @@ function.
If successful,
.Fn namei
will return 0, otherwise it will return an error.
+.Sh FILES
+.Bl -tag
+.It Pa src/sys/kern/vfs_lookup.c
+.El
.Sh ERRORS
Errors which
.Fn namei
@@ -343,10 +347,6 @@ An attempt is made to open a directory with write mode specified.
.It Bq Er EROFS
An attempt is made to modify a file or directory on a read-only file system.
.El
-.Sh FILES
-.Bl -tag
-.It Pa src/sys/kern/vfs_lookup.c
-.El
.Sh SEE ALSO
.Xr uio 9 ,
.Xr uma 9 ,
diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9
index 0ddb2d39f999..2e79f9cca9fb 100644
--- a/share/man/man9/uio.9
+++ b/share/man/man9/uio.9
@@ -115,18 +115,6 @@ space.
On success
.Fn uiomove
will return 0, on error it will return an appropriate errno.
-.Sh ERRORS
-.Fn uiomove
-will fail and return the following error code if:
-.Bl -tag -width Er
-.It Bq Er EFAULT
-The invoked
-.Xr copyin 9
-or
-.Xr copyout 9
-returned
-.Er EFAULT
-.El
.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
@@ -167,6 +155,18 @@ fooread(dev_t dev, struct uio *uio, int flag)
return (rv);
}
.Ed
+.Sh ERRORS
+.Fn uiomove
+will fail and return the following error code if:
+.Bl -tag -width Er
+.It Bq Er EFAULT
+The invoked
+.Xr copyin 9
+or
+.Xr copyout 9
+returned
+.Er EFAULT
+.El
.Sh SEE ALSO
.Xr read 2 ,
.Xr readv 2 ,