i386_get_ioperm.2 (60078) | i386_get_ioperm.2 (79754) |
---|---|
1.\" Copyright (c) 1998 Jonathan Lemon 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 1998 Jonathan Lemon 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/lib/libc/i386/sys/i386_get_ioperm.2 60078 2000-05-06 12:07:59Z phantom $ | 25.\" $FreeBSD: head/lib/libc/i386/sys/i386_get_ioperm.2 79754 2001-07-15 07:53:42Z dd $ |
26.\" 27.Dd July 27, 1998 28.Os 29.Dt I386_GET_IOPERM 2 30.Sh NAME 31.Nm i386_get_ioperm , 32.Nm i386_set_ioperm 33.Nd manage per-process access to the i386 I/O port space --- 11 unchanged lines hidden (view full) --- 45.Fa *enable 46argument. The port range starts at 47.Fa start 48and the number of contiguous entries will be returned in 49.Fa *length . 50.Pp 51.Fn i386_set_ioperm 52will set access to a range of I/O ports described by the | 26.\" 27.Dd July 27, 1998 28.Os 29.Dt I386_GET_IOPERM 2 30.Sh NAME 31.Nm i386_get_ioperm , 32.Nm i386_set_ioperm 33.Nd manage per-process access to the i386 I/O port space --- 11 unchanged lines hidden (view full) --- 45.Fa *enable 46argument. The port range starts at 47.Fa start 48and the number of contiguous entries will be returned in 49.Fa *length . 50.Pp 51.Fn i386_set_ioperm 52will set access to a range of I/O ports described by the |
53.Fa start 54and | 53.Fa start 54and |
55.Fa length 56arguments to the state specified by the 57.Fa enable 58argument. 59.Sh RETURN VALUES 60Upon successful completion, 61.Fn i386_get_ioperm 62and --- 5 unchanged lines hidden (view full) --- 68is set to indicate the error. 69.Sh ERRORS 70.Fn i386_get_ioperm 71and 72.Fn i386_set_ioperm 73will fail if: 74.Bl -tag -width Er 75.It Bq Er EINVAL | 55.Fa length 56arguments to the state specified by the 57.Fa enable 58argument. 59.Sh RETURN VALUES 60Upon successful completion, 61.Fn i386_get_ioperm 62and --- 5 unchanged lines hidden (view full) --- 68is set to indicate the error. 69.Sh ERRORS 70.Fn i386_get_ioperm 71and 72.Fn i386_set_ioperm 73will fail if: 74.Bl -tag -width Er 75.It Bq Er EINVAL |
76An invalid range was specified by the | 76An invalid range was specified by the |
77.Fa start 78or 79.Fa length 80arguments. 81.It Bq Er EPERM 82The caller of i386_set_ioperm was not the superuser. 83.El 84.Sh AUTHORS 85This man page was written by 86.An Jonathan Lemon . | 77.Fa start 78or 79.Fa length 80arguments. 81.It Bq Er EPERM 82The caller of i386_set_ioperm was not the superuser. 83.El 84.Sh AUTHORS 85This man page was written by 86.An Jonathan Lemon . |