OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / release / man2 / ioctl_list.2
1 .\" Ioctl List 1.3.27
2 .\" Sun 17 Sep 1995
3 .\" Michael Elizabeth Chastain
4 .\" <mec@duracef.shout.net>
5 .\"
6 .\" // Copyright
7 .\"
8 .\" Ioctl List 1.3.27 is copyright 1995 by Michael Elizabeth Chastain.
9 .\" It is licensed under the Gnu Public License, Version 2.
10 .\"
11 .\"
12 .\"
13 .\" // Change Log
14 .\"
15 .\" 1.3.27      421 ioctls.
16 .\"     Type information for non-pointer args.
17 .\"     SIOCDEVPRIVATE, SIOCPROTOPRIVATE ioctls.
18 .\"     Descriptions of extended arguments.
19 .\"
20 .\" 1.2.9       365 ioctls.
21 .\"     First public version.
22 .\"
23 .\"
24 .\" 2007-12-29 Alain Portal <aportal@univ-montp2.fr> and Michael Kerrisk
25 .\"     <mtk.manpages@gmail.com>:
26 .\"          Various formatting improvements
27 .\"
28 .\" Japanese Version Copyright (c) 1996 Akira Yoshiyama
29 .\"         all rights reserved.
30 .\" Translated Sun Jun 30 20:46:54 JST 1996
31 .\"         by Akira Yoshiyama <yosshy@jedi.seg.kobe-u.ac.jp>
32 .\" Modified Sat Dec 13 20:25:06 JST 1997
33 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
34 .\" Updated & Modified Wed May 19 05:31:50 JST 2004
35 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
36 .\" Updated 2008-02-12, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.77
37 .\"
38 .TH IOCTL_LIST 2 2007-12-29 "Linux" "Linux Programmer's Manual"
39 .SH Ì¾Á°
40 ioctl_list \- Linux/i386 ¥«¡¼¥Í¥ë¤Î ioctl ¤Î¥ê¥¹¥È
41 .SH ÀâÌÀ
42 ¤³¤Îʸ¾Ï¤Ï ioctl ¥ê¥¹¥È 1.3.27¡¢¤Ä¤Þ¤ê Linux/i386 ¥«¡¼¥Í¥ë 1.3.27 ¤Ë
43 ¤ª¤±¤ë ioctl ¥³¡¼¥ë¤Î°ìÍ÷¤Ç¤¹¡£¤³¤Î¥ê¥¹¥È¤Ï
44 .I </usr/include/{asm,linux}/*.h>
45 ¤Ë¤¢¤ë 421 ¤Î ioctl ¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£Á´¤Æ¤Î ioctl ¤ËÂФ·¤Æ¡¢¿ôÃÍ¡¢Ì¾¾Î¡¢
46 °ú¤­¿ô¤Î·¿¤òÎóµó¤·¤Æ¤¢¤ê¤Þ¤¹¡£
47 .PP
48 °ú¤­¿ô·¿
49 .I const struct foo *
50 ¤Ï¡¢¤½¤Î°ú¤­¿ô¤¬¥«¡¼¥Í¥ë¤Ø¤ÎÆþÎϤǤ¢¤ë»ö¤ò°ÕÌ£¤·¤Þ¤¹¡£¤Þ¤¿¡¢
51 .I struct foo *
52 ¤Ï¡¢¤½¤Î°ú¤­¿ô¤¬¥«¡¼¥Í¥ë¤«¤é¤Î½ÐÎϤǤ¢¤ë»ö¤ò°ÕÌ£¤·¤Þ¤¹¡£
53 ¥«¡¼¥Í¥ë¤¬¤½¤Î°ú¤­¿ô¤òÆþÎϤȽÐÎϤÎξÊý¤Ë»ÈÍѤ¹¤ë¾ì¹ç¤Ï¡¢
54 \fI//\ I-O\fP ¥Þ¡¼¥¯¤òÉÕ¤±¤Æ¤¢¤ê¤Þ¤¹¡£
55 .PP
56 ¤¤¤¯¤Ä¤«¤Î ioctl ¤ÏÊ£¿ô¤Î¹½Â¤ÂΤΰú¤­¿ô¤òɬÍפȤ·¤¿¤ê¡¢ÃͤòÊÖ¤·¤¿¤ê
57 ¤·¤Þ¤¹¡£¤³¤ì¤é¤Ë¤Ï \fI//\ MORE\fP ¥Þ¡¼¥¯¤òÉÕ¤±¤Æ¡¢
58 ¤µ¤é¤ËʬΥ¤·¤¿¥»¥¯¥·¥ç¥ó¤ÇÀâÌÀ¤·¤Æ¤¢¤ê¤Þ¤¹¡£
59 .PP
60 ¤³¤Î¥ê¥¹¥È¤ÏÉÔ´°Á´¤Ç¤¹¡£
61 .SS "ioctl ¤Î¹½Â¤"
62 .\" 2 ¤Ä¤Î¥»¥¯¥·¥ç¥ó¤òÄɲà- aeb
63 ioctl ¥³¥Þ¥ó¥É¤ÎÃͤϠ32 ¥Ó¥Ã¥È¤ÎÄê¿ô¤Ç¤¹¡£
64 ¸¶Â§¤È¤·¤Æ¡¢¤³¤ì¤é¤ÎÄê¿ô¤ÏÁ´¤¯Ç¤°Õ¤Î¤â¤Î¤Ç¤¹¤¬¡¢
65 À߷׼Ԥϲ¿¤é¤«¤Î¹½Â¤¤ò¤³¤ì¤é¤ÎÄê¿ô¤ËÁȤ߹þ¤â¤¦¤È¤·¤Æ¤¤¤Þ¤¹¡£
66 .LP
67 ÀΤΠLinux ¤Ç¤Ï¡¢ÂçÉôʬ¤Ï 16 ¥Ó¥Ã¥È¤ÎÄê¿ô¤Ç¤¢¤ê¡¢
68 ²¼°Ì¥Ð¥¤¥È¤Ï¥·¥ê¥¢¥ëÈÖ¹æ¤Ç¡¢¾å°Ì¥Ð¥¤¥È¤Ï¥É¥é¥¤¥Ð¤Î¥¿¥¤¥×¤òɽ¤·¤Æ¤¤¤Þ¤·¤¿¡£
69 ¥á¥¸¥ã¡¼Èֹ椬»È¤ï¤ì¤ë¤³¤È¤â¤¢¤ê¤Þ¤·¤¿:
70 0x03 ¤¬
71 .B HDIO_*
72 ioctl, 0x06 ¤¬
73 .B LP*
74 ioctl ¤Ê¤É¤Ç¤¹¡£
75 1 Ê¸»ú°Ê¾å¤Î ASCII Ê¸»úÎ󤬻Ȥï¤ì¤ë¤³¤È¤â¤¢¤ê¤Þ¤·¤¿¡£
76 ¤¿¤È¤¨¤Ð
77 .B TCGETS
78 ¤ÎÃͤϠ0x00005401 ¤Ç¤¢¤ê¡¢
79 0x54 = \(aqT\(aq ¤Ç¥¿¡¼¥ß¥Ê¥ë¥É¥é¥¤¥Ð¤òɽ¤·¤Þ¤¹¡£
80 .B CYGETTIMEOUT
81 ¤ÎÃͤϠ0x00435906 ¤Ç¤¢¤ê¡¢
82 0x43 0x59 = \(aqC\(aq \(aqY\(aq ¤Ç cyclades ¥É¥é¥¤¥Ð¤òɽ¤·¤Þ¤¹¡£
83 .LP
84 ¸å¤Î»þÂå (0.98p5) ¤Ë¤Ê¤ë¤È¡¢
85 ¤è¤ê¿¤¯¤Î¾ðÊ󤬿ôÃͤËÁȤ߹þ¤Þ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
86 1 ¤Ä¤Î¿ôÃͤϡ¢Æɤ߽ñ¤­¤ÎÊý¸þ¤òɽ¤¹ 2 ¥Ó¥Ã¥È
87 (00: Æɤ߽ñ¤­¤Ê¤·, 01: ½ñ¤­¹þ¤ß, 10: Æɤ߹þ¤ß, 11: Æɤ߹þ¤ß/½ñ¤­¹þ¤ß)¡¢
88 (°ú¤­¿ô¤Î¥µ¥¤¥º¤òɽ¤¹) 14 ¥Ó¥Ã¥È¡¢
89 (¶¦Ä̤ÎÌÜŪ¤Þ¤¿¤Ï¶¦Ä̤Υɥ饤¥Ð¤Ç ioctl ¤ò¥°¥ë¡¼¥×¤Ë¤¹¤ë¤¿¤á¤Î)
90 8 ¥Ó¥Ã¥È¤Î¥¿¥¤¥×¡¢8 ¥Ó¥Ã¥È¤Î¥·¥ê¥¢¥ëÈֹ椫¤é¹½À®¤µ¤ì¤Þ¤¹¡£
91 .LP
92 ¤³¤Î¹½Â¤¤òµ­½Ò¤¹¤ë¥Þ¥¯¥í¤Ï \fI<asm/ioctl.h>\fP ¤Ë¤¢¤ê¡¢
93 .B _IO(type,nr)
94 ¤È
95 .B "{_IOR,_IOW,_IOWR}(type,nr,size)"
96 ¤Ç¤¹¡£
97 ¤³¤ì¤é¤Î¥Þ¥¯¥í¤Ï
98 .I sizeof(size)
99 ¤ò»È¤¦¤Î¤Ç¡¢
100 ¤³¤³¤Ç size ¤È¤¤¤¦Ì¾Á°¤Ë¤·¤Æ¤¤¤ë¤Î¤Ï´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹:
101 ¤³¤Î 3 ¤ÄÌܤΰú¤­¿ô¤Ï¥Ç¡¼¥¿¥¿¥¤¥×¤Ç¤¹¡£
102 .LP
103 size ¥Ó¥Ã¥È¤ÏÁ´¤¯Åö¤Æ¤Ë¤Ê¤é¤Ê¤¤ÅÀ¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤:
104 ¿¤¯¤Î¾ì¹ç¡¢´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£
105 ¤³¤ì¤Ï
106 .I sizeof(sizeof(struct))
107 ¤ò»È¤Ã¤¿¥Ð¥°¤ò´Þ¤ó¤À¥Þ¥¯¥í¤ä¡¢²áµî¤«¤é¼õ¤±·Ñ¤¤¤ÀÃͤ¬¸¶°ø¤Ç¤¹¡£
108 .LP
109 ¤·¤¿¤¬¤Ã¤Æ¡¢¿·¤·¤¤¹½Â¤¤ÏÉÔÅÔ¹ç¤ÊÅÀ¤·¤«¤Ê¤¤¤è¤¦¤Ë»×¤ï¤ì¤Þ¤¹:
110 ¤³¤Î¹½Â¤¤Ï¥Á¥§¥Ã¥¯¤Î¼ê½õ¤±¤Ë¤Ï¤Ê¤é¤º¡¢
111 ÍÍ¡¹¤Ê¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë¤è¤Ã¤ÆÃͤòÊѲ½¤µ¤»¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
112 .SH ÊÖ¤êÃÍ
113 ¤­¤Á¤ó¤È¤·¤¿ ioctl ¤Ï¡¢À®¸ù¤·¤¿¾ì¹ç¤Ï 0 ¤òÊÖ¤·¡¢
114 ¥¨¥é¡¼¤Î¾ì¹ç¤Ï \-1 ¤òÊÖ¤·¤Þ¤¹¡£
115 ¤Þ¤¿½ÐÎÏÃͤϰú¤­¿ô¤Ë³ÊǼ¤·¤Þ¤¹¡£
116 ¤·¤«¤·¼ÂºÝ¤Ï¡¢¤«¤Ê¤ê¿¤¯¤Î ioctl ¤¬½ÐÎÏÃͤòÊÖ¤·¤Þ¤¹¡£
117 ¤³¤ì¤Ïº£¤Î¤È¤³¤í°Ê²¼¤Ç¤Ï¼¨¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
118
119 // Main table.
120
121 // <include/asm-i386/socket.h>
122 .TS
123 l l l.
124 0x00008901      FIOSETOWN       const int *
125 0x00008902      SIOCSPGRP       const int *
126 0x00008903      FIOGETOWN       int *
127 0x00008904      SIOCGPGRP       int *
128 0x00008905      SIOCATMAR       int *
129 0x00008906      SIOCGSTAMP      timeval *
130 .TE
131
132 // <include/asm-i386/termios.h>
133 .TS
134 l l l l.
135 0x00005401      TCGETS  struct termios *
136 0x00005402      TCSETS  const struct termios *
137 0x00005403      TCSETSW const struct termios *
138 0x00005404      TCSETSF const struct termios *
139 0x00005405      TCGETA  struct termio *
140 0x00005406      TCSETA  const struct termio *
141 0x00005407      TCSETAW const struct termio *
142 0x00005408      TCSETAF const struct termio *
143 0x00005409      TCSBRK  int
144 0x0000540A      TCXONC  int
145 0x0000540B      TCFLSH  int
146 0x0000540C      TIOCEXCL        void
147 0x0000540D      TIOCNXCL        void
148 0x0000540E      TIOCSCTTY       int
149 0x0000540F      TIOCGPGRP       pid_t *
150 0x00005410      TIOCSPGRP       const pid_t *
151 0x00005411      TIOCOUTQ        int *
152 0x00005412      TIOCSTI const char *
153 0x00005413      TIOCGWINSZ      struct winsize *
154 0x00005414      TIOCSWINSZ      const struct winsize *
155 0x00005415      TIOCMGET        int *
156 0x00005416      TIOCMBIS        const int *
157 0x00005417      TIOCMBIC        const int *
158 0x00005418      TIOCMSET        const int *
159 0x00005419      TIOCGSOFTCAR    int *
160 0x0000541A      TIOCSSOFTCAR    const int *
161 0x0000541B      FIONREAD        int *
162 0x0000541B      TIOCINQ int *
163 0x0000541C      TIOCLINUX       const char *    // MORE
164 0x0000541D      TIOCCONS        void
165 0x0000541E      TIOCGSERIAL     struct serial_struct *
166 0x0000541F      TIOCSSERIAL     const struct serial_struct *
167 0x00005420      TIOCPKT const int *
168 0x00005421      FIONBIO const int *
169 0x00005422      TIOCNOTTY       void
170 0x00005423      TIOCSETD        const int *
171 0x00005424      TIOCGETD        int *
172 0x00005425      TCSBRKP int
173 0x00005426      TIOCTTYGSTRUCT  struct tty_struct *
174 0x00005450      FIONCLEX        void
175 0x00005451      FIOCLEX void
176 0x00005452      FIOASYNC        const int *
177 0x00005453      TIOCSERCONFIG   void
178 0x00005454      TIOCSERGWILD    int *
179 0x00005455      TIOCSERSWILD    const int *
180 0x00005456      TIOCGLCKTRMIOS  struct termios *
181 0x00005457      TIOCSLCKTRMIOS  const struct termios *
182 0x00005458      TIOCSERGSTRUCT  struct async_struct *
183 0x00005459      TIOCSERGETLSR   int *
184 0x0000545A      TIOCSERGETMULTI struct serial_multiport_struct *
185 0x0000545B      TIOCSERSETMULTI const struct serial_multiport_struct *
186 .TE
187
188 // <include/linux/ax25.h>
189 .TS
190 l l l l.
191 0x000089E0      SIOCAX25GETUID  const struct sockaddr_ax25 *
192 0x000089E1      SIOCAX25ADDUID  const struct sockaddr_ax25 *
193 0x000089E2      SIOCAX25DELUID  const struct sockaddr_ax25 *
194 0x000089E3      SIOCAX25NOUID   const int *
195 0x000089E4      SIOCAX25DIGCTL  const int *
196 0x000089E5      SIOCAX25GETPARMS        struct ax25_parms_struct *      // I-O
197 0x000089E6      SIOCAX25SETPARMS        const struct ax25_parms_struct *
198 .TE
199
200 // <include/linux/cdk.h>
201 .TS
202 l l l l.
203 0x00007314      STL_BINTR       void
204 0x00007315      STL_BSTART      void
205 0x00007316      STL_BSTOP       void
206 0x00007317      STL_BRESET      void
207 .TE
208
209 // <include/linux/cdrom.h>
210 .TS
211 l l l l.
212 0x00005301      CDROMPAUSE      void
213 0x00005302      CDROMRESUME     void
214 0x00005303      CDROMPLAYMSF    const struct cdrom_msf *
215 0x00005304      CDROMPLAYTRKIND const struct cdrom_ti *
216 0x00005305      CDROMREADTOCHDR struct cdrom_tochdr *
217 0x00005306      CDROMREADTOCENTRY       struct cdrom_tocentry * // I-O
218 0x00005307      CDROMSTOP       void
219 0x00005308      CDROMSTART      void
220 0x00005309      CDROMEJECT      void
221 0x0000530A      CDROMVOLCTRL    const struct cdrom_volctrl *
222 0x0000530B      CDROMSUBCHNL    struct cdrom_subchnl *  // I-O
223 0x0000530C      CDROMREADMODE2  const struct cdrom_msf *        // MORE
224 0x0000530D      CDROMREADMODE1  const struct cdrom_msf *        // MORE
225 0x0000530E      CDROMREADAUDIO  const struct cdrom_read_audio * // MORE
226 0x0000530F      CDROMEJECT_SW   int
227 0x00005310      CDROMMULTISESSION       struct cdrom_multisession *     // I-O
228 0x00005311      CDROM_GET_UPC   struct { char [8]; } *
229 0x00005312      CDROMRESET      void
230 0x00005313      CDROMVOLREAD    struct cdrom_volctrl *
231 0x00005314      CDROMREADRAW    const struct cdrom_msf *        // MORE
232 0x00005315      CDROMREADCOOKED const struct cdrom_msf *        // MORE
233 0x00005316      CDROMSEEK       const struct cdrom_msf *
234 .TE
235
236 // <include/linux/cm206.h>
237 .TS
238 l l l l.
239 0x00002000      CM206CTL_GET_STAT       int
240 0x00002001      CM206CTL_GET_LAST_STAT  int
241 .TE
242
243 // <include/linux/cyclades.h>
244 .TS
245 l l l l.
246 0x00435901      CYGETMON        struct cyclades_monitor *
247 0x00435902      CYGETTHRESH     int *
248 0x00435903      CYSETTHRESH     int
249 0x00435904      CYGETDEFTHRESH  int *
250 0x00435905      CYSETDEFTHRESH  int
251 0x00435906      CYGETTIMEOUT    int *
252 0x00435907      CYSETTIMEOUT    int
253 0x00435908      CYGETDEFTIMEOUT int *
254 0x00435909      CYSETDEFTIMEOUT int
255 .TE
256
257 // <include/linux/ext2_fs.h>
258 .TS
259 l l l l.
260 0x80046601      EXT2_IOC_GETFLAGS       int *
261 0x40046602      EXT2_IOC_SETFLAGS       const int *
262 0x80047601      EXT2_IOC_GETVERSION     int *
263 0x40047602      EXT2_IOC_SETVERSION     const int *
264 .TE
265
266 // <include/linux/fd.h>
267 .TS
268 l l l l.
269 0x00000000      FDCLRPRM        void
270 0x00000001      FDSETPRM        const struct floppy_struct *
271 0x00000002      FDDEFPRM        const struct floppy_struct *
272 0x00000003      FDGETPRM        struct floppy_struct *
273 0x00000004      FDMSGON void
274 0x00000005      FDMSGOFF        void
275 0x00000006      FDFMTBEG        void
276 0x00000007      FDFMTTRK        const struct format_descr *
277 0x00000008      FDFMTEND        void
278 0x0000000A      FDSETEMSGTRESH  int
279 0x0000000B      FDFLUSH void
280 0x0000000C      FDSETMAXERRS    const struct floppy_max_errors *
281 0x0000000E      FDGETMAXERRS    struct floppy_max_errors *
282 0x00000010      FDGETDRVTYP     struct { char [16]; } *
283 0x00000014      FDSETDRVPRM     const struct floppy_drive_params *
284 0x00000015      FDGETDRVPRM     struct floppy_drive_params *
285 0x00000016      FDGETDRVSTAT    struct floppy_drive_struct *
286 0x00000017      FDPOLLDRVSTAT   struct floppy_drive_struct *
287 0x00000018      FDRESET int
288 0x00000019      FDGETFDCSTAT    struct floppy_fdc_state *
289 0x0000001B      FDWERRORCLR     void
290 0x0000001C      FDWERRORGET     struct floppy_write_errors *
291 0x0000001E      FDRAWCMD        struct floppy_raw_cmd * // MORE // I-O
292 0x00000028      FDTWADDLE       void
293 .TE
294
295 // <include/linux/fs.h>
296 .TS
297 l l l l.
298 0x0000125D      BLKROSET        const int *
299 0x0000125E      BLKROGET        int *
300 0x0000125F      BLKRRPART       void
301 0x00001260      BLKGETSIZE      unsigned long *
302 0x00001261      BLKFLSBUF       void
303 0x00001262      BLKRASET        int
304 0x00001263      BLKRAGET        int *
305 0x00000001      FIBMAP  int *   // I-O
306 0x00000002      FIGETBSZ        int *
307 .TE
308
309 // <include/linux/hdreg.h>
310 .TS
311 l l l l.
312 0x00000301      HDIO_GETGEO     struct hd_geometry *
313 0x00000302      HDIO_GET_UNMASKINTR     int *
314 0x00000304      HDIO_GET_MULTCOUNT      int *
315 0x00000307      HDIO_GET_IDENTITY       struct hd_driveid *
316 0x00000308      HDIO_GET_KEEPSETTINGS   int *
317 0x00000309      HDIO_GET_CHIPSET        int *
318 0x0000030A      HDIO_GET_NOWERR int *
319 0x0000030B      HDIO_GET_DMA    int *
320 0x0000031F      HDIO_DRIVE_CMD  int *   // I-O
321 0x00000321      HDIO_SET_MULTCOUNT      int
322 0x00000322      HDIO_SET_UNMASKINTR     int
323 0x00000323      HDIO_SET_KEEPSETTINGS   int
324 0x00000324      HDIO_SET_CHIPSET        int
325 0x00000325      HDIO_SET_NOWERR int
326 0x00000326      HDIO_SET_DMA    int
327 .TE
328
329 // <include/linux/if_eql.h>
330 .TS
331 l l l l.
332 0x000089F0      EQL_ENSLAVE     struct ifreq *  // MORE // I-O
333 0x000089F1      EQL_EMANCIPATE  struct ifreq *  // MORE // I-O
334 0x000089F2      EQL_GETSLAVECFG struct ifreq *  // MORE // I-O
335 0x000089F3      EQL_SETSLAVECFG struct ifreq *  // MORE // I-O
336 0x000089F4      EQL_GETMASTRCFG struct ifreq *  // MORE // I-O
337 0x000089F5      EQL_SETMASTRCFG struct ifreq *  // MORE // I-O
338 .TE
339
340 // <include/linux/if_plip.h>
341 .TS
342 l l l l.
343 0x000089F0      SIOCDEVPLIP     struct ifreq *  // I-O
344 .TE
345
346 // <include/linux/if_ppp.h>
347 .TS
348 l l l l.
349 0x00005490      PPPIOCGFLAGS    int *
350 0x00005491      PPPIOCSFLAGS    const int *
351 0x00005492      PPPIOCGASYNCMAP int *
352 0x00005493      PPPIOCSASYNCMAP const int *
353 0x00005494      PPPIOCGUNIT     int *
354 0x00005495      PPPIOCSINPSIG   const int *
355 0x00005497      PPPIOCSDEBUG    const int *
356 0x00005498      PPPIOCGDEBUG    int *
357 0x00005499      PPPIOCGSTAT     struct ppp_stats *
358 0x0000549A      PPPIOCGTIME     struct ppp_ddinfo *
359 0x0000549B      PPPIOCGXASYNCMAP        struct { int [8]; } *
360 0x0000549C      PPPIOCSXASYNCMAP        const struct { int [8]; } *
361 0x0000549D      PPPIOCSMRU      const int *
362 0x0000549E      PPPIOCRASYNCMAP const int *
363 0x0000549F      PPPIOCSMAXCID   const int *
364 .TE
365
366 // <include/linux/ipx.h>
367 .TS
368 l l l l.
369 0x000089E0      SIOCAIPXITFCRT  const char *
370 0x000089E1      SIOCAIPXPRISLT  const char *
371 0x000089E2      SIOCIPXCFGDATA  struct ipx_config_data *
372 .TE
373
374 // <include/linux/kd.h>
375 .TS
376 l l l l.
377 0x00004B60      GIO_FONT        struct { char [8192]; } *
378 0x00004B61      PIO_FONT        const struct { char [8192]; } *
379 0x00004B6B      GIO_FONTX       struct console_font_desc *      // MORE // I-O
380 0x00004B6C      PIO_FONTX       const struct console_font_desc *        //MORE
381 0x00004B70      GIO_CMAP        struct { char [48]; } *
382 0x00004B71      PIO_CMAP        const struct { char [48]; }
383 0x00004B2F      KIOCSOUND       int
384 0x00004B30      KDMKTONE        int
385 0x00004B31      KDGETLED        char *
386 0x00004B32      KDSETLED        int
387 0x00004B33      KDGKBTYPE       char *
388 0x00004B34      KDADDIO int     // MORE
389 0x00004B35      KDDELIO int     // MORE
390 0x00004B36      KDENABIO        void    // MORE
391 0x00004B37      KDDISABIO       void    // MORE
392 0x00004B3A      KDSETMODE       int
393 0x00004B3B      KDGETMODE       int *
394 0x00004B3C      KDMAPDISP       void    // MORE
395 0x00004B3D      KDUNMAPDISP     void    // MORE
396 0x00004B40      GIO_SCRNMAP     struct { char [E_TABSZ]; } *
397 0x00004B41      PIO_SCRNMAP     const struct { char [E_TABSZ]; } *
398 0x00004B69      GIO_UNISCRNMAP  struct { short [E_TABSZ]; } *
399 0x00004B6A      PIO_UNISCRNMAP  const struct { short [E_TABSZ]; } *
400 0x00004B66      GIO_UNIMAP      struct unimapdesc *     // MORE // I-O
401 0x00004B67      PIO_UNIMAP      const struct unimapdesc *       // MORE
402 0x00004B68      PIO_UNIMAPCLR   const struct unimapinit *
403 0x00004B44      KDGKBMODE       int *
404 0x00004B45      KDSKBMODE       int
405 0x00004B62      KDGKBMETA       int *
406 0x00004B63      KDSKBMETA       int
407 0x00004B64      KDGKBLED        int *
408 0x00004B65      KDSKBLED        int
409 0x00004B46      KDGKBENT        struct kbentry *        // I-O
410 0x00004B47      KDSKBENT        const struct kbentry *
411 0x00004B48      KDGKBSENT       struct kbsentry *       // I-O
412 0x00004B49      KDSKBSENT       const struct kbsentry *
413 0x00004B4A      KDGKBDIACR      struct kbdiacrs *
414 0x00004B4B      KDSKBDIACR      const struct kbdiacrs *
415 0x00004B4C      KDGETKEYCODE    struct kbkeycode *      // I-O
416 0x00004B4D      KDSETKEYCODE    const struct kbkeycode *
417 0x00004B4E      KDSIGACCEPT     int
418 .TE
419
420 // <include/linux/lp.h>
421 .TS
422 l l l l.
423 0x00000601      LPCHAR  int
424 0x00000602      LPTIME  int
425 0x00000604      LPABORT int
426 0x00000605      LPSETIRQ        int
427 0x00000606      LPGETIRQ        int *
428 0x00000608      LPWAIT  int
429 0x00000609      LPCAREFUL       int
430 0x0000060A      LPABORTOPEN     int
431 0x0000060B      LPGETSTATUS     int *
432 0x0000060C      LPRESET void
433 0x0000060D      LPGETSTATS      struct lp_stats *
434 .TE
435
436 // <include/linux/mroute.h>
437 .TS
438 l l l l.
439 0x000089E0      SIOCGETVIFCNT   struct sioc_vif_req *   // I-O
440 0x000089E1      SIOCGETSGCNT    struct sioc_sg_req *    // I-O
441 .TE
442
443 // <include/linux/mtio.h>
444 .TS
445 l l l l.
446 0x40086D01      MTIOCTOP        const struct mtop *
447 0x801C6D02      MTIOCGET        struct mtget *
448 0x80046D03      MTIOCPOS        struct mtpos *
449 0x80206D04      MTIOCGETCONFIG  struct mtconfiginfo *
450 0x40206D05      MTIOCSETCONFIG  const struct mtconfiginfo *
451 .TE
452
453 // <include/linux/netrom.h>
454 .TS
455 l l l l.
456 0x000089E0      SIOCNRGETPARMS  struct nr_parms_struct *        // I-O
457 0x000089E1      SIOCNRSETPARMS  const struct nr_parms_struct *
458 0x000089E2      SIOCNRDECOBS    void
459 0x000089E3      SIOCNRRTCTL     const int *
460 .TE
461
462 // <include/linux/sbpcd.h>
463 .TS
464 l l l l.
465 0x00009000      DDIOCSDBG       const int *
466 0x00005382      CDROMAUDIOBUFSIZ        int
467 .TE
468
469 // <include/linux/scc.h>
470 .TS
471 l l l l.
472 0x00005470      TIOCSCCINI      void
473 0x00005471      TIOCCHANINI     const struct scc_modem *
474 0x00005472      TIOCGKISS       struct ioctl_command *  // I-O
475 0x00005473      TIOCSKISS       const struct ioctl_command *
476 0x00005474      TIOCSCCSTAT     struct scc_stat *
477 .TE
478
479 // <include/linux/scsi.h>
480 .TS
481 l l l l.
482 0x00005382      SCSI_IOCTL_GET_IDLUN    struct { int [2]; } *
483 0x00005383      SCSI_IOCTL_TAGGED_ENABLE        void
484 0x00005384      SCSI_IOCTL_TAGGED_DISABLE       void
485 0x00005385      SCSI_IOCTL_PROBE_HOST   const int *     // MORE
486 .TE
487
488 // <include/linux/smb_fs.h>
489 .TS
490 l l l l.
491 0x80027501      SMB_IOC_GETMOUNTUID     uid_t *
492 .TE
493
494 // <include/linux/sockios.h>
495 .TS
496 l l l l.
497 0x0000890B      SIOCADDRT       const struct rtentry *  // MORE
498 0x0000890C      SIOCDELRT       const struct rtentry *  // MORE
499 0x00008910      SIOCGIFNAME     char []
500 0x00008911      SIOCSIFLINK     void
501 0x00008912      SIOCGIFCONF     struct ifconf * // MORE // I-O
502 0x00008913      SIOCGIFFLAGS    struct ifreq *  // I-O
503 0x00008914      SIOCSIFFLAGS    const struct ifreq *
504 0x00008915      SIOCGIFADDR     struct ifreq *  // I-O
505 0x00008916      SIOCSIFADDR     const struct ifreq *
506 0x00008917      SIOCGIFDSTADDR  struct ifreq *  // I-O
507 0x00008918      SIOCSIFDSTADDR  const struct ifreq *
508 0x00008919      SIOCGIFBRDADDR  struct ifreq *  // I-O
509 0x0000891A      SIOCSIFBRDADDR  const struct ifreq *
510 0x0000891B      SIOCGIFNETMASK  struct ifreq *  // I-O
511 0x0000891C      SIOCSIFNETMASK  const struct ifreq *
512 0x0000891D      SIOCGIFMETRIC   struct ifreq *  // I-O
513 0x0000891E      SIOCSIFMETRIC   const struct ifreq *
514 0x0000891F      SIOCGIFMEM      struct ifreq *  // I-O
515 0x00008920      SIOCSIFMEM      const struct ifreq *
516 0x00008921      SIOCGIFMTU      struct ifreq *  // I-O
517 0x00008922      SIOCSIFMTU      const struct ifreq *
518 0x00008923      OLD_SIOCGIFHWADDR       struct ifreq *  // I-O
519 0x00008924      SIOCSIFHWADDR   const struct ifreq *    // MORE
520 0x00008925      SIOCGIFENCAP    int *
521 0x00008926      SIOCSIFENCAP    const int *
522 0x00008927      SIOCGIFHWADDR   struct ifreq *  // I-O
523 0x00008929      SIOCGIFSLAVE    void
524 0x00008930      SIOCSIFSLAVE    void
525 0x00008931      SIOCADDMULTI    const struct ifreq *
526 0x00008932      SIOCDELMULTI    const struct ifreq *
527 0x00008940      SIOCADDRTOLD    void
528 0x00008941      SIOCDELRTOLD    void
529 0x00008950      SIOCDARP        const struct arpreq *
530 0x00008951      SIOCGARP        struct arpreq * // I-O
531 0x00008952      SIOCSARP        const struct arpreq *
532 0x00008960      SIOCDRARP       const struct arpreq *
533 0x00008961      SIOCGRARP       struct arpreq * // I-O
534 0x00008962      SIOCSRARP       const struct arpreq *
535 0x00008970      SIOCGIFMAP      struct ifreq *  // I-O
536 0x00008971      SIOCSIFMAP      const struct ifreq *
537 .TE
538
539 // <include/linux/soundcard.h>
540 .TS
541 l l l l.
542 0x00005100      SNDCTL_SEQ_RESET        void
543 0x00005101      SNDCTL_SEQ_SYNC void
544 0xC08C5102      SNDCTL_SYNTH_INFO       struct synth_info *     // I-O
545 0xC0045103      SNDCTL_SEQ_CTRLRATE     int *   // I-O
546 0x80045104      SNDCTL_SEQ_GETOUTCOUNT  int *
547 0x80045105      SNDCTL_SEQ_GETINCOUNT   int *
548 0x40045106      SNDCTL_SEQ_PERCMODE     void
549 0x40285107      SNDCTL_FM_LOAD_INSTR    const struct sbi_instrument *
550 0x40045108      SNDCTL_SEQ_TESTMIDI     const int *
551 0x40045109      SNDCTL_SEQ_RESETSAMPLES const int *
552 0x8004510A      SNDCTL_SEQ_NRSYNTHS     int *
553 0x8004510B      SNDCTL_SEQ_NRMIDIS      int *
554 0xC074510C      SNDCTL_MIDI_INFO        struct midi_info *      // I-O
555 0x4004510D      SNDCTL_SEQ_THRESHOLD    const int *
556 0xC004510E      SNDCTL_SYNTH_MEMAVL     int *   // I-O
557 0x4004510F      SNDCTL_FM_4OP_ENABLE    const int *
558 0xCFB85110      SNDCTL_PMGR_ACCESS      struct patmgr_info *    // I-O
559 0x00005111      SNDCTL_SEQ_PANIC        void
560 0x40085112      SNDCTL_SEQ_OUTOFBAND    const struct seq_event_rec *
561 0xC0045401      SNDCTL_TMR_TIMEBASE     int *   // I-O
562 0x00005402      SNDCTL_TMR_START        void
563 0x00005403      SNDCTL_TMR_STOP void
564 0x00005404      SNDCTL_TMR_CONTINUE     void
565 0xC0045405      SNDCTL_TMR_TEMPO        int *   // I-O
566 0xC0045406      SNDCTL_TMR_SOURCE       int *   // I-O
567 0x40045407      SNDCTL_TMR_METRONOME    const int *
568 0x40045408      SNDCTL_TMR_SELECT       int *   // I-O
569 0xCFB85001      SNDCTL_PMGR_IFACE       struct patmgr_info *    // I-O
570 0xC0046D00      SNDCTL_MIDI_PRETIME     int *   // I-O
571 0xC0046D01      SNDCTL_MIDI_MPUMODE     const int *
572 0xC0216D02      SNDCTL_MIDI_MPUCMD      struct mpu_command_rec *        // I-O
573 0x00005000      SNDCTL_DSP_RESET        void
574 0x00005001      SNDCTL_DSP_SYNC void
575 0xC0045002      SNDCTL_DSP_SPEED        int *   // I-O
576 0xC0045003      SNDCTL_DSP_STEREO       int *   // I-O
577 0xC0045004      SNDCTL_DSP_GETBLKSIZE   int *   // I-O
578 0xC0045006      SOUND_PCM_WRITE_CHANNELS        int *   // I-O
579 0xC0045007      SOUND_PCM_WRITE_FILTER  int *   // I-O
580 0x00005008      SNDCTL_DSP_POST void
581 0xC0045009      SNDCTL_DSP_SUBDIVIDE    int *   // I-O
582 0xC004500A      SNDCTL_DSP_SETFRAGMENT  int *   // I-O
583 0x8004500B      SNDCTL_DSP_GETFMTS      int *
584 0xC0045005      SNDCTL_DSP_SETFMT       int *   // I-O
585 0x800C500C      SNDCTL_DSP_GETOSPACE    struct audio_buf_info *
586 0x800C500D      SNDCTL_DSP_GETISPACE    struct audio_buf_info *
587 0x0000500E      SNDCTL_DSP_NONBLOCK     void
588 0x80045002      SOUND_PCM_READ_RATE     int *
589 0x80045006      SOUND_PCM_READ_CHANNELS int *
590 0x80045005      SOUND_PCM_READ_BITS     int *
591 0x80045007      SOUND_PCM_READ_FILTER   int *
592 0x00004300      SNDCTL_COPR_RESET       void
593 0xCFB04301      SNDCTL_COPR_LOAD        const struct copr_buffer *
594 0xC0144302      SNDCTL_COPR_RDATA       struct copr_debug_buf * // I-O
595 0xC0144303      SNDCTL_COPR_RCODE       struct copr_debug_buf * // I-O
596 0x40144304      SNDCTL_COPR_WDATA       const struct copr_debug_buf *
597 0x40144305      SNDCTL_COPR_WCODE       const struct copr_debug_buf *
598 0xC0144306      SNDCTL_COPR_RUN struct copr_debug_buf * // I-O
599 0xC0144307      SNDCTL_COPR_HALT        struct copr_debug_buf * // I-O
600 0x4FA44308      SNDCTL_COPR_SENDMSG     const struct copr_msg *
601 0x8FA44309      SNDCTL_COPR_RCVMSG      struct copr_msg *
602 0x80044D00      SOUND_MIXER_READ_VOLUME int *
603 0x80044D01      SOUND_MIXER_READ_BASS   int *
604 0x80044D02      SOUND_MIXER_READ_TREBLE int *
605 0x80044D03      SOUND_MIXER_READ_SYNTH  int *
606 0x80044D04      SOUND_MIXER_READ_PCM    int *
607 0x80044D05      SOUND_MIXER_READ_SPEAKER        int *
608 0x80044D06      SOUND_MIXER_READ_LINE   int *
609 0x80044D07      SOUND_MIXER_READ_MIC    int *
610 0x80044D08      SOUND_MIXER_READ_CD     int *
611 0x80044D09      SOUND_MIXER_READ_IMIX   int *
612 0x80044D0A      SOUND_MIXER_READ_ALTPCM int *
613 0x80044D0B      SOUND_MIXER_READ_RECLEV int *
614 0x80044D0C      SOUND_MIXER_READ_IGAIN  int *
615 0x80044D0D      SOUND_MIXER_READ_OGAIN  int *
616 0x80044D0E      SOUND_MIXER_READ_LINE1  int *
617 0x80044D0F      SOUND_MIXER_READ_LINE2  int *
618 0x80044D10      SOUND_MIXER_READ_LINE3  int *
619 0x80044D1C      SOUND_MIXER_READ_MUTE   int *
620 0x80044D1D      SOUND_MIXER_READ_ENHANCE        int *
621 0x80044D1E      SOUND_MIXER_READ_LOUD   int *
622 0x80044DFF      SOUND_MIXER_READ_RECSRC int *
623 0x80044DFE      SOUND_MIXER_READ_DEVMASK        int *
624 0x80044DFD      SOUND_MIXER_READ_RECMASK        int *
625 0x80044DFB      SOUND_MIXER_READ_STEREODEVS     int *
626 0x80044DFC      SOUND_MIXER_READ_CAPS   int *
627 0xC0044D00      SOUND_MIXER_WRITE_VOLUME        int *   // I-O
628 0xC0044D01      SOUND_MIXER_WRITE_BASS  int *   // I-O
629 0xC0044D02      SOUND_MIXER_WRITE_TREBLE        int *   // I-O
630 0xC0044D03      SOUND_MIXER_WRITE_SYNTH int *   // I-O
631 0xC0044D04      SOUND_MIXER_WRITE_PCM   int *   // I-O
632 0xC0044D05      SOUND_MIXER_WRITE_SPEAKER       int *   // I-O
633 0xC0044D06      SOUND_MIXER_WRITE_LINE  int *   // I-O
634 0xC0044D07      SOUND_MIXER_WRITE_MIC   int *   // I-O
635 0xC0044D08      SOUND_MIXER_WRITE_CD    int *   // I-O
636 0xC0044D09      SOUND_MIXER_WRITE_IMIX  int *   // I-O
637 0xC0044D0A      SOUND_MIXER_WRITE_ALTPCM        int *   // I-O
638 0xC0044D0B      SOUND_MIXER_WRITE_RECLEV        int *   // I-O
639 0xC0044D0C      SOUND_MIXER_WRITE_IGAIN int *   // I-O
640 0xC0044D0D      SOUND_MIXER_WRITE_OGAIN int *   // I-O
641 0xC0044D0E      SOUND_MIXER_WRITE_LINE1 int *   // I-O
642 0xC0044D0F      SOUND_MIXER_WRITE_LINE2 int *   // I-O
643 0xC0044D10      SOUND_MIXER_WRITE_LINE3 int *   // I-O
644 0xC0044D1C      SOUND_MIXER_WRITE_MUTE  int *   // I-O
645 0xC0044D1D      SOUND_MIXER_WRITE_ENHANCE       int *   // I-O
646 0xC0044D1E      SOUND_MIXER_WRITE_LOUD  int *   // I-O
647 0xC0044DFF      SOUND_MIXER_WRITE_RECSRC        int *   // I-O
648 .TE
649
650 // <include/linux/umsdos_fs.h>
651 .TS
652 l l l l.
653 0x000004D2      UMSDOS_READDIR_DOS      struct umsdos_ioctl *   // I-O
654 0x000004D3      UMSDOS_UNLINK_DOS       const struct umsdos_ioctl *
655 0x000004D4      UMSDOS_RMDIR_DOS        const struct umsdos_ioctl *
656 0x000004D5      UMSDOS_STAT_DOS struct umsdos_ioctl *   // I-O
657 0x000004D6      UMSDOS_CREAT_EMD        const struct umsdos_ioctl *
658 0x000004D7      UMSDOS_UNLINK_EMD       const struct umsdos_ioctl *
659 0x000004D8      UMSDOS_READDIR_EMD      struct umsdos_ioctl *   // I-O
660 0x000004D9      UMSDOS_GETVERSION       struct umsdos_ioctl *
661 0x000004DA      UMSDOS_INIT_EMD void
662 0x000004DB      UMSDOS_DOS_SETUP        const struct umsdos_ioctl *
663 0x000004DC      UMSDOS_RENAME_DOS       const struct umsdos_ioctl *
664 .TE
665
666 // <include/linux/vt.h>
667 .TS
668 l l l l.
669 0x00005600      VT_OPENQRY      int *
670 0x00005601      VT_GETMODE      struct vt_mode *
671 0x00005602      VT_SETMODE      const struct vt_mode *
672 0x00005603      VT_GETSTATE     struct vt_stat *
673 0x00005604      VT_SENDSIG      void
674 0x00005605      VT_RELDISP      int
675 0x00005606      VT_ACTIVATE     int
676 0x00005607      VT_WAITACTIVE   int
677 0x00005608      VT_DISALLOCATE  int
678 0x00005609      VT_RESIZE       const struct vt_sizes *
679 0x0000560A      VT_RESIZEX      const struct vt_consize *
680 .TE
681
682 // More arguments.
683 ¤¤¤¯¤Ä¤«¤Î ioctl ¤ÏÄɲäΥݥ¤¥ó¥¿¤ò´Þ¤à¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤ò»ÈÍѤ·¤Þ¤¹¡£
684 ¤³¤³¤Ç¤³¤ì¤é¤ò¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¤ËÀâÌÀ¤·¤Þ¤¹¡£
685
686 .B CDROMREADAUDIO
687 ¤ÏÆþÎϥݥ¤¥ó¥¿
688 .I "const struct cdrom_read_audio *"
689 ¤ò»ÈÍѤ·¤Þ¤¹¡£
690 .I buf
691 ¥Õ¥£¡¼¥ë¥É¤ÏÂ礭¤µ
692 .IR "nframes * CD_FRAMESIZE_RAW"
693 ¤Î½ÐÎϥХåե¡¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£
694
695 .BR CDROMREADCOOKED ,
696 .BR CDROMREADMODE1 ,
697 .BR CDROMREADMODE2 ,
698 .B CDROMREADRAW
699 ¤ÏÆþÎϥݥ¤¥ó¥¿
700 .I const struct cdrom_msf *
701 ¤ò»ÈÍѤ·¤Þ¤¹¡£¤³¤ì¤é¤ÏƱ¤¸¥Ý¥¤¥ó¥¿¤ò
702 .I char []
703 ¤Ø¤Î½ÐÎϥݥ¤¥ó¥¿¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£
704 Ťµ¤ÏÍ×µá¤Ë¤è¤Ã¤ÆÊѲ½¤·¤Þ¤¹¡£
705 .B CDROMREADMODE1
706 ¤Ë¤Ï¡¢Â¿¤¯¤Î¥Ç¥Ð¥¤¥¹¤¬
707 CD_FRAMESIZE ¤ò»ÈÍѤ·¤Þ¤¹¤¬¡¢¸÷³Øµ­²±ÁõÃÖ (¸÷¥Ç¥£¥¹¥¯) ¤Î¥É¥é¥¤¥Ð¤Ï
708 OPT_BLOCKSIZE ¤ò»ÈÍѤ·¤Þ¤¹ (¤É¤Á¤é¤âƱ¤¸ÃͤǠ2048 ¤Ç¤¹)¡£
709 .nf
710
711     CDROMREADCOOKED    char [CD_FRAMESIZE]
712     CDROMREADMODE1     char [CD_FRAMESIZE or OPT_BLOCKSIZE]
713     CDROMREADMODE2     char [CD_FRAMESIZE_RAW0]
714     CDROMREADRAW       char [CD_FRAMESIZE_RAW]
715
716 .fi
717 .BR EQL_ENSLAVE ,
718 .BR EQL_EMANCIPATE ,
719 .BR EQL_GETSLAVECFG ,
720 .BR EQL_SETSLAVECFG ,
721 .BR EQL_GETMASTERCFG ,
722 .B EQL_SETMASTERCFG
723 ¤Ï
724 .I struct ifreq *
725 ¤ò»ÈÍѤ·¤Þ¤¹¡£
726 .I ifr_data
727 ¥Õ¥£¡¼¥ë¥É¤Ï°Ê²¼¤Ë¼¨¤¹Ê̤ι½Â¤ÂΤؤΥݥ¤¥ó¥¿¤Ç¤¹:
728 .nf
729
730     EQL_ENSLAVE         const struct slaving_request *
731     EQL_EMANCIPATE      const struct slaving_request *
732     EQL_GETSLAVECFG     struct slave_config *           // I-O
733     EQL_SETSLAVECFG     const struct slave_config *
734     EQL_GETMASTERCFG    struct master_config *
735     EQL_SETMASTERCFG    const struct master_config *
736
737 .fi
738 .B FDRAWCMD
739 ¤Ï
740 .I struct floppy raw_cmd *
741 ¤ò»ÈÍѤ·¤Þ¤¹¡£
742 .I flags & FD_RAW_WRITE
743 ¤¬¥¼¥í°Ê³°¤Î¾ì¹ç¡¢
744 .I data
745 ¤ÏÂ礭¤µ
746 .I length
747 ¤ÎÆþÎϥХåե¡¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ë¤Ê¤ê¤Þ¤¹¡£
748 .I flags & FD_RAW_READ
749 ¤¬¥¼¥í°Ê³°¤Î¾ì¹ç¡¢
750 .I data
751 ¤ÏÂ礭¤µ
752 .I length
753 ¤Î½ÐÎϥХåե¡¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ë¤Ê¤ê¤Þ¤¹¡£
754
755 .BR GIO_FONTX ,
756 .B PIO_FONTX
757 ¤Ï¤½¤ì¤¾¤ì
758 .I struct console_font_desc *
759 ¤È
760 .I const struct console_font_desc *
761 ¤ò»ÈÍѤ·¤Þ¤¹¡£
762 .I chardata
763 ¤Ï
764 .I char [charcount]
765 ¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£
766 ¤³¤ì¤Ï
767 .B GIO_FONTX
768 ¤Î½ÐÎϥХåե¡¤È
769 .B PIO_FONTX
770 ¤ÎÆþÎϥХåե¡¤Ç¤¹¡£
771
772 .BR GIO_UNIMAP ,
773 .B PIO_UNIMAP
774 ¤Ï¤½¤ì¤¾¤ì
775 .I struct unimapdesc *
776 ¤È
777 .I const struct unimapdesc *
778 ¤ò»ÈÍѤ·¤Þ¤¹¡£
779 .I entries
780 ¤Ï
781 .I struct unipair [entry_ct]
782 ¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£
783 ¤³¤ì¤Ï
784 .B GIO_UNIMAP
785 ¤Î½ÐÎϥХåե¡¤È
786 .B PIO_UNIMAP
787 ¤ÎÆþÎϥХåե¡¤Ç¤¹¡£
788
789 KDADDIO, KDDELIO, KDDISABIO, KDENABIO ¤Ï I/O ¥Ý¡¼¥È¤Ø¤Î¥¢¥¯¥»¥¹¤ò
790 ²Äǽ/ÉÔ²Äǽ¤Ë¤·¤Þ¤¹¡£¤³¤ì¤é¤ÏËܼÁŪ¤Ë¡¢'ioperm' ¤Ø¤ÎÊ̤Î
791 ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ç¤¹¡£
792
793 .BR KDMAPDISP ,
794 .B KDUNMAPDISP
795 ¤Ï¥á¥â¥ê¡¦¥Þ¥Ã¥Ô¥ó¥°¤ä I/O ¥Ý¡¼¥È¤Ø¤Î¥¢¥¯¥»¥¹¤ò²Äǽ/ÉÔ²Äǽ¤Ë¤·¤Þ¤¹¡£
796 ¤³¤ì¤é¤Ï¥«¡¼¥Í¥ë¤Ë¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
797
798 .B SCSI_IOCTL_PROBE_HOST
799 ¤ÏÆþÎϥݥ¤¥ó¥¿
800 .I const int *
801 ¤òÂ礭¤µ¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£¤³¤ì¤ÏƱ¤¸Â礭¤µ¤Î
802 .I char []
803 ¥Ð¥Ã¥Õ¥¡ ¤Ø¤Î½ÐÎϥݥ¤¥ó¥¿¤È¤·¤Æ¤â»ÈÍѤ·¤Þ¤¹¡£
804
805 .BR SIOCADDRT ,
806 .B SIOCDELRT
807 ¤Ï·¿¤¬°Ê²¼¤Î¥×¥í¥È¥³¥ë¤Ë°Í¸¤¹¤ëÆþÎϥݥ¤¥ó¥¿¤ò»ÈÍѤ·¤Þ¤¹:
808 .nf
809
810     Most protocols      const struct rtentry *
811     AX.25               const struct ax25_route *
812     NET/ROM             const struct nr_route_struct *
813
814 .fi
815 .B SIOCGIFCONF
816 ¤Ï
817 .I struct ifconf *
818 ¤ò»ÈÍѤ·¤Þ¤¹¡£¤³¤Î
819 .I ifc_buf
820 ¥Õ¥£¡¼¥ë¥É¤ÏŤµ
821 .I ifc_len
822 ¥Ð¥¤¥È¤Î¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£
823 ¤³¤ì¤Ë¥«¡¼¥Í¥ë¤¬
824 .I struct ifreq []
825 ·¿¤Î¥ê¥¹¥È¤Ø½ñ¤­¹þ¤ß¤Þ¤¹¡£
826
827 .B SIOCSIFHWADDR
828 ¤Ï·¿¤¬°Ê²¼¤Î¥×¥í¥È¥³¥ë¤Ë°Í¸¤¹¤ëÆþÎϥݥ¤¥ó¥¿¤ò»ÈÍѤ·¤Þ¤¹:
829 .nf
830
831     Most protocols      const struct ifreq *
832     AX.25               const char [AX25_ADDR_LEN]
833
834 .fi
835 .B TIOCLINUX
836 ¤Ï
837 .I const char *
838 ¤ò»ÈÍѤ·¤Þ¤¹¡£¤³¤Î¥Ý¥¤¥ó¥¿¤ò¤¤¤¯¤Ä¤«¤Î
839 ÆÈΩ¤·¤¿¥µ¥Ö¥¯¥é¥¹¤ò¼±Ê̤¹¤ë°Ù¤Ë»ÈÍѤ·¤Þ¤¹¡£°Ê²¼¤Î¥Æ¡¼¥Ö¥ë¤ÎÃæ¤Ç¡¢
840 .I N + foo
841 ¤Ï N ¥Ð¥¤¥È¤ÎµÍ¤á¤â¤Î¤Î¸å¤Ë¤¢¤ë
842 .I foo
843 ¤ò°ÕÌ£¤·¤Þ¤¹¡£
844 .I struct selection
845 ¤Ï°ÅÌÛŪ¤Ë
846 .I drivers/char/selection.c
847 ¤ÎÃæ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
848 .nf
849
850     TIOCLINUX-2         1 + const struct selection *
851     TIOCLINUX-3         void
852     TIOCLINUX-4         void
853     TIOCLINUX-5         4 + const struct { long [8]; } *
854     TIOCLINUX-6         char *
855     TIOCLINUX-7         char *
856     TIOCLINUX-10        1 + const char *
857
858 .fi
859 // Duplicate ioctls
860
861 ¤³¤Î¥ê¥¹¥È¤Ï
862 .B SIOCDEVPRIVATE
863 ¤«¤é
864 .B SIOCPROTOPRIVATE
865 ¤ÎÈϰϤΠioctl ¤ò´Þ¤ó¤Ç¤¤¤Þ¤»¤ó¡£
866 .TS
867 l l l.
868 0x00000001      FDSETPRM        FIBMAP
869 0x00000002      FDDEFPRM        FIGETBSZ
870 0x00005382      CDROMAUDIOBUFSIZ        SCSI_IOCTL_GET_IDLUN
871 0x00005402      SNDCTL_TMR_START        TCSETS
872 0x00005403      SNDCTL_TMR_STOP TCSETSW
873 0x00005404      SNDCTL_TMR_CONTINUE     TCSETSF
874 .TE
875 .SH ´ØÏ¢¹àÌÜ
876 .BR ioctl (2)