ioc_tty.h

Go to the documentation of this file.
00001 /*      sys/ioc_tty.h - Terminal ioctl() command codes.
00002  *                                                      Author: Kees J. Bot
00003  *                                                              23 Nov 2002
00004  *
00005  */
00006 
00007 #ifndef _S_I_TTY_H
00008 #define _S_I_TTY_H
00009 
00010 #include <minix/ioctl.h>
00011 
00012 /* Terminal ioctls. */
00013 #define TCGETS          _IOR('T',  8, struct termios) /* tcgetattr */
00014 #define TCSETS          _IOW('T',  9, struct termios) /* tcsetattr, TCSANOW */
00015 #define TCSETSW         _IOW('T', 10, struct termios) /* tcsetattr, TCSADRAIN */
00016 #define TCSETSF         _IOW('T', 11, struct termios) /* tcsetattr, TCSAFLUSH */
00017 #define TCSBRK          _IOW('T', 12, int)            /* tcsendbreak */
00018 #define TCDRAIN         _IO ('T', 13)                 /* tcdrain */
00019 #define TCFLOW          _IOW('T', 14, int)            /* tcflow */
00020 #define TCFLSH          _IOW('T', 15, int)            /* tcflush */
00021 #define TIOCGWINSZ      _IOR('T', 16, struct winsize)
00022 #define TIOCSWINSZ      _IOW('T', 17, struct winsize)
00023 #define TIOCGPGRP       _IOW('T', 18, int)
00024 #define TIOCSPGRP       _IOW('T', 19, int)
00025 #define TIOCSFON        _IOW('T', 20, u8_t [8192])
00026 
00027 /* Legacy <sgtty.h> */
00028 #define TIOCGETP        _IOR('t',  1, struct sgttyb)
00029 #define TIOCSETP        _IOW('t',  2, struct sgttyb)
00030 #define TIOCGETC        _IOR('t',  3, struct tchars)
00031 #define TIOCSETC        _IOW('t',  4, struct tchars)
00032 
00033 /* Keyboard ioctls. */
00034 #define KIOCBELL        _IOW('k', 1, struct kio_bell)
00035 #define KIOCSLEDS       _IOW('k', 2, struct kio_leds)
00036 #define KIOCSMAP        _IOW('k', 3, keymap_t)
00037 
00038 #endif /* _S_I_TTY_H */

Generated on Fri Apr 14 22:57:22 2006 for minix by  doxygen 1.4.6