Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
ttycom.h File Reference
#include <sys/ioccom.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  winsize

Defines

#define FIOINTERACTIVE   (('f'<<8)|0x02) /* If device is interactive */
#define FIOREFNUM   (('f'<<8)|0x05) /* Return fs refnum */
#define FIOSETEOF   (('f'<<8)|0x06) /* Set file length */
#define TIOCMODG   _IOR('t', 3, int) /* get modem control state */
#define TIOCMODS   _IOW('t', 4, int) /* set modem control state */
#define TIOCM_LE   0001 /* line enable */
#define TIOCM_DTR   0002 /* data terminal ready */
#define TIOCM_RTS   0004 /* request to send */
#define TIOCM_ST   0010 /* secondary transmit */
#define TIOCM_SR   0020 /* secondary receive */
#define TIOCM_CTS   0040 /* clear to send */
#define TIOCM_CAR   0100 /* carrier detect */
#define TIOCM_CD   TIOCM_CAR
#define TIOCM_RNG   0200 /* ring */
#define TIOCM_RI   TIOCM_RNG
#define TIOCM_DSR   0400 /* data set ready */
#define TIOCEXCL   _IO('t', 13) /* set exclusive use of tty */
#define TIOCNXCL   _IO('t', 14) /* reset exclusive use of tty */
#define TIOCFLUSH   _IOW('t', 16, int) /* flush buffers */
#define TIOCGETA   _IOR('t', 19, struct termios) /* get termios struct */
#define TIOCSETA   _IOW('t', 20, struct termios) /* set termios struct */
#define TIOCSETAW   _IOW('t', 21, struct termios) /* drain output, set */
#define TIOCSETAF   _IOW('t', 22, struct termios) /* drn out, fls in, set */
#define TIOCGETD   _IOR('t', 26, int) /* get line discipline */
#define TIOCSETD   _IOW('t', 27, int) /* set line discipline */
#define TIOCSBRK   _IO('t', 123) /* set break bit */
#define TIOCCBRK   _IO('t', 122) /* clear break bit */
#define TIOCSDTR   _IO('t', 121) /* set data terminal ready */
#define TIOCCDTR   _IO('t', 120) /* clear data terminal ready */
#define TIOCGPGRP   _IOR('t', 119, int) /* get pgrp of tty */
#define TIOCSPGRP   _IOW('t', 118, int) /* set pgrp of tty */
#define TIOCOUTQ   _IOR('t', 115, int) /* output queue size */
#define TIOCSTI   _IOW('t', 114, char) /* simulate terminal input */
#define TIOCNOTTY   _IO('t', 113) /* void tty association */
#define TIOCPKT   _IOW('t', 112, int) /* pty: set/clear packet mode */
#define TIOCPKT_DATA   0x00 /* data packet */
#define TIOCPKT_FLUSHREAD   0x01 /* flush packet */
#define TIOCPKT_FLUSHWRITE   0x02 /* flush packet */
#define TIOCPKT_STOP   0x04 /* stop output */
#define TIOCPKT_START   0x08 /* start output */
#define TIOCPKT_NOSTOP   0x10 /* no more ^S, ^Q */
#define TIOCPKT_DOSTOP   0x20 /* now do ^S ^Q */
#define TIOCPKT_IOCTL   0x40 /* state change of pty driver */
#define TIOCSTOP   _IO('t', 111) /* stop output, like ^S */
#define TIOCSTART   _IO('t', 110) /* start output, like ^Q */
#define TIOCMSET   _IOW('t', 109, int) /* set all modem bits */
#define TIOCMBIS   _IOW('t', 108, int) /* bis modem bits */
#define TIOCMBIC   _IOW('t', 107, int) /* bic modem bits */
#define TIOCMGET   _IOR('t', 106, int) /* get all modem bits */
#define TIOCREMOTE   _IOW('t', 105, int) /* remote input editing */
#define TIOCGWINSZ   _IOR('t', 104, struct winsize) /* get window size */
#define TIOCSWINSZ   _IOW('t', 103, struct winsize) /* set window size */
#define TIOCUCNTL   _IOW('t', 102, int) /* pty: set/clr usr cntl mode */
#define UIOCCMD(n)   _IO('u', n) /* usr cntl op "n" */
#define TIOCCONS   _IOW('t', 98, int) /* become virtual console */
#define TIOCSCTTY   _IO('t', 97) /* become controlling tty */
#define TIOCEXT   _IOW('t', 96, int) /* pty: external processing */
#define TIOCSIG   _IO('t', 95) /* pty: generate signal */
#define TIOCDRAIN   _IO('t', 94) /* wait till output drained */
#define TTYDISC   0 /* termios tty line discipline */
#define TABLDISC   3 /* tablet discipline */
#define SLIPDISC   4 /* serial IP discipline */

Class Documentation

struct winsize

Definition at line 61 of file ttycom.h.

Class Members
unsigned short ws_col
unsigned short ws_row
unsigned short ws_xpixel
unsigned short ws_ypixel

Define Documentation

#define FIOINTERACTIVE   (('f'<<8)|0x02) /* If device is interactive */

Definition at line 46 of file ttycom.h.

#define FIOREFNUM   (('f'<<8)|0x05) /* Return fs refnum */

Definition at line 47 of file ttycom.h.

#define FIOSETEOF   (('f'<<8)|0x06) /* Set file length */

Definition at line 48 of file ttycom.h.

#define SLIPDISC   4 /* serial IP discipline */

Definition at line 132 of file ttycom.h.

#define TABLDISC   3 /* tablet discipline */

Definition at line 131 of file ttycom.h.

#define TIOCCBRK   _IO('t', 122) /* clear break bit */

Definition at line 95 of file ttycom.h.

#define TIOCCDTR   _IO('t', 120) /* clear data terminal ready */

Definition at line 97 of file ttycom.h.

#define TIOCCONS   _IOW('t', 98, int) /* become virtual console */

Definition at line 124 of file ttycom.h.

#define TIOCDRAIN   _IO('t', 94) /* wait till output drained */

Definition at line 128 of file ttycom.h.

#define TIOCEXCL   _IO('t', 13) /* set exclusive use of tty */

Definition at line 82 of file ttycom.h.

#define TIOCEXT   _IOW('t', 96, int) /* pty: external processing */

Definition at line 126 of file ttycom.h.

#define TIOCFLUSH   _IOW('t', 16, int) /* flush buffers */

Definition at line 85 of file ttycom.h.

#define TIOCGETA   _IOR('t', 19, struct termios) /* get termios struct */

Definition at line 87 of file ttycom.h.

#define TIOCGETD   _IOR('t', 26, int) /* get line discipline */

Definition at line 91 of file ttycom.h.

#define TIOCGPGRP   _IOR('t', 119, int) /* get pgrp of tty */

Definition at line 98 of file ttycom.h.

#define TIOCGWINSZ   _IOR('t', 104, struct winsize) /* get window size */

Definition at line 120 of file ttycom.h.

#define TIOCM_CAR   0100 /* carrier detect */

Definition at line 76 of file ttycom.h.

Definition at line 77 of file ttycom.h.

#define TIOCM_CTS   0040 /* clear to send */

Definition at line 75 of file ttycom.h.

#define TIOCM_DSR   0400 /* data set ready */

Definition at line 80 of file ttycom.h.

#define TIOCM_DTR   0002 /* data terminal ready */

Definition at line 71 of file ttycom.h.

#define TIOCM_LE   0001 /* line enable */

Definition at line 70 of file ttycom.h.

Definition at line 79 of file ttycom.h.

#define TIOCM_RNG   0200 /* ring */

Definition at line 78 of file ttycom.h.

#define TIOCM_RTS   0004 /* request to send */

Definition at line 72 of file ttycom.h.

#define TIOCM_SR   0020 /* secondary receive */

Definition at line 74 of file ttycom.h.

#define TIOCM_ST   0010 /* secondary transmit */

Definition at line 73 of file ttycom.h.

#define TIOCMBIC   _IOW('t', 107, int) /* bic modem bits */

Definition at line 117 of file ttycom.h.

#define TIOCMBIS   _IOW('t', 108, int) /* bis modem bits */

Definition at line 116 of file ttycom.h.

#define TIOCMGET   _IOR('t', 106, int) /* get all modem bits */

Definition at line 118 of file ttycom.h.

#define TIOCMODG   _IOR('t', 3, int) /* get modem control state */

Definition at line 68 of file ttycom.h.

#define TIOCMODS   _IOW('t', 4, int) /* set modem control state */

Definition at line 69 of file ttycom.h.

#define TIOCMSET   _IOW('t', 109, int) /* set all modem bits */

Definition at line 115 of file ttycom.h.

#define TIOCNOTTY   _IO('t', 113) /* void tty association */

Definition at line 103 of file ttycom.h.

#define TIOCNXCL   _IO('t', 14) /* reset exclusive use of tty */

Definition at line 83 of file ttycom.h.

#define TIOCOUTQ   _IOR('t', 115, int) /* output queue size */

Definition at line 101 of file ttycom.h.

#define TIOCPKT   _IOW('t', 112, int) /* pty: set/clear packet mode */

Definition at line 104 of file ttycom.h.

#define TIOCPKT_DATA   0x00 /* data packet */

Definition at line 105 of file ttycom.h.

#define TIOCPKT_DOSTOP   0x20 /* now do ^S ^Q */

Definition at line 111 of file ttycom.h.

#define TIOCPKT_FLUSHREAD   0x01 /* flush packet */

Definition at line 106 of file ttycom.h.

#define TIOCPKT_FLUSHWRITE   0x02 /* flush packet */

Definition at line 107 of file ttycom.h.

#define TIOCPKT_IOCTL   0x40 /* state change of pty driver */

Definition at line 112 of file ttycom.h.

#define TIOCPKT_NOSTOP   0x10 /* no more ^S, ^Q */

Definition at line 110 of file ttycom.h.

#define TIOCPKT_START   0x08 /* start output */

Definition at line 109 of file ttycom.h.

#define TIOCPKT_STOP   0x04 /* stop output */

Definition at line 108 of file ttycom.h.

#define TIOCREMOTE   _IOW('t', 105, int) /* remote input editing */

Definition at line 119 of file ttycom.h.

#define TIOCSBRK   _IO('t', 123) /* set break bit */

Definition at line 94 of file ttycom.h.

#define TIOCSCTTY   _IO('t', 97) /* become controlling tty */

Definition at line 125 of file ttycom.h.

#define TIOCSDTR   _IO('t', 121) /* set data terminal ready */

Definition at line 96 of file ttycom.h.

#define TIOCSETA   _IOW('t', 20, struct termios) /* set termios struct */

Definition at line 88 of file ttycom.h.

#define TIOCSETAF   _IOW('t', 22, struct termios) /* drn out, fls in, set */

Definition at line 90 of file ttycom.h.

#define TIOCSETAW   _IOW('t', 21, struct termios) /* drain output, set */

Definition at line 89 of file ttycom.h.

#define TIOCSETD   _IOW('t', 27, int) /* set line discipline */

Definition at line 92 of file ttycom.h.

#define TIOCSIG   _IO('t', 95) /* pty: generate signal */

Definition at line 127 of file ttycom.h.

#define TIOCSPGRP   _IOW('t', 118, int) /* set pgrp of tty */

Definition at line 99 of file ttycom.h.

#define TIOCSTART   _IO('t', 110) /* start output, like ^Q */

Definition at line 114 of file ttycom.h.

#define TIOCSTI   _IOW('t', 114, char) /* simulate terminal input */

Definition at line 102 of file ttycom.h.

#define TIOCSTOP   _IO('t', 111) /* stop output, like ^S */

Definition at line 113 of file ttycom.h.

#define TIOCSWINSZ   _IOW('t', 103, struct winsize) /* set window size */

Definition at line 121 of file ttycom.h.

#define TIOCUCNTL   _IOW('t', 102, int) /* pty: set/clr usr cntl mode */

Definition at line 122 of file ttycom.h.

#define TTYDISC   0 /* termios tty line discipline */

Definition at line 130 of file ttycom.h.

#define UIOCCMD (   n)    _IO('u', n) /* usr cntl op "n" */

Definition at line 123 of file ttycom.h.