summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/sys/i386_get_ioperm.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 12:39:25 +0000
committerru <ru@FreeBSD.org>2002-12-18 12:39:25 +0000
commit13107017098042a2164c72913b5390de7583af8e (patch)
tree4b365357db641dec27dace91ee066a19385d20c7 /lib/libc/i386/sys/i386_get_ioperm.2
parent8b908a309f8e4ba1498bf6972dc36199ffcc1505 (diff)
downloadFreeBSD-src-13107017098042a2164c72913b5390de7583af8e.zip
FreeBSD-src-13107017098042a2164c72913b5390de7583af8e.tar.gz
mdoc(7) police: "The .Fn system call".
Diffstat (limited to 'lib/libc/i386/sys/i386_get_ioperm.2')
-rw-r--r--lib/libc/i386/sys/i386_get_ioperm.26
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/i386/sys/i386_get_ioperm.2 b/lib/libc/i386/sys/i386_get_ioperm.2
index 76b9cd0..19ef481 100644
--- a/lib/libc/i386/sys/i386_get_ioperm.2
+++ b/lib/libc/i386/sys/i386_get_ioperm.2
@@ -40,7 +40,9 @@
.Ft int
.Fn i386_set_ioperm "unsigned int start" "unsigned int length" "int enable"
.Sh DESCRIPTION
+The
.Fn i386_get_ioperm
+system call
will return the permission for the process' I/O port space in the
.Fa *enable
argument. The port range starts at
@@ -48,7 +50,9 @@ argument. The port range starts at
and the number of contiguous entries will be returned in
.Fa *length .
.Pp
+The
.Fn i386_set_ioperm
+system call
will set access to a range of I/O ports described by the
.Fa start
and
@@ -59,9 +63,11 @@ argument.
.Sh RETURN VALUES
.Rv -std
.Sh ERRORS
+The
.Fn i386_get_ioperm
and
.Fn i386_set_ioperm
+system calls
will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
OpenPOWER on IntegriCloud