source: branches/minix3-book/include/sys/ioc_tty.h@ 12

Last change on this file since 12 was 4, checked in by Mattia Monga, 14 years ago

Importazione sorgenti libro

File size: 1.2 KB
RevLine 
[4]1/* sys/ioc_tty.h - Terminal ioctl() command codes.
2 * Author: Kees J. Bot
3 * 23 Nov 2002
4 *
5 */
6
7#ifndef _S_I_TTY_H
8#define _S_I_TTY_H
9
10#include <minix/ioctl.h>
11
12/* Terminal ioctls. */
13#define TCGETS _IOR('T', 8, struct termios) /* tcgetattr */
14#define TCSETS _IOW('T', 9, struct termios) /* tcsetattr, TCSANOW */
15#define TCSETSW _IOW('T', 10, struct termios) /* tcsetattr, TCSADRAIN */
16#define TCSETSF _IOW('T', 11, struct termios) /* tcsetattr, TCSAFLUSH */
17#define TCSBRK _IOW('T', 12, int) /* tcsendbreak */
18#define TCDRAIN _IO ('T', 13) /* tcdrain */
19#define TCFLOW _IOW('T', 14, int) /* tcflow */
20#define TCFLSH _IOW('T', 15, int) /* tcflush */
21#define TIOCGWINSZ _IOR('T', 16, struct winsize)
22#define TIOCSWINSZ _IOW('T', 17, struct winsize)
23#define TIOCGPGRP _IOW('T', 18, int)
24#define TIOCSPGRP _IOW('T', 19, int)
25#define TIOCSFON _IOW('T', 20, u8_t [8192])
26
27/* Legacy <sgtty.h> */
28#define TIOCGETP _IOR('t', 1, struct sgttyb)
29#define TIOCSETP _IOW('t', 2, struct sgttyb)
30#define TIOCGETC _IOR('t', 3, struct tchars)
31#define TIOCSETC _IOW('t', 4, struct tchars)
32
33/* Keyboard ioctls. */
34#define KIOCSMAP _IOW('k', 3, keymap_t)
35
36#endif /* _S_I_TTY_H */
Note: See TracBrowser for help on using the repository browser.