Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ioctls.h File Reference
#include <asm/ioctl.h>

Go to the source code of this file.

Macros

#define TCGETA   _IOR('T', 1, struct termio)
 
#define TCSETA   _IOW('T', 2, struct termio)
 
#define TCSETAW   _IOW('T', 3, struct termio)
 
#define TCSETAF   _IOW('T', 4, struct termio)
 
#define TCSBRK   _IO('T', 5)
 
#define TCXONC   _IO('T', 6)
 
#define TCFLSH   _IO('T', 7)
 
#define TCGETS   _IOR('T', 8, struct termios)
 
#define TCSETS   _IOW('T', 9, struct termios)
 
#define TCSETSW   _IOW('T', 10, struct termios)
 
#define TCSETSF   _IOW('T', 11, struct termios)
 
#define TCGETS2   _IOR('T', 12, struct termios2)
 
#define TCSETS2   _IOW('T', 13, struct termios2)
 
#define TCSETSW2   _IOW('T', 14, struct termios2)
 
#define TCSETSF2   _IOW('T', 15, struct termios2)
 
#define TIOCGDEV   _IOR('T',0x32, unsigned int) /* Get primary device node of /dev/console */
 
#define TIOCVHANGUP   _IO('T', 0x37)
 
#define TIOCGETD   _IOR('t', 0, int)
 
#define TIOCSETD   _IOW('t', 1, int)
 
#define __TIOCHPCL   _IO('t', 2) /* SunOS Specific */
 
#define __TIOCMODG   _IOR('t', 3, int) /* SunOS Specific */
 
#define __TIOCMODS   _IOW('t', 4, int) /* SunOS Specific */
 
#define __TIOCGETP   _IOR('t', 8, struct sgttyb) /* SunOS Specific */
 
#define __TIOCSETP   _IOW('t', 9, struct sgttyb) /* SunOS Specific */
 
#define __TIOCSETN   _IOW('t', 10, struct sgttyb) /* SunOS Specific */
 
#define TIOCEXCL   _IO('t', 13)
 
#define TIOCNXCL   _IO('t', 14)
 
#define __TIOCFLUSH   _IOW('t', 16, int) /* SunOS Specific */
 
#define __TIOCSETC   _IOW('t', 17, struct tchars) /* SunOS Specific */
 
#define __TIOCGETC   _IOR('t', 18, struct tchars) /* SunOS Specific */
 
#define __TIOCTCNTL   _IOW('t', 32, int) /* SunOS Specific */
 
#define __TIOCSIGNAL   _IOW('t', 33, int) /* SunOS Specific */
 
#define __TIOCSETX   _IOW('t', 34, int) /* SunOS Specific */
 
#define __TIOCGETX   _IOR('t', 35, int) /* SunOS Specific */
 
#define TIOCCONS   _IO('t', 36)
 
#define TIOCGSOFTCAR   _IOR('t', 100, int)
 
#define TIOCSSOFTCAR   _IOW('t', 101, int)
 
#define __TIOCUCNTL   _IOW('t', 102, int) /* SunOS Specific */
 
#define TIOCSWINSZ   _IOW('t', 103, struct winsize)
 
#define TIOCGWINSZ   _IOR('t', 104, struct winsize)
 
#define __TIOCREMOTE   _IOW('t', 105, int) /* SunOS Specific */
 
#define TIOCMGET   _IOR('t', 106, int)
 
#define TIOCMBIC   _IOW('t', 107, int)
 
#define TIOCMBIS   _IOW('t', 108, int)
 
#define TIOCMSET   _IOW('t', 109, int)
 
#define TIOCSTART   _IO('t', 110)
 
#define TIOCSTOP   _IO('t', 111)
 
#define TIOCPKT   _IOW('t', 112, int)
 
#define TIOCNOTTY   _IO('t', 113)
 
#define TIOCSTI   _IOW('t', 114, char)
 
#define TIOCOUTQ   _IOR('t', 115, int)
 
#define __TIOCGLTC   _IOR('t', 116, struct ltchars) /* SunOS Specific */
 
#define __TIOCSLTC   _IOW('t', 117, struct ltchars) /* SunOS Specific */
 
#define __TIOCCDTR   _IO('t', 120) /* SunOS Specific */
 
#define __TIOCSDTR   _IO('t', 121) /* SunOS Specific */
 
#define TIOCCBRK   _IO('t', 122)
 
#define TIOCSBRK   _IO('t', 123)
 
#define __TIOCLGET   _IOW('t', 124, int) /* SunOS Specific */
 
#define __TIOCLSET   _IOW('t', 125, int) /* SunOS Specific */
 
#define __TIOCLBIC   _IOW('t', 126, int) /* SunOS Specific */
 
#define __TIOCLBIS   _IOW('t', 127, int) /* SunOS Specific */
 
#define __TIOCISPACE   _IOR('t', 128, int) /* SunOS Specific */
 
#define __TIOCISIZE   _IOR('t', 129, int) /* SunOS Specific */
 
#define TIOCSPGRP   _IOW('t', 130, int)
 
#define TIOCGPGRP   _IOR('t', 131, int)
 
#define TIOCSCTTY   _IO('t', 132)
 
#define TIOCGSID   _IOR('t', 133, int)
 
#define TIOCGPTN   _IOR('t', 134, unsigned int) /* Get Pty Number */
 
#define TIOCSPTLCK   _IOW('t', 135, int) /* Lock/unlock PTY */
 
#define TIOCSIG   _IOW('t', 136, int) /* Generate signal on Pty slave */
 
#define FIOCLEX   _IO('f', 1)
 
#define FIONCLEX   _IO('f', 2)
 
#define FIOASYNC   _IOW('f', 125, int)
 
#define FIONBIO   _IOW('f', 126, int)
 
#define FIONREAD   _IOR('f', 127, int)
 
#define TIOCINQ   FIONREAD
 
#define FIOQSIZE   _IOR('f', 128, loff_t)
 
#define __TCGETSTAT   _IO('T', 200) /* Rutgers specific */
 
#define __TCSETSTAT   _IO('T', 201) /* Rutgers specific */
 
#define TIOCLINUX   0x541C
 
#define TIOCGSERIAL   0x541E
 
#define TIOCSSERIAL   0x541F
 
#define TCSBRKP   0x5425
 
#define TIOCSERCONFIG   0x5453
 
#define TIOCSERGWILD   0x5454
 
#define TIOCSERSWILD   0x5455
 
#define TIOCGLCKTRMIOS   0x5456
 
#define TIOCSLCKTRMIOS   0x5457
 
#define TIOCSERGSTRUCT   0x5458 /* For debugging only */
 
#define TIOCSERGETLSR   0x5459 /* Get line status register */
 
#define TIOCSERGETMULTI   0x545A /* Get multiport config */
 
#define TIOCSERSETMULTI   0x545B /* Set multiport config */
 
#define TIOCMIWAIT   0x545C /* Wait for change on serial input line(s) */
 
#define TIOCGICOUNT   0x545D /* Read serial port inline interrupt counts */
 
#define TIOCPKT_DATA   0
 
#define TIOCPKT_FLUSHREAD   1
 
#define TIOCPKT_FLUSHWRITE   2
 
#define TIOCPKT_STOP   4
 
#define TIOCPKT_START   8
 
#define TIOCPKT_NOSTOP   16
 
#define TIOCPKT_DOSTOP   32
 
#define TIOCPKT_IOCTL   64
 

Macro Definition Documentation

#define __TCGETSTAT   _IO('T', 200) /* Rutgers specific */

Definition at line 99 of file ioctls.h.

#define __TCSETSTAT   _IO('T', 201) /* Rutgers specific */

Definition at line 100 of file ioctls.h.

#define __TIOCCDTR   _IO('t', 120) /* SunOS Specific */

Definition at line 68 of file ioctls.h.

#define __TIOCFLUSH   _IOW('t', 16, int) /* SunOS Specific */

Definition at line 40 of file ioctls.h.

#define __TIOCGETC   _IOR('t', 18, struct tchars) /* SunOS Specific */

Definition at line 42 of file ioctls.h.

#define __TIOCGETP   _IOR('t', 8, struct sgttyb) /* SunOS Specific */

Definition at line 35 of file ioctls.h.

#define __TIOCGETX   _IOR('t', 35, int) /* SunOS Specific */

Definition at line 46 of file ioctls.h.

#define __TIOCGLTC   _IOR('t', 116, struct ltchars) /* SunOS Specific */

Definition at line 64 of file ioctls.h.

#define __TIOCHPCL   _IO('t', 2) /* SunOS Specific */

Definition at line 32 of file ioctls.h.

#define __TIOCISIZE   _IOR('t', 129, int) /* SunOS Specific */

Definition at line 77 of file ioctls.h.

#define __TIOCISPACE   _IOR('t', 128, int) /* SunOS Specific */

Definition at line 76 of file ioctls.h.

#define __TIOCLBIC   _IOW('t', 126, int) /* SunOS Specific */

Definition at line 74 of file ioctls.h.

#define __TIOCLBIS   _IOW('t', 127, int) /* SunOS Specific */

Definition at line 75 of file ioctls.h.

#define __TIOCLGET   _IOW('t', 124, int) /* SunOS Specific */

Definition at line 72 of file ioctls.h.

#define __TIOCLSET   _IOW('t', 125, int) /* SunOS Specific */

Definition at line 73 of file ioctls.h.

#define __TIOCMODG   _IOR('t', 3, int) /* SunOS Specific */

Definition at line 33 of file ioctls.h.

#define __TIOCMODS   _IOW('t', 4, int) /* SunOS Specific */

Definition at line 34 of file ioctls.h.

#define __TIOCREMOTE   _IOW('t', 105, int) /* SunOS Specific */

Definition at line 53 of file ioctls.h.

#define __TIOCSDTR   _IO('t', 121) /* SunOS Specific */

Definition at line 69 of file ioctls.h.

#define __TIOCSETC   _IOW('t', 17, struct tchars) /* SunOS Specific */

Definition at line 41 of file ioctls.h.

#define __TIOCSETN   _IOW('t', 10, struct sgttyb) /* SunOS Specific */

Definition at line 37 of file ioctls.h.

#define __TIOCSETP   _IOW('t', 9, struct sgttyb) /* SunOS Specific */

Definition at line 36 of file ioctls.h.

#define __TIOCSETX   _IOW('t', 34, int) /* SunOS Specific */

Definition at line 45 of file ioctls.h.

#define __TIOCSIGNAL   _IOW('t', 33, int) /* SunOS Specific */

Definition at line 44 of file ioctls.h.

#define __TIOCSLTC   _IOW('t', 117, struct ltchars) /* SunOS Specific */

Definition at line 65 of file ioctls.h.

#define __TIOCTCNTL   _IOW('t', 32, int) /* SunOS Specific */

Definition at line 43 of file ioctls.h.

#define __TIOCUCNTL   _IOW('t', 102, int) /* SunOS Specific */

Definition at line 50 of file ioctls.h.

#define FIOASYNC   _IOW('f', 125, int)

Definition at line 90 of file ioctls.h.

#define FIOCLEX   _IO('f', 1)

Definition at line 88 of file ioctls.h.

#define FIONBIO   _IOW('f', 126, int)

Definition at line 91 of file ioctls.h.

#define FIONCLEX   _IO('f', 2)

Definition at line 89 of file ioctls.h.

#define FIONREAD   _IOR('f', 127, int)

Definition at line 92 of file ioctls.h.

#define FIOQSIZE   _IOR('f', 128, loff_t)

Definition at line 94 of file ioctls.h.

#define TCFLSH   _IO('T', 7)

Definition at line 13 of file ioctls.h.

#define TCGETA   _IOR('T', 1, struct termio)

Definition at line 7 of file ioctls.h.

#define TCGETS   _IOR('T', 8, struct termios)

Definition at line 14 of file ioctls.h.

#define TCGETS2   _IOR('T', 12, struct termios2)

Definition at line 18 of file ioctls.h.

#define TCSBRK   _IO('T', 5)

Definition at line 11 of file ioctls.h.

#define TCSBRKP   0x5425

Definition at line 106 of file ioctls.h.

#define TCSETA   _IOW('T', 2, struct termio)

Definition at line 8 of file ioctls.h.

#define TCSETAF   _IOW('T', 4, struct termio)

Definition at line 10 of file ioctls.h.

#define TCSETAW   _IOW('T', 3, struct termio)

Definition at line 9 of file ioctls.h.

#define TCSETS   _IOW('T', 9, struct termios)

Definition at line 15 of file ioctls.h.

#define TCSETS2   _IOW('T', 13, struct termios2)

Definition at line 19 of file ioctls.h.

#define TCSETSF   _IOW('T', 11, struct termios)

Definition at line 17 of file ioctls.h.

#define TCSETSF2   _IOW('T', 15, struct termios2)

Definition at line 21 of file ioctls.h.

#define TCSETSW   _IOW('T', 10, struct termios)

Definition at line 16 of file ioctls.h.

#define TCSETSW2   _IOW('T', 14, struct termios2)

Definition at line 20 of file ioctls.h.

#define TCXONC   _IO('T', 6)

Definition at line 12 of file ioctls.h.

#define TIOCCBRK   _IO('t', 122)

Definition at line 70 of file ioctls.h.

#define TIOCCONS   _IO('t', 36)

Definition at line 47 of file ioctls.h.

#define TIOCEXCL   _IO('t', 13)

Definition at line 38 of file ioctls.h.

#define TIOCGDEV   _IOR('T',0x32, unsigned int) /* Get primary device node of /dev/console */

Definition at line 22 of file ioctls.h.

#define TIOCGETD   _IOR('t', 0, int)

Definition at line 30 of file ioctls.h.

#define TIOCGICOUNT   0x545D /* Read serial port inline interrupt counts */

Definition at line 117 of file ioctls.h.

#define TIOCGLCKTRMIOS   0x5456

Definition at line 110 of file ioctls.h.

#define TIOCGPGRP   _IOR('t', 131, int)

Definition at line 79 of file ioctls.h.

#define TIOCGPTN   _IOR('t', 134, unsigned int) /* Get Pty Number */

Definition at line 83 of file ioctls.h.

#define TIOCGSERIAL   0x541E

Definition at line 104 of file ioctls.h.

#define TIOCGSID   _IOR('t', 133, int)

Definition at line 81 of file ioctls.h.

#define TIOCGSOFTCAR   _IOR('t', 100, int)

Definition at line 48 of file ioctls.h.

#define TIOCGWINSZ   _IOR('t', 104, struct winsize)

Definition at line 52 of file ioctls.h.

#define TIOCINQ   FIONREAD

Definition at line 93 of file ioctls.h.

#define TIOCLINUX   0x541C

Definition at line 103 of file ioctls.h.

#define TIOCMBIC   _IOW('t', 107, int)

Definition at line 55 of file ioctls.h.

#define TIOCMBIS   _IOW('t', 108, int)

Definition at line 56 of file ioctls.h.

#define TIOCMGET   _IOR('t', 106, int)

Definition at line 54 of file ioctls.h.

#define TIOCMIWAIT   0x545C /* Wait for change on serial input line(s) */

Definition at line 116 of file ioctls.h.

#define TIOCMSET   _IOW('t', 109, int)

Definition at line 57 of file ioctls.h.

#define TIOCNOTTY   _IO('t', 113)

Definition at line 61 of file ioctls.h.

#define TIOCNXCL   _IO('t', 14)

Definition at line 39 of file ioctls.h.

#define TIOCOUTQ   _IOR('t', 115, int)

Definition at line 63 of file ioctls.h.

#define TIOCPKT   _IOW('t', 112, int)

Definition at line 60 of file ioctls.h.

#define TIOCPKT_DATA   0

Definition at line 122 of file ioctls.h.

#define TIOCPKT_DOSTOP   32

Definition at line 128 of file ioctls.h.

#define TIOCPKT_FLUSHREAD   1

Definition at line 123 of file ioctls.h.

#define TIOCPKT_FLUSHWRITE   2

Definition at line 124 of file ioctls.h.

#define TIOCPKT_IOCTL   64

Definition at line 129 of file ioctls.h.

#define TIOCPKT_NOSTOP   16

Definition at line 127 of file ioctls.h.

#define TIOCPKT_START   8

Definition at line 126 of file ioctls.h.

#define TIOCPKT_STOP   4

Definition at line 125 of file ioctls.h.

#define TIOCSBRK   _IO('t', 123)

Definition at line 71 of file ioctls.h.

#define TIOCSCTTY   _IO('t', 132)

Definition at line 80 of file ioctls.h.

#define TIOCSERCONFIG   0x5453

Definition at line 107 of file ioctls.h.

#define TIOCSERGETLSR   0x5459 /* Get line status register */

Definition at line 113 of file ioctls.h.

#define TIOCSERGETMULTI   0x545A /* Get multiport config */

Definition at line 114 of file ioctls.h.

#define TIOCSERGSTRUCT   0x5458 /* For debugging only */

Definition at line 112 of file ioctls.h.

#define TIOCSERGWILD   0x5454

Definition at line 108 of file ioctls.h.

#define TIOCSERSETMULTI   0x545B /* Set multiport config */

Definition at line 115 of file ioctls.h.

#define TIOCSERSWILD   0x5455

Definition at line 109 of file ioctls.h.

#define TIOCSETD   _IOW('t', 1, int)

Definition at line 31 of file ioctls.h.

#define TIOCSIG   _IOW('t', 136, int) /* Generate signal on Pty slave */

Definition at line 85 of file ioctls.h.

#define TIOCSLCKTRMIOS   0x5457

Definition at line 111 of file ioctls.h.

#define TIOCSPGRP   _IOW('t', 130, int)

Definition at line 78 of file ioctls.h.

#define TIOCSPTLCK   _IOW('t', 135, int) /* Lock/unlock PTY */

Definition at line 84 of file ioctls.h.

#define TIOCSSERIAL   0x541F

Definition at line 105 of file ioctls.h.

#define TIOCSSOFTCAR   _IOW('t', 101, int)

Definition at line 49 of file ioctls.h.

#define TIOCSTART   _IO('t', 110)

Definition at line 58 of file ioctls.h.

#define TIOCSTI   _IOW('t', 114, char)

Definition at line 62 of file ioctls.h.

#define TIOCSTOP   _IO('t', 111)

Definition at line 59 of file ioctls.h.

#define TIOCSWINSZ   _IOW('t', 103, struct winsize)

Definition at line 51 of file ioctls.h.

#define TIOCVHANGUP   _IO('T', 0x37)

Definition at line 23 of file ioctls.h.