OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man2 / ioctl_list.2
index d4df508..bbe3b6a 100644 (file)
@@ -40,10 +40,9 @@ ioctl_list \- Linux/i386 カーネルの ioctl のリスト
 コールの一覧です。このリストは \fI</usr/include/{asm,linux}/*.h>\fP にある 421 の ioctl
 を含んでいます。全ての ioctl に対して、数値、名称、 引き数の型を列挙してあります。
 .PP
-An argument type of \fIconst struct foo\ *\fP means the argument is input to
-the kernel.  \fIstruct foo\ *\fP means the kernel outputs the argument.  If the
-kernel uses the argument for both input and output, this is marked with
-\fI//\ I\-O\fP.
+引き数型 \fIconst struct foo\ *\fP は、その引き数がカーネルへの入力である事を意味します。また、 \fIstruct foo\ *\fP
+は、その引き数がカーネルからの出力である事を意味します。 カーネルがその引き数を入力と出力の両方に使用する場合は、 \fI//\ I\-O\fP
+マークを付けてあります。
 .PP
 いくつかの ioctl は複数の構造体の引き数を必要としたり、値を返したり します。これらには \fI//\ MORE\fP マークを付けて、
 さらに分離したセクションで説明してあります。
@@ -727,15 +726,13 @@ l l l.
 // More arguments.  いくつかの ioctl は追加のポインタを含む構造体へのポインタを使用します。
 ここでこれらをアルファベット順に説明します。
 
-\fBCDROMREADAUDIO\fP takes an input pointer \fIconst struct cdrom_read_audio\ *\fP.  The \fIbuf\fP field points to an output buffer of length \fInframes\ *
-CD_FRAMESIZE_RAW\fP.
+\fBCDROMREADAUDIO\fP は入力ポインタ \fIconst struct cdrom_read_audio\ *\fP を使用します。 \fIbuf\fP
+フィールドは大きさ \fInframes\ * CD_FRAMESIZE_RAW\fP の出力バッファへのポインタです。
 
-\fBCDROMREADCOOKED\fP, \fBCDROMREADMODE1\fP, \fBCDROMREADMODE2\fP, and
-\fBCDROMREADRAW\fP take an input pointer \fIconst struct cdrom_msf\ *\fP.  They
-use the same pointer as an output pointer to \fIchar []\fP.  The length varies
-by request.  For \fBCDROMREADMODE1\fP, most drivers use CD_FRAMESIZE, but the
-Optics Storage driver uses OPT_BLOCKSIZE instead (both have the numerical
-value 2048).
+\fBCDROMREADCOOKED\fP, \fBCDROMREADMODE1\fP, \fBCDROMREADMODE2\fP, \fBCDROMREADRAW\fP
+は入力ポインタ \fIconst struct cdrom_msf\ *\fP を使用します。これらは同じポインタを \fIchar []\fP
+への出力ポインタとして使用します。 長さは要求によって変化します。 \fBCDROMREADMODE1\fP には、多くのデバイスが CD_FRAMESIZE
+を使用しますが、光学記憶装置 (光ディスク) のドライバは OPT_BLOCKSIZE を使用します (どちらも同じ値で 2048 です)。
 .nf
 
     CDROMREADCOOKED    char [CD_FRAMESIZE]
@@ -745,8 +742,8 @@ value 2048).
 
 .fi
 \fBEQL_ENSLAVE\fP, \fBEQL_EMANCIPATE\fP, \fBEQL_GETSLAVECFG\fP, \fBEQL_SETSLAVECFG\fP,
-\fBEQL_GETMASTERCFG\fP, and \fBEQL_SETMASTERCFG\fP take a \fIstruct ifreq\ *\fP.  The
-\fIifr_data\fP field is a pointer to another structure as follows:
+\fBEQL_GETMASTERCFG\fP, \fBEQL_SETMASTERCFG\fP は \fIstruct ifreq\ *\fP を使用します。
+\fIifr_data\fP フィールドは以下に示す別の構造体へのポインタです:
 .nf
 
     EQL_ENSLAVE         const struct slaving_request *
@@ -757,20 +754,17 @@ value 2048).
     EQL_SETMASTERCFG    const struct master_config *
 
 .fi
-\fBFDRAWCMD\fP takes a \fIstruct floppy raw_cmd\ *\fP.  If \fIflags & FD_RAW_WRITE\fP
-is nonzero, then \fIdata\fP points to an input buffer of length \fIlength\fP.  If
-\fIflags & FD_RAW_READ\fP is nonzero, then \fIdata\fP points to an output buffer
-of length \fIlength\fP.
+\fBFDRAWCMD\fP は \fIstruct floppy raw_cmd\ *\fP を使用します。 \fIflags & FD_RAW_WRITE\fP
+がゼロ以外の場合、 \fIdata\fP は大きさ \fIlength\fP の入力バッファへのポインタになります。 \fIflags & FD_RAW_READ\fP
+がゼロ以外の場合、 \fIdata\fP は大きさ \fIlength\fP の出力バッファへのポインタになります。
 
-\fBGIO_FONTX\fP and \fBPIO_FONTX\fP take a \fIstruct console_font_desc\ *\fP or a
-\fIconst struct console_font_desc\ *\fP, respectively.  \fIchardata\fP points to a
-buffer of \fIchar [charcount]\fP.  This is an output buffer for \fBGIO_FONTX\fP
-and an input buffer for \fBPIO_FONTX\fP.
+\fBGIO_FONTX\fP, \fBPIO_FONTX\fP はそれぞれ \fIstruct console_font_desc\ *\fP と \fIconst
+struct console_font_desc\ *\fP を使用します。 \fIchardata\fP は \fIchar [charcount]\fP
+バッファへのポインタです。 これは \fBGIO_FONTX\fP の出力バッファと \fBPIO_FONTX\fP の入力バッファです。
 
-\fBGIO_UNIMAP\fP and \fBPIO_UNIMAP\fP take a \fIstruct unimapdesc\ *\fP or a \fIconst
-struct unimapdesc\ *\fP, respectively.  \fIentries\fP points to a buffer of
-\fIstruct unipair [entry_ct]\fP.  This is an output buffer for \fBGIO_UNIMAP\fP
-and an input buffer for \fBPIO_UNIMAP\fP.
+\fBGIO_UNIMAP\fP, \fBPIO_UNIMAP\fP はそれぞれ \fIstruct unimapdesc\ *\fP と \fIconst struct
+unimapdesc\ *\fP を使用します。 \fIentries\fP は \fIstruct unipair [entry_ct]\fP
+バッファへのポインタです。 これは \fBGIO_UNIMAP\fP の出力バッファと \fBPIO_UNIMAP\fP の入力バッファです。
 
 KDADDIO, KDDELIO, KDDISABIO, KDENABIO は I/O ポートへのアクセスを
 可能/不可能にします。これらは本質的に、'ioperm' への別の インターフェースです。
@@ -778,9 +772,8 @@ KDADDIO, KDDELIO, KDDISABIO, KDENABIO は I/O ポートへのアクセスを
 \fBKDMAPDISP\fP, \fBKDUNMAPDISP\fP はメモリ・マッピングや I/O ポートへのアクセスを可能/不可能にします。
 これらはカーネルに実装されていません。
 
-\fBSCSI_IOCTL_PROBE_HOST\fP takes an input pointer \fIconst int\ *\fP, which is a
-length.  It uses the same pointer as an output pointer to a \fIchar []\fP
-buffer of this length.
+\fBSCSI_IOCTL_PROBE_HOST\fP は入力ポインタ \fIconst int\ *\fP を大きさとして使用します。これは同じ大きさの
+\fIchar []\fP バッファ への出力ポインタとしても使用します。
 
 \fBSIOCADDRT\fP, \fBSIOCDELRT\fP は型が以下のプロトコルに依存する入力ポインタを使用します:
 .nf
@@ -790,9 +783,8 @@ buffer of this length.
     NET/ROM             const struct nr_route_struct *
 
 .fi
-\fBSIOCGIFCONF\fP takes a \fIstruct ifconf\ *\fP.  The \fIifc_buf\fP field points to
-a buffer of length \fIifc_len\fP bytes, into which the kernel writes a list of
-type \fIstruct ifreq []\fP.
+\fBSIOCGIFCONF\fP は \fIstruct ifconf\ *\fP を使用します。この \fIifc_buf\fP フィールドは長さ
+\fIifc_len\fP バイトのバッファへのポインタです。 これにカーネルが \fIstruct ifreq []\fP 型のリストへ書き込みます。
 
 \fBSIOCSIFHWADDR\fP は型が以下のプロトコルに依存する入力ポインタを使用します:
 .nf
@@ -801,10 +793,9 @@ type \fIstruct ifreq []\fP.
     AX.25               const char [AX25_ADDR_LEN]
 
 .fi
-\fBTIOCLINUX\fP takes a \fIconst char\ *\fP.  It uses this to distinguish several
-independent subcases.  In the table below, \fIN + foo\fP means \fIfoo\fP after an
-N\-byte pad.  \fIstruct selection\fP is implicitly defined in
-\fIdrivers/char/selection.c\fP
+\fBTIOCLINUX\fP は \fIconst char\ *\fP を使用します。このポインタをいくつかの
+独立したサブクラスを識別する為に使用します。以下のテーブルの中で、 \fIN + foo\fP は N バイトの詰めものの後にある \fIfoo\fP
+を意味します。 \fIstruct selection\fP は暗黙的に \fIdrivers/char/selection.c\fP の中で定義されています。
 .nf
 
     TIOCLINUX\-2         1 + const struct selection *