3 .\" Michael Elizabeth Chastain
4 .\" <mec@duracef.shout.net>
8 .\" Ioctl List 1.3.27 is copyright 1995 by Michael Elizabeth Chastain.
9 .\" It is licensed under the Gnu Public License, Version 2.
15 .\" 1.3.27 421 ioctls.
16 .\" Type information for non-pointer args.
17 .\" SIOCDEVPRIVATE, SIOCPROTOPRIVATE ioctls.
18 .\" Descriptions of extended arguments.
21 .\" First public version.
23 .\" Translated to German Sun Jun 02 13:54:00 1996 by Patrick Rother <krd@gulu.net>
24 .\" Thu Jan 11 21:27:01 2001: Martin Schulze <joey@infodrom.ffis.de>: Turned into manpage
25 .\" Beautified 22 Feb 2001 Michael Piefel <piefel@informatik.hu-berlin.de>
27 .TH IOCTL_LIST 2 "17. September 1995" "Linux 1.3" "Systemaufrufe"
29 ioctl_list \- Liste der ioctl-Aufrufe im Linux/i386-Kernel
31 Dies ist die Ioctl-Liste 1.3.27, eine Liste von ioctl-Aufrufen im
32 Linux/i386-Kernel 1.3.27. Sie enthält 421 ioctls aus
33 \fI/usr/include/{asm,linux}/*.h\fR. Für jeden ioctl wird der numerische Wert, der
34 Name und der Argumenttyp aufgelistet.
36 Ein Argumenttyp \fBconst struct foo *\fR bedeutet, dass das Argument Eingabe
37 für den Kernel ist. \fBstruct foo *\fR bedeutet, der Kernel gibt das Argument aus.
38 Wenn der Kernel das Argument für Ein- und Ausgabe benutzt, wird dies durch
41 Einige ioctls benötigen mehr Argumente oder geben mehr Werte zurück als eine
42 einzige Struktur. Diese werden durch // MORE markiert und weiter dokumentiert
43 in einem separaten Abschnitt.
45 Diese Liste ist nicht vollständig. Sie enthält nicht:
48 Ioctls, die intern im Kernel definiert sind (\fIscsi_ioctl.h\fR).
51 Ioctls, die in Modulen definiert sind, die separat vom Kernel verbreitet werden.
53 Und natürlich hat die Liste Fehler und Auslassungen.
55 Bitte wenden Sie sich wegen Änderungen und Kommentaren an
56 <mec@duracef.shout.net>. Ich bin besonders interessiert an Modulen, die ihre
57 eigenen ioctls definieren. Wenn Sie solch ein Modul kennen, teilen es Sie mir
58 bitte mit, damit ich es mir per ftp besorgen kann, und ich berücksichtige seine
59 ioctls in der nächsten Ausgabe dieser Liste.
61 Bitte wenden Sie sich wegen der Übersetzung in's Deutsche nicht an
62 <krd@burn.rhein-ruhr.de>. ;-)
66 .SS "// <include/asm-i386/socket.h>"
68 0x00008901 FIOSETOWN const int *
69 0x00008902 SIOCSPGRP const int *
70 0x00008903 FIOGETOWN int *
71 0x00008904 SIOCGPGRP int *
72 0x00008905 SIOCATMARK int *
73 0x00008906 SIOCGSTAMP timeval *
75 .SS "// <include/asm-i386/termios.h>"
77 0x00005401 TCGETS struct termios *
78 0x00005402 TCSETS const struct termios *
79 0x00005403 TCSETSW const struct termios *
80 0x00005404 TCSETSF const struct termios *
81 0x00005405 TCGETA struct termio *
82 0x00005406 TCSETA const struct termio *
83 0x00005407 TCSETAW const struct termio *
84 0x00005408 TCSETAF const struct termio *
88 0x0000540C TIOCEXCL void
89 0x0000540D TIOCNXCL void
90 0x0000540E TIOCSCTTY int
91 0x0000540F TIOCGPGRP pid_t *
92 0x00005410 TIOCSPGRP const pid_t *
93 0x00005411 TIOCOUTQ int *
94 0x00005412 TIOCSTI const char *
95 0x00005413 TIOCGWINSZ const struct winsize *
96 0x00005414 TIOCSWINSZ struct winsize *
97 0x00005415 TIOCMGET int *
98 0x00005416 TIOCMBIS const int *
99 0x00005417 TIOCMBIC const int *
100 0x00005418 TIOCMSET const int *
101 0x00005419 TIOCGSOFTCAR int *
102 0x0000541A TIOCSSOFTCAR const int *
103 0x0000541B FIONREAD int *
104 0x0000541B TIOCINQ int *
105 0x0000541C TIOCLINUX const char * // MORE
106 0x0000541D TIOCCONS void
107 0x0000541E TIOCGSERIAL struct serial_struct *
108 0x0000541F TIOCSSERIAL const struct serial_struct *
109 0x00005420 TIOCPKT const int *
110 0x00005421 FIONBIO const int *
111 0x00005422 TIOCNOTTY void
112 0x00005423 TIOCSETD const int *
113 0x00005424 TIOCGETD int *
114 0x00005425 TCSBRKP int
115 0x00005426 TIOCTTYGSTRUCT struct tty_struct *
116 0x00005450 FIONCLEX void
117 0x00005451 FIOCLEX void
118 0x00005452 FIOASYNC const int *
119 0x00005453 TIOCSERCONFIG void
120 0x00005454 TIOCSERGWILD int *
121 0x00005455 TIOCSERSWILD const int *
122 0x00005456 TIOCGLCKTRMIOS struct termios *
123 0x00005457 TIOCSLCKTRMIOS const struct temios *
124 0x00005458 TIOCSERGSTRUCT struct async_struct *
125 0x00005459 TIOCSERGETLSR int *
126 0x0000545A TIOCSERGETMULTI struct serial_multiport_struct *
127 0x0000545B TIOCSERSETMULTI const struct serial_multiport_struct *
129 .SS "// <include/linux/ax25.h>"
131 0x000089E0 SIOCAX25GETUID const struct sockaddr_ax25 *
132 0x000089E1 SIOCAX25ADDUID const struct sockaddr_ax25 *
133 0x000089E2 SIOCAX25DELUID const struct sockaddr_ax25 *
134 0x000089E3 SIOCAX25NOUID const int *
135 0x000089E4 SIOCAX25DIGCTL const int *
136 0x000089E5 SIOCAX25GETPARMS struct ax25_parms_struct * // I-O
137 0x000089E6 SIOCAX25SETPARMS const struct ax25_parms-struct *
139 .SS "// <include/linux/cdk.h>"
141 0x00007314 STL_BINTR void
142 0x00007315 STL_BSTART void
143 0x00007316 STL_BSTOP void
144 0x00007317 STL_BRESET void
146 .SS "// <include/linux/cdrom.h>"
148 0x00005301 CDROMPAUSE void
149 0x00005302 CDROMRESUME void
150 0x00005303 CDROMPLAYMSF const struct cdrom_msf *
151 0x00005304 CDROMPLAYTRKIND const struct cdrom_ti *
152 0x00005305 CDROMREADTOCHDR struct cdrom_tochdr *
153 0x00005306 CDROMREADTOCENTRY struct cdrom_tocentry * // I-O
154 0x00005307 CDROMSTOP void
155 0x00005308 CDROMSTART void
156 0x00005309 CDROMEJECT void
157 0x0000530A CDROMVOLCTRL const struct cdrom_volctrl *
158 0x0000530B CDROMSUBCHNL struct cdrom_subchnl * // I-O
159 0x0000530C CDROMREADMODE2 const struct cdrom_msf * // MORE
160 0x0000530D CDROMREADMODE1 const struct cdrom_msf * // MORE
161 0x0000530E CDROMREADAUDIO const struct cdrom_read_audio * // MORE
162 0x0000530F CDROMEJECT_SW int
163 0x00005310 CDROMMULTISESSION struct cdrom_multisession * // I-O
164 0x00005311 CDROM_GET_UPC struct { char [8]; } *
165 0x00005312 CDROMRESET void
166 0x00005313 CDROMVOLREAD struct cdrom_volctrl *
167 0x00005314 CDROMREADRAW const struct cdrom_msf * // MORE
168 0x00005315 CDROMREADCOOKED const struct cdrom_msf * // MORE
169 0x00005316 CDROMSEEK const struct cdrom_msf *
171 .SS "// <include/linux/cm206.h>"
173 0x00002000 CM206CTL_GET_STAT int
174 0x00002001 CM206CTL_GET_LAST_STAT int
176 .SS "// <include/linux/cyclades.h>"
178 0x00435901 CYGETMON struct cyclades_monitor *
179 0x00435902 CYGETTHRESH int *
180 0x00435903 CYSETTHRESH int
181 0x00435904 CYGETDEFTHRESH int *
182 0x00435905 CYSETDEFTHRESH int
183 0x00435906 CYGETTIMEOUT int *
184 0x00435907 CYSETTIMEOUT int
185 0x00435908 CYGETDEFTIMEOUT int *
186 0x00435909 CYSETDEFTIMEOUT int
188 .SS "// <include/linux/ext2_fs.h>"
190 0x80046601 EXT2_IOC_GETFLAGS int *
191 0x40046602 EXT2_IOC_SETFLAGS const int *
192 0x80047601 EXT2_IOC_GETVERSION int *
193 0x40047602 EXT2_IOC_SETVERSION const int *
195 .SS "// <include/linux/fd.h>"
197 0x00000000 FDCLRPRM void
198 0x00000001 FDSETPRM const struct floppy_struct *
199 0x00000002 FDDEFPRM const struct floppy_struct *
200 0x00000003 FDGETPRM struct floppy_struct *
201 0x00000004 FDMSGON void
202 0x00000005 FDMSGOFF void
203 0x00000006 FDFMTBEG void
204 0x00000007 FDFMTTRK const struct format_descr *
205 0x00000008 FDFMTEND void
206 0x0000000A FDSETEMSGTRESH int
207 0x0000000B FDFLUSH void
208 0x0000000C FDSETMAXERRS const struct floppy_max_errors *
209 0x0000000E FDGETMAXERRS struct floppy_max_errors *
210 0x00000010 FDGETDRVTYP struct { char [16]; } *
211 0x00000014 FDSETDRVPRM const struct floppy_drive_params *
212 0x00000015 FDGETDRVPRM struct floppy_drive_params *
213 0x00000016 FDGETDRVSTAT struct floppy_drive_struct *
214 0x00000017 FDPOLLDRVSTAT struct floppy_drive_struct *
215 0x00000018 FDRESET int
216 0x00000019 FDGETFDCSTAT struct floppy_fdc_state *
217 0x0000001B FDWERRORCLR void
218 0x0000001C FDWERRORGET struct floppy_write_errors *
219 0x0000001E FDRAWCMD struct floppy_raw_cmd * // MORE // I-O
220 0x00000028 FDTWADDLE void
222 .SS "// <include/linux/fs.h>"
224 0x0000125D BLKROSET const int *
225 0x0000125E BLKROGET int *
226 0x0000125F BLKRRPART void
227 0x00001260 BLKGETSIZE int *
228 0x00001261 BLKFLSBUF void
229 0x00001262 BLKRASET int
230 0x00001263 BLKRAGET int *
231 0x00000001 FIBMAP int * // I-O
232 0x00000002 FIGETBSZ int *
234 .SS "// <include/linux/hdreg.h>"
236 0x00000301 HDIO_GETGEO struct hd_geometry *
237 0x00000302 HDIO_GET_UNMASKINTR int *
238 0x00000304 HDIO_GET_MULTCOUNT int *
239 0x00000307 HDIO_GET_IDENTITY struct hd_driveid *
240 0x00000308 HDIO_GET_KEEPSETTINGS int *
241 0x00000309 HDIO_GET_CHIPSET int *
242 0x0000030A HDIO_GET_NOWERR int *
243 0x0000030B HDIO_GET_DMA int *
244 0x0000031F HDIO_DRIVE_CMD int * // I-O
245 0x00000321 HDIO_SET_MULTCOUNT int
246 0x00000322 HDIO_SET_UNMASKINTR int
247 0x00000323 HDIO_SET_KEEPSETTINGS int
248 0x00000324 HDIO_SET_CHIPSET int
249 0x00000325 HDIO_SET_NOWERR int
250 0x00000326 HDIO_SET_DMA int
252 .SS "// <include/linux/if_eql.h>"
254 0x000089F0 EQL_ENSLAVE struct ifreq * // MORE // I-O
255 0x000089F1 EQL_EMANCIPATE struct ifreq * // MORE // I-O
256 0x000089F2 EQL_GETSLAVECFG struct ifreq * // MORE // I-O
257 0x000089F3 EQL_SETSLAVECFG struct ifreq * // MORE // I-O
258 0x000089F4 EQL_GETMASTRCFG struct ifreq * // MORE // I-O
259 0x000089F5 EQL_SETMASTRCFG struct ifreq * // MORE // I-O
261 .SS "// <include/linux/if_plip.h>"
263 0x000089F0 SIOCDEVPLIP struct ifreq * // I-O
265 .SS "// <include/linux/if_ppp.h>"
267 0x00005490 PPPIOCGFLAGS int *
268 0x00005491 PPPIOCSFLAGS const int *
269 0x00005492 PPPIOCGASYNCMAP int *
270 0x00005493 PPPIOCSASYNCMAP const int *
271 0x00005494 PPPIOCGUNIT int *
272 0x00005495 PPPIOCSINPSIG const int *
273 0x00005497 PPPIOCSDEBUG const int *
274 0x00005498 PPPIOCGDEBUG int *
275 0x00005499 PPPIOCGSTAT struct ppp_stats *
276 0x0000549A PPPIOCGTIME struct ppp_ddinfo *
277 0x0000549B PPPIOCGXASYNCMAP struct { int [8]; } *
278 0x0000549C PPPIOCSXASYNCMAP const struct { int [8]; } *
279 0x0000549D PPPIOCSMRU const int *
280 0x0000549E PPPIOCRASYNCMAP const int *
281 0x0000549F PPPIOCSMAXCID const int *
283 .SS "// <include/linux/ipx.h>"
285 0x000089E0 SIOCAIPXITFCRT const char *
286 0x000089E1 SIOCAIPXPRISLT const char *
287 0x000089E2 SIOCIPXCFGDATA struct ipx_config_data *
289 .SS "// <include/linux/kd.h>"
291 0x00004B60 GIO_FONT struct { char [8192]; } *
292 0x00004B61 PIO_FONT const struct { char [8192]; } *
293 0x00004B6B GIO_FONTX struct console_font_desc * // MORE I-O
294 0x00004B6C PIO_FONTX const struct console_font_desc * //MORE
295 0x00004B70 GIO_CMAP struct { char [48]; } *
296 0x00004B71 PIO_CMAP const struct { char [48]; }
297 0x00004B2F KIOCSOUND int
298 0x00004B30 KDMKTONE int
299 0x00004B31 KDGETLED char *
300 0x00004B32 KDSETLED int
301 0x00004B33 KDGKBTYPE char *
302 0x00004B34 KDADDIO int // MORE
303 0x00004B35 KDDELIO int // MORE
304 0x00004B36 KDENABIO void // MORE
305 0x00004B37 KDDISABIO void // MORE
306 0x00004B3A KDSETMODE int
307 0x00004B3B KDGETMODE int *
308 0x00004B3C KDMAPDISP void // MORE
309 0x00004B3D KDUNMAPDISP void // MORE
310 0x00004B40 GIO_SCRNMAP struct { char [E_TABSZ]; } *
311 0x00004B41 PIO_SCRNMAP const struct { char [E_TABSZ]; } *
312 0x00004B69 GIO_UNISCRNMAP struct { short [E_TABSZ]; } *
313 0x00004B6A PIO_UNISCRNMAP const struct { short [E_TABSZ]; } *
314 0x00004B66 GIO_UNIMAP struct unimapdesc * // MORE // I-O
315 0x00004B67 PIO_UNIMAP const struct unimapdesc * // MORE
316 0x00004B68 PIO_UNIMAPCLR const struct unimapinit *
317 0x00004B44 KDGKBMODE int *
318 0x00004B45 KDSKBMODE int
319 0x00004B62 KDGKBMETA int *
320 0x00004B63 KDSKBMETA int
321 0x00004B64 KDGKBLED int *
322 0x00004B65 KDSKBLED int
323 0x00004B46 KDGKBENT struct kbentry * // I-O
324 0x00004B47 KDSKBENT const struct kbentry *
325 0x00004B48 KDGKBSENT struct kbsentry * // I-O
326 0x00004B49 KDSKBSENT const struct kbsentry *
327 0x00004B4A KDGKBDIACR struct kbdiacrs *
328 0x00004B4B KDSKBDIACR const struct kbdiacrs *
329 0x00004B4C KDGETKEYCODE struct kbkeycode * // I-O
330 0x00004B4D KDSETKEYCODE const struct kbkeycode *
331 0x00004B4E KDSIGACCEPT int
333 .SS "// <include/linux/lp.h>"
335 0x00000601 LPCHAR int
336 0x00000602 LPTIME int
337 0x00000604 LPABORT int
338 0x00000605 LPSETIRQ int
339 0x00000606 LPGETIRQ int *
340 0x00000608 LPWAIT int
341 0x00000609 LPCAREFUL int
342 0x0000060A LPABORTOPEN int
343 0x0000060B LPGETSTATUS int *
344 0x0000060C LPRESET void
345 0x0000060D LPGETSTATS struct lp_stats *
347 .SS "// <include/linux/mroute.h>"
349 0x000089E0 SIOCGETVIFCNT struct sioc_vif_req * // I-O
350 0x000089E1 SIOCGETSGCNT struct sioc_sg_req * // I-O
352 .SS "// <include/linux/mtio.h>"
354 0x40086D01 MTIOCTOP const struct mtop *
355 0x801C6D02 MTIOCGET struct mtget *
356 0x80046D03 MTIOCPOS struct mtpos *
357 0x80206D04 MTIOCGETCONFIG struct mtconfiginfo *
358 0x40206D05 MTIOCSETCONFIG const struct mtconfiginfo *
360 .SS "// <include/linux/netrom.h>"
362 0x000089E0 SIOCNRGETPARMS struct nr_parms_struct * // I-O
363 0x000089E1 SIOCNRSETPARMS const struct nr_parms_struct *
364 0x000089E2 SIOCNRDECOBS void
365 0x000089E3 SIOCNRRTCTL const int *
367 .SS "// <include/linux/sbpcd.h>"
369 0x00009000 DDIOCSDBG const int *
370 0x00005382 CDROMAUDIOBUFSIZ int
372 .SS "// <include/linux/scc.h>"
374 0x00005470 TIOCSCCINI void
375 0x00005471 TIOCCHANINI const struct scc_modem *
376 0x00005472 TIOCGKISS struct ioctl_command * // I-O
377 0x00005473 TIOCSKISS const struct ioctl_command *
378 0x00005474 TIOCSCCSTAT struct scc_stat *
380 .SS "// <include/linux/scsi.h>"
382 0x00005382 SCSI_IOCTL_GET_IDLUN struct { int [2]; } *
383 0x00005383 SCSI_IOCTL_TAGGED_ENABLE void
384 0x00005384 SCSI_IOCTL_TAGGED_DISABLE void
385 0x00005385 SCSI_IOCTL_PROBE_HOST const int * // MORE
387 .SS "// <include/linux/smb_fs.h>"
389 0x80027501 SMB_IOC_GETMOUNTUID uid_t *
391 .SS "// <include/linux/sockios.h>"
393 0x0000890B SIOCADDRT const struct rtentry * // MORE
394 0x0000890C SIOCDELRT const struct rtentry * // MORE
395 0x00008910 SIOCGIFNAME char []
396 0x00008911 SIOCSIFLINK void
397 0x00008912 SIOCGIFCONF struct ifconf * // MORE // I-O
398 0x00008913 SIOCGIFFLAGS struct ifreq * // I-O
399 0x00008914 SIOCSIFFLAGS const struct ifreq *
400 0x00008915 SIOCGIFADDR struct ifreq * // I-O
401 0x00008916 SIOCSIFADDR const struct ifreq *
402 0x00008917 SIOCGIFDSTADDR struct ifreq * // I-O
403 0x00008918 SIOCSIFDSTADDR const struct ifreq *
404 0x00008919 SIOCGIFBRDADDR struct ifreq * // I-O
405 0x0000891A SIOCSIFBRDADDR const struct ifreq *
406 0x0000891B SIOCGIFNETMASK struct ifreq * // I-O
407 0x0000891C SIOCSIFNETMASK const struct ifreq *
408 0x0000891D SIOCGIFMETRIC struct ifreq * // I-O
409 0x0000891E SIOCSIFMETRIC const struct ifreq *
410 0x0000891F SIOCGIFMEM struct ifreq * // I-O
411 0x00008920 SIOCSIFMEM const struct ifreq *
412 0x00008921 SIOCGIFMTU struct ifreq * // I-O
413 0x00008922 SIOCSIFMTU const struct ifreq *
414 0x00008923 OLD_SIOCGIFHWADDR struct ifreq * // I-O
415 0x00008924 SIOCSIFHWADDR const struct ifreq * // MORE
416 0x00008925 SIOCGIFENCAP int *
417 0x00008926 SIOCSIFENCAP const int *
418 0x00008927 SIOCGIFHWADDR struct ifreq * // I-O
419 0x00008929 SIOCGIFSLAVE void
420 0x00008930 SIOCSIFSLAVE void
421 0x00008931 SIOCADDMULTI const struct ifreq *
422 0x00008932 SIOCDELMULTI const struct ifreq *
423 0x00008940 SIOCADDRTOLD void
424 0x00008941 SIOCDELRTOLD void
425 0x00008950 SIOCDARP const struct arpreq *
426 0x00008951 SIOCGARP struct arpreq * // I-O
427 0x00008952 SIOCSARP const struct arpreq *
428 0x00008960 SIOCDRARP const struct arpreq *
429 0x00008961 SIOCGRARP struct arpreq * // I-O
430 0x00008962 SIOCSRARP const struct arpreq *
431 0x00008970 SIOCGIFMAP struct ifreq * // I-O
432 0x00008971 SIOCSIFMAP const struct ifreq *
434 .SS "// <include/linux/soundcard.h>"
436 0x00005100 SNDCTL_SEQ_RESET void
437 0x00005101 SNDCTL_SEQ_SYNC void
438 0xC08C5102 SNDCTL_SYNTH_INFO struct synth_info * // I-O
439 0xC0045103 SNDCTL_SEQ_CTRLRATE int * // I-O
440 0x80045104 SNDCTL_SEQ_GETOUTCOUNT int *
441 0x80045105 SNDCTL_SEQ_GETINCOUNT int *
442 0x40045106 SNDCTL_SEQ_PERCMODE void
443 0x40285107 SNDCTL_FM_LOAD_INSTR const struct sbi_instrument *
444 0x40045108 SNDCTL_SEQ_TESTMIDI const int *
445 0x40045109 SNDCTL_SEQ_RESETSAMPLES const int *
446 0x8004510A SNDCTL_SEQ_NRSYNTHS int *
447 0x8004510B SNDCTL_SEQ_NRMIDIS int *
448 0xC074510C SNDCTL_MIDI_INFO struct midi_info * // I-O
449 0x4004510D SNDCTL_SEQ_THRESHOLD const int *
450 0xC004510E SNDCTL_SYNTH_MEMAVL int * // I-O
451 0x4004510F SNDCTL_FM_4OP_ENABLE const int *
452 0xCFB85110 SNDCTL_PMGR_ACCESS struct patmgr_info * // I-O
453 0x00005111 SNDCTL_SEQ_PANIC void
454 0x40085112 SNDCTL_SEQ_OUTOFBAND const struct seq_event_rec *
455 0xC0045401 SNDCTL_TMR_TIMEBASE int * // I-O
456 0x00005402 SNDCTL_TMR_START void
457 0x00005403 SNDCTL_TMR_STOP void
458 0x00005404 SNDCTL_TMR_CONTINUE void
459 0xC0045405 SNDCTL_TMR_TEMPO int * // I-O
460 0xC0045406 SNDCTL_TMR_SOURCE int * // I-O
461 0x40045407 SNDCTL_TMR_METRONOME const int *
462 0x40045408 SNDCTL_TMR_SELECT int * // I-O
463 0xCFB85001 SNDCTL_PMGR_IFACE struct patmgr_info * // I-O
464 0xC0046D00 SNDCTL_MIDI_PRETIME int * // I-O
465 0xC0046D01 SNDCTL_MIDI_MPUMODE const int *
466 0xC0216D02 SNDCTL_MIDI_MPUCMD struct mpu_command_rec * // I-O
467 0x00005000 SNDCTL_DSP_RESET void
468 0x00005001 SNDCTL_DSP_SYNC void
469 0xC0045002 SNDCTL_DSP_SPEED int * // I-O
470 0xC0045003 SNDCTL_DSP_STEREO int * // I-O
471 0xC0045004 SNDCTL_DSP_GETBLKSIZE int * // I-O
472 0xC0045006 SOUND_PCM_WRITE_CHANNELS int * // I-O
473 0xC0045007 SOUND_PCM_WRITE_FILTER int * // I-O
474 0x00005008 SNDCTL_DSP_POST void
475 0xC0045009 SNDCTL_DSP_SUBDIVIDE int * // I-O
476 0xC004500A SNDCTL_DSP_SETFRAGMENT int * // I-O
477 0x8004500B SNDCTL_DSP_GETFMTS int *
478 0xC0045005 SNDCTL_DSP_SETFMT int * // I-O
479 0x800C500C SNDCTL_DSP_GETOSPACE struct audio_buf_info *
480 0x800C500D SNDCTL_DSP_GETISPACE struct audio_buf_info *
481 0x0000500E SNDCTL_DSP_NONBLOCK void
482 0x80045002 SOUND_PCM_READ_RATE int *
483 0x80045006 SOUND_PCM_READ_CHANNELS int *
484 0x80045005 SOUND_PCM_READ_BITS int *
485 0x80045007 SOUND_PCM_READ_FILTER int *
486 0x00004300 SNDCTL_COPR_RESET void
487 0xCFB04301 SNDCTL_COPR_LOAD const struct copr_buffer *
488 0xC0144302 SNDCTL_COPR_RDATA struct copr_debug_buf * // I-O
489 0xC0144303 SNDCTL_COPR_RCODE struct copr_debug_buf * // I-O
490 0x40144304 SNDCTL_COPR_WDATA const struct copr_debug_buf *
491 0x40144305 SNDCTL_COPR_WCODE const struct copr_debug_buf *
492 0xC0144306 SNDCTL_COPR_RUN struct copr_debug_buf * // I-O
493 0xC0144307 SNDCTL_COPR_HALT struct copr_debug_buf * // I-O
494 0x4FA44308 SNDCTL_COPR_SENDMSG const struct copr_msg *
495 0x8FA44309 SNDCTL_COPR_RCVMSG struct copr_msg *
496 0x80044D00 SOUND_MIXER_READ_VOLUME int *
497 0x80044D01 SOUND_MIXER_READ_BASS int *
498 0x80044D02 SOUND_MIXER_READ_TREBLE int *
499 0x80044D03 SOUND_MIXER_READ_SYNTH int *
500 0x80044D04 SOUND_MIXER_READ_PCM int *
501 0x80044D05 SOUND_MIXER_READ_SPEAKER int *
502 0x80044D06 SOUND_MIXER_READ_LINE int *
503 0x80044D07 SOUND_MIXER_READ_MIC int *
504 0x80044D08 SOUND_MIXER_READ_CD int *
505 0x80044D09 SOUND_MIXER_READ_IMIX int *
506 0x80044D0A SOUND_MIXER_READ_ALTPCM int *
507 0x80044D0B SOUND_MIXER_READ_RECLEV int *
508 0x80044D0C SOUND_MIXER_READ_IGAIN int *
509 0x80044D0D SOUND_MIXER_READ_OGAIN int *
510 0x80044D0E SOUND_MIXER_READ_LINE1 int *
511 0x80044D0F SOUND_MIXER_READ_LINE2 int *
512 0x80044D10 SOUND_MIXER_READ_LINE3 int *
513 0x80044D1C SOUND_MIXER_READ_MUTE int *
514 0x80044D1D SOUND_MIXER_READ_ENHANCE int *
515 0x80044D1E SOUND_MIXER_READ_LOUD int *
516 0x80044DFF SOUND_MIXER_READ_RECSRC int *
517 0x80044DFE SOUND_MIXER_READ_DEVMASK int *
518 0x80044DFD SOUND_MIXER_READ_RECMASK int *
519 0x80044DFB SOUND_MIXER_READ_STEREODEVS int *
520 0x80044DFC SOUND_MIXER_READ_CAPS int *
521 0xC0044D00 SOUND_MIXER_WRITE_VOLUME int * // I-O
522 0xC0044D01 SOUND_MIXER_WRITE_BASS int * // I-O
523 0xC0044D02 SOUND_MIXER_WRITE_TREBLE int * // I-O
524 0xC0044D03 SOUND_MIXER_WRITE_SYNTH int * // I-O
525 0xC0044D04 SOUND_MIXER_WRITE_PCM int * // I-O
526 0xC0044D05 SOUND_MIXER_WRITE_SPEAKER int * // I-O
527 0xC0044D06 SOUND_MIXER_WRITE_LINE int * // I-O
528 0xC0044D07 SOUND_MIXER_WRITE_MIC int * // I-O
529 0xC0044D08 SOUND_MIXER_WRITE_CD int * // I-O
530 0xC0044D09 SOUND_MIXER_WRITE_IMIX int * // I-O
531 0xC0044D0A SOUND_MIXER_WRITE_ALTPCM int * // I-O
532 0xC0044D0B SOUND_MIXER_WRITE_RECLEV int * // I-O
533 0xC0044D0C SOUND_MIXER_WRITE_IGAIN int * // I-O
534 0xC0044D0D SOUND_MIXER_WRITE_OGAIN int * // I-O
535 0xC0044D0E SOUND_MIXER_WRITE_LINE1 int * // I-O
536 0xC0044D0F SOUND_MIXER_WRITE_LINE2 int * // I-O
537 0xC0044D10 SOUND_MIXER_WRITE_LINE3 int * // I-O
538 0xC0044D1C SOUND_MIXER_WRITE_MUTE int * // I-O
539 0xC0044D1D SOUND_MIXER_WRITE_ENHANCE int * // I-O
540 0xC0044D1E SOUND_MIXER_WRITE_LOUD int * // I-O
541 0xC0044DFF SOUND_MIXER_WRITE_RECSRC int * // I-O
543 .SS "// <include/linux/umsdos_fs.h>"
545 0x000004D2 UMSDOS_READDIR_DOS struct umsdos_ioctl * // I-O
546 0x000004D3 UMSDOS_UNLINK_DOS const struct umsdos_ioctl *
547 0x000004D4 UMSDOS_RMDIR_DOS const struct umsdos_ioctl *
548 0x000004D5 UMSDOS_STAT_DOS struct umsdos_ioctl * // I-O
549 0x000004D6 UMSDOS_CREAT_EMD const struct umsdos_ioctl *
550 0x000004D7 UMSDOS_UNLINK_EMD const struct umsdos_ioctl *
551 0x000004D8 UMSDOS_READDIR_EMD struct umsdos_ioctl * // I-O
552 0x000004D9 UMSDOS_GETVERSION struct umsdos_ioctl *
553 0x000004DA UMSDOS_INIT_EMD void
554 0x000004DB UMSDOS_DOS_SETUP const struct umsdos_ioctl *
555 0x000004DC UMSDOS_RENAME_DOS const struct umsdos_ioctl *
557 .SS "// <include/linux/vt.h>"
559 0x00005600 VT_OPENQRY int *
560 0x00005601 VT_GETMODE struct vt_mode *
561 0x00005602 VT_SETMODE const struct vt_mode *
562 0x00005603 VT_GETSTATE struct vt_stat *
563 0x00005604 VT_SENDSIG void
564 0x00005605 VT_RELDISP int
565 0x00005606 VT_ACTIVATE int
566 0x00005607 VT_WAITACTIVE int
567 0x00005608 VT_DISALLOCATE int
568 0x00005609 VT_RESIZE const struct vt_sizes *
569 0x0000560A VT_RESIZEX const struct vt_consize *
573 Einige ioctls benötigen einen Pointer auf eine Struktur, die zusätzliche
574 Pointer enthält. Diese sind hier in alphabetischer Reihenfolge dokumentiert.
576 \fBCDROMREADAUDIO\fR benötigt eine Eingabe-Pointer \fBconst struct cdrom_read_audio *\fR.
577 Das Feld \fIbuf\fR zeigt auf einen Ausgabepuffer der Länge
578 \fInframes * CD_FRAMESIZE_RAW\fR.
580 \fBCDROMREADCOOKED\fR, \fBCDROMREADMODE1\fR, \fBCDROMREADMODE2\fR und \fBCDROMREADRAW\fR benötigen
581 einen Eingabe-Pointer \fBconst struct cdrom_msf *\fR. Sie benutzen denselben
582 Pointer als Ausgabe-Pointer auf \fBchar []\fR. Die Länge ändert sich durch
583 Anforderung. Bei \fBCDROMREADMODE1\fR benutzen die meisten Treiber \fBCD_FRAMESIZE\fR,
584 jedoch benutzt der Optics Storage-Treiber stattdessen \fBOPT_BLOCKSIZE\fR
585 (beide haben den numerischen Wert 2048).
587 CDROMREADCOOKED char [CD_FRAMESIZE]
588 CDROMREADMODE1 char [CD_FRAMESIZE oder OPT_BLOCKSIZE]
589 CDROMREADMODE2 char [CD_FRAMESIZE_RAW0]
590 CDROMREADRAW char [CD_FRAMESIZE_RAW]
592 \fBEQL_ENSLAVE,\fR \fBEQL_EMANCIPATE,\fR \fBEQL_GETSLAVECFG,\fR \fBEQL_SETSLAVECFG\fR,
593 \fBEQL_GETMASTERCFG\fR und \fBEQL_SETMASTERCFG\fR benötigen eine \fBstruct ifreq *\fR.
594 Das Feld \fIifr_data\fR ist ein Pointer auf eine weitere Struktur wie folgt:
596 EQL_ENSLAVE const struct slaving_request *
597 EQL_EMANCIPATE const struct slaving_request *
598 EQL_GETSLAVECFG struct slave_config * // I-O
599 EQL_SETSLAVECFG const struct slave_config *
600 EQL_GETMASTERCFG struct master_config *
601 EQL_SETMASTERCFG const struct master_config *
603 \fBFDRAWCMD\fR benötigt eine \fBstruct floppy raw_cmd *\fR. Wenn \fIflags & FD_RAW_WRITE\fR
604 nicht Null ist, dann zeigt \fIdata\fR auf einen Eingabepuffer der Länge
605 \fIlength\fR. Wenn \fIflags & FD_RAW_READ\fR nicht Null ist, dann zeigt \fIdata\fR auf
606 einen Ausgabepuffer der Länge 'length'.
608 \fBGIO_FONTX\fR und \fBPIO_FONTX\fR benötigen eine \fBstruct console_font_desc *\fR
609 beziehungsweise eine \fBconst struct console_font_desc *\fB. \fIchardata\fR zeigt auf
610 einen Puffer von \fBchar [\fIcharcount\fB]\fR. Dies ist ein Ausgabepuffer für \fBGIO_FONTX\fR
611 und ein Eingabepuffer für \fBPIO_FONTX\fR.
613 \fBGIO_UNIMAP\fR und \fBPIO_UNIMAP\fR benötigen eine \fBstruct unimapdesc *\fR beziehungsweise
614 eine \fBconst struct unimapdesc *\fR. \fIentries\fR zeigt auf einen Puffer von
615 \fBstruct unipair [\fIentry_ct\fB]\fR. Dies ist ein Ausgabepuffer für \fBGIO_UNIMAP\fR
616 und ein Eingabepuffer für \fBPIO_UNIMAP\fR.
618 \fBKDADDIO\fR, \fBKDDELIO,\fR \fBKDDISABIO\fR und \fBKDENABIO\fR geben Zugriff frei oder sperren
619 Zugriff auf I/O-Ports. Sie sind nötige Alternativen zu \fIioperm\fR.
621 \fBKDMAPDISP\fR und \fBKDUNMAPDISP\fR geben frei oder sperren Memory-Mappings oder
622 Zugriff auf I/O-Ports. Sie sind nicht im Kernel implementiert.
624 \fBSCSI_IOCTL_PROBE_HOST\fR benötigt einen Eingabe-Pointer \fBconst int *\fR, der eine
625 Länge ist. Es benutzt den selben Pointer als Ausgabe-Pointer auf einen Puffer
626 \fBchar []\fR dieser Länge.
628 \fBSIOCADDRT\fR und \fBSIOCDELRT\fR benötigen einen Eingabe-Pointer, dessen Typ vom
631 Die meisten Protokolle const struct rtentry *
632 AX.25 const struct ax25_route *
633 NET/ROM const struct nr_route_struct *
635 \fBSIOCGIFCONF\fR benötigt eine \fBstruct ifconf *\fR. Das Feld \fIifc_buf\fR zeigt auf
636 einen Puffer der Länge \fIifc_len\fR Byte, wohinein der Kernel eine Liste des
637 Typs \fBstruct ifreq []\fR schreibt.
639 \fBSIOCSIFHWADDR\fR benötigt einen Eingabe-Pointer, dessen Typ vom Protokoll abhängt:
641 Die meisten Protokolle const struct ifreq *
642 AX.25 const char [AX25_ADDR_LEN]
644 \fBTIOCLINUX\fR benötigt eine \fBconst char *\fR. Es benutzt dies, um zwischen
645 diversen unabhängigen Fällen zu unterscheiden. In der Tabelle unten bedeutet
646 »N + foo« so viel wie »foo« nach einem N-byte-Block. \fBstruct selection\fR ist definiert
647 in \fIdrivers/char/selection.c\fR.
649 TIOCLINUX-2 1 + const struct selection *
652 TIOCLINUX-5 4 + const struct { long [8]; } *
655 TIOCLINUX-10 1 + const char *
658 .SS "Doppelte ioctls"
660 Diese Liste enthält keine ioctls der Gruppen \fBSIOCDEVPRIVATE\fR und
661 \fBSIOCPROTOPRIVATE\fR.
663 0x00000001 FDSETPRM FIBMAP
664 0x00000002 FDDEFPRM FIGETBSZ
665 0x00005382 CDROMAUDIOBUFSIZ SCSI_IOCTL_GET_IDLUN
666 0x00005402 SNDCTL_TMR_START TCSETS
667 0x00005403 SNDCTL_TMR_STOP TCSETSW
668 0x00005404 SNDCTL_TMR_CONTINUE TCSETSF