Line | |
---|
1 | /* sys/ioctl.h - All ioctl() command codes. Author: Kees J. Bot
|
---|
2 | * 23 Nov 2002
|
---|
3 | *
|
---|
4 | * This header file includes all other ioctl command code headers.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef _S_IOCTL_H
|
---|
8 | #define _S_IOCTL_H
|
---|
9 |
|
---|
10 | /* A driver that uses ioctls claims a character for its series of commands.
|
---|
11 | * For instance: #define TCGETS _IOR('T', 8, struct termios)
|
---|
12 | * This is a terminal ioctl that uses the character 'T'. The character(s)
|
---|
13 | * used in each header file are shown in the comment following.
|
---|
14 | */
|
---|
15 |
|
---|
16 | #include <sys/ioc_tty.h> /* 'T' 't' 'k' */
|
---|
17 | #include <net/ioctl.h> /* 'n' */
|
---|
18 | #include <sys/ioc_disk.h> /* 'd' */
|
---|
19 | #include <sys/ioc_file.h> /* 'f' */
|
---|
20 | #include <sys/ioc_memory.h> /* 'm' */
|
---|
21 | #include <sys/ioc_cmos.h> /* 'c' */
|
---|
22 | #include <sys/ioc_tape.h> /* 'M' */
|
---|
23 | #include <sys/ioc_scsi.h> /* 'S' */
|
---|
24 | #include <sys/ioc_sound.h> /* 's' */
|
---|
25 |
|
---|
26 | #endif /* _S_IOCTL_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.