7120f34ec1
. also implement some netbsd-style tty ioctls . also implement SIGINFO . also import netbsd stty . rename keymap minix CMIN (for ctrl+minus on numeric keypad) to CNMIN; to keep unchanged control character default CMIN in new <sys/ttydefaults.h> . convert CS[5678] logic in rs232 driver to explicit setting of LC bits Change-Id: I9b7d2963fe9aec00fb6e7535ef565b3191fc1c1d
31 lines
997 B
C
31 lines
997 B
C
/* sys/ioctl.h - All ioctl() command codes. Author: Kees J. Bot
|
|
* 23 Nov 2002
|
|
*
|
|
* This header file includes all other ioctl command code headers.
|
|
*/
|
|
|
|
#ifndef _S_IOCTL_H
|
|
#define _S_IOCTL_H
|
|
|
|
/* A driver that uses ioctls claims a character for its series of commands.
|
|
* For instance: #define TCGETS _IOR('T', 8, struct termios)
|
|
* This is a terminal ioctl that uses the character 'T'. The character(s)
|
|
* used in each header file are shown in the comment following.
|
|
*/
|
|
|
|
#include <sys/ttycom.h> /* 't' */
|
|
#include <sys/ioc_net.h> /* 'n' */
|
|
#include <sys/ioc_disk.h> /* 'd' */
|
|
#include <sys/ioc_file.h> /* 'f' */
|
|
#include <sys/ioc_memory.h> /* 'm' */
|
|
#include <sys/ioc_tape.h> /* 'M' */
|
|
#include <sys/ioc_sound.h> /* 's' */
|
|
#include <sys/ioc_block.h> /* 'b' */
|
|
#include <sys/ioc_fbd.h> /* 'B' */
|
|
#include <sys/ioc_fb.h> /* 'V' */
|
|
#include <dev/vndvar.h> /* 'F' */
|
|
|
|
#define TIOCGSIZE TIOCGWINSZ
|
|
#define TIOCSSIZE TIOCSWINSZ
|
|
|
|
#endif /* _S_IOCTL_H */
|