-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
.\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
.\" Portions extracted from linux/kernel/ioport.c (no copyright notice).
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" Modified Tue Aug 1 16:47 1995 by Jochen Karrer
.\" <cip307@cip.physik.uni-wuerzburg.de>
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH IOPL 2 2004\-05\-27 Linux "Linux Programmer's Manual"
+.TH IOPL 2 2013\-03\-15 Linux "Linux Programmer's Manual"
.SH 名前
iopl \- I/O 特権レベルを変更する
.SH 書式
.sp
\fBint iopl(int \fP\fIlevel\fP\fB);\fP
.SH 説明
-\fBiopl\fP() は呼び出し元のプロセスの I/O 特権レベルを \fIlevel\fP で指定した値に変更する。
+\fBiopl\fP() changes the I/O privilege level of the calling process, as
+specified by the two least significant bits in \fIlevel\fP.
この関数は 8514 互換の X サーバを Linux で動作させるために必要である。 なぜならこの X サーバは 65536 個の I/O
ポート全てへのアクセスを要求するので \fBioperm\fP(2) 関数では不十分だからである。
このシステムコールは実装されていない。
.TP
\fBEPERM\fP
-呼び出し元プロセスに \fBiopl\fP() を呼び出すのに十分な権限がなかった。 \fBiopl\fP() を呼び出すには \fBCAP_SYS_RAWIO\fP
-ケーパビリティが必要である。
+The calling process has insufficient privilege to call \fBiopl\fP(); the
+\fBCAP_SYS_RAWIO\fP capability is required to raise the I/O privilege level
+above its current value.
.SH 準拠
-\fBiopl\fP() は Linux 特有の関数であり、移植を意図したプログラムで 使用してはならない。
+\fBiopl\fP() is Linux\-specific and should not be used in programs that are
+intended to be portable.
.SH 注意
libc5 ではシステムコールとして扱い \fI<unistd.h>\fP にプロトタイプが存在している。 glibc1
にはプロトタイプは存在していない。 glibc2 は \fI<sys/io.h>\fP と \fI<sys/perm.h>\fP
の両方にプロトタイプを持っている。 後者は i386 のみで利用可能なので、使用すべきではない。
.SH 関連項目
-\fBioperm\fP(2), \fBcapabilities\fP(7)
+\fBioperm\fP(2), \fBoutb\fP(2), \fBcapabilities\fP(7)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。