ioperm.2: Remove ancient Linux libc details

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-29 10:04:51 +02:00
parent cf17af8246
commit abaa5fb051
1 changed files with 3 additions and 7 deletions

View File

@ -35,9 +35,6 @@
.SH NAME .SH NAME
ioperm \- set port input/output permissions ioperm \- set port input/output permissions
.SH SYNOPSIS .SH SYNOPSIS
.B #include <unistd.h>
/* for libc5 */
.br
.B #include <sys/io.h> .B #include <sys/io.h>
/* for glibc */ /* for glibc */
.sp .sp
@ -110,10 +107,9 @@ The
.I /proc/ioports .I /proc/ioports
file shows the I/O ports that are currently allocated on the system. file shows the I/O ports that are currently allocated on the system.
Libc5 treats it as a system call and has a prototype in Glibc has an
.IR <unistd.h> . .BR ioperm ()
Glibc1 does not have a prototype. prototype both in
Glibc2 has a prototype both in
.I <sys/io.h> .I <sys/io.h>
and in and in
.IR <sys/perm.h> . .IR <sys/perm.h> .