|
Last change
on this file since 25 was 4, checked in by Mattia Monga, 15 years ago |
|
Importazione sorgenti libro
|
|
File size:
669 bytes
|
| 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 <sys/ioc_disk.h> /* 'd' */
|
|---|
| 18 | #include <sys/ioc_memory.h> /* 'm' */
|
|---|
| 19 | #include <sys/ioc_cmos.h> /* 'c' */
|
|---|
| 20 |
|
|---|
| 21 | #endif /* _S_IOCTL_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.