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   0x5401
 
#define TCSETA   0x5402 /* Clashes with SNDCTL_TMR_START sound ioctl */
 
#define TCSETAW   0x5403
 
#define TCSETAF   0x5404
 
#define TCSBRK   0x5405
 
#define TCXONC   0x5406
 
#define TCFLSH   0x5407
 
#define TCGETS   0x540d
 
#define TCSETS   0x540e
 
#define TCSETSW   0x540f
 
#define TCSETSF   0x5410
 
#define TIOCEXCL   0x740d /* set exclusive use of tty */
 
#define TIOCNXCL   0x740e /* reset exclusive use of tty */
 
#define TIOCOUTQ   0x7472 /* output queue size */
 
#define TIOCSTI   0x5472 /* simulate terminal input */
 
#define TIOCMGET   0x741d /* get all modem bits */
 
#define TIOCMBIS   0x741b /* bis modem bits */
 
#define TIOCMBIC   0x741c /* bic modem bits */
 
#define TIOCMSET   0x741a /* set all modem bits */
 
#define TIOCPKT   0x5470 /* 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 TIOCSWINSZ   _IOW('t', 103, struct winsize) /* set window size */
 
#define TIOCGWINSZ   _IOR('t', 104, struct winsize) /* get window size */
 
#define TIOCNOTTY   0x5471 /* void tty association */
 
#define TIOCSETD   0x7401
 
#define TIOCGETD   0x7400
 
#define FIOCLEX   0x6601
 
#define FIONCLEX   0x6602
 
#define FIOASYNC   0x667d
 
#define FIONBIO   0x667e
 
#define FIOQSIZE   0x667f
 
#define TIOCGLTC   0x7474 /* get special local chars */
 
#define TIOCSLTC   0x7475 /* set special local chars */
 
#define TIOCSPGRP   _IOW('t', 118, int) /* set pgrp of tty */
 
#define TIOCGPGRP   _IOR('t', 119, int) /* get pgrp of tty */
 
#define TIOCCONS   _IOW('t', 120, int) /* become virtual console */
 
#define FIONREAD   0x467f
 
#define TIOCINQ   FIONREAD
 
#define TIOCGETP   0x7408
 
#define TIOCSETP   0x7409
 
#define TIOCSETN   0x740a /* TIOCSETP wo flush */
 
#define TIOCSBRK   0x5427 /* BSD compatibility */
 
#define TIOCCBRK   0x5428 /* BSD compatibility */
 
#define TIOCGSID   0x7416 /* Return the session ID of FD */
 
#define TCGETS2   _IOR('T', 0x2A, struct termios2)
 
#define TCSETS2   _IOW('T', 0x2B, struct termios2)
 
#define TCSETSW2   _IOW('T', 0x2C, struct termios2)
 
#define TCSETSF2   _IOW('T', 0x2D, struct termios2)
 
#define TIOCGPTN   _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 
#define TIOCSPTLCK   _IOW('T', 0x31, int) /* Lock/unlock Pty */
 
#define TIOCGDEV   _IOR('T', 0x32, unsigned int) /* Get primary device node of /dev/console */
 
#define TIOCSIG   _IOW('T', 0x36, int) /* Generate signal on Pty slave */
 
#define TIOCVHANGUP   0x5437
 
#define TIOCSCTTY   0x5480 /* become controlling tty */
 
#define TIOCGSOFTCAR   0x5481
 
#define TIOCSSOFTCAR   0x5482
 
#define TIOCLINUX   0x5483
 
#define TIOCGSERIAL   0x5484
 
#define TIOCSSERIAL   0x5485
 
#define TCSBRKP   0x5486 /* Needed for POSIX tcsendbreak() */
 
#define TIOCSERCONFIG   0x5488
 
#define TIOCSERGWILD   0x5489
 
#define TIOCSERSWILD   0x548a
 
#define TIOCGLCKTRMIOS   0x548b
 
#define TIOCSLCKTRMIOS   0x548c
 
#define TIOCSERGSTRUCT   0x548d /* For debugging only */
 
#define TIOCSERGETLSR   0x548e /* Get line status register */
 
#define TIOCSERGETMULTI   0x548f /* Get multiport config */
 
#define TIOCSERSETMULTI   0x5490 /* Set multiport config */
 
#define TIOCMIWAIT   0x5491 /* wait for a change on serial input line(s) */
 
#define TIOCGICOUNT   0x5492 /* read serial port inline interrupt counts */
 

Macro Definition Documentation

#define FIOASYNC   0x667d

Definition at line 53 of file ioctls.h.

#define FIOCLEX   0x6601

Definition at line 51 of file ioctls.h.

#define FIONBIO   0x667e

Definition at line 54 of file ioctls.h.

#define FIONCLEX   0x6602

Definition at line 52 of file ioctls.h.

#define FIONREAD   0x467f

Definition at line 63 of file ioctls.h.

#define FIOQSIZE   0x667f

Definition at line 55 of file ioctls.h.

#define TCFLSH   0x5407

Definition at line 21 of file ioctls.h.

#define TCGETA   0x5401

Definition at line 14 of file ioctls.h.

#define TCGETS   0x540d

Definition at line 23 of file ioctls.h.

#define TCGETS2   _IOR('T', 0x2A, struct termios2)

Definition at line 80 of file ioctls.h.

#define TCSBRK   0x5405

Definition at line 19 of file ioctls.h.

#define TCSBRKP   0x5486 /* Needed for POSIX tcsendbreak() */

Definition at line 97 of file ioctls.h.

#define TCSETA   0x5402 /* Clashes with SNDCTL_TMR_START sound ioctl */

Definition at line 15 of file ioctls.h.

#define TCSETAF   0x5404

Definition at line 17 of file ioctls.h.

#define TCSETAW   0x5403

Definition at line 16 of file ioctls.h.

#define TCSETS   0x540e

Definition at line 24 of file ioctls.h.

#define TCSETS2   _IOW('T', 0x2B, struct termios2)

Definition at line 81 of file ioctls.h.

#define TCSETSF   0x5410

Definition at line 26 of file ioctls.h.

#define TCSETSF2   _IOW('T', 0x2D, struct termios2)

Definition at line 83 of file ioctls.h.

#define TCSETSW   0x540f

Definition at line 25 of file ioctls.h.

#define TCSETSW2   _IOW('T', 0x2C, struct termios2)

Definition at line 82 of file ioctls.h.

#define TCXONC   0x5406

Definition at line 20 of file ioctls.h.

#define TIOCCBRK   0x5428 /* BSD compatibility */

Definition at line 78 of file ioctls.h.

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

Definition at line 61 of file ioctls.h.

#define TIOCEXCL   0x740d /* set exclusive use of tty */

Definition at line 28 of file ioctls.h.

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

Definition at line 86 of file ioctls.h.

#define TIOCGETD   0x7400

Definition at line 49 of file ioctls.h.

#define TIOCGETP   0x7408

Definition at line 66 of file ioctls.h.

#define TIOCGICOUNT   0x5492 /* read serial port inline interrupt counts */

Definition at line 108 of file ioctls.h.

#define TIOCGLCKTRMIOS   0x548b

Definition at line 101 of file ioctls.h.

#define TIOCGLTC   0x7474 /* get special local chars */

Definition at line 57 of file ioctls.h.

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

Definition at line 60 of file ioctls.h.

#define TIOCGPTN   _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */

Definition at line 84 of file ioctls.h.

#define TIOCGSERIAL   0x5484

Definition at line 95 of file ioctls.h.

#define TIOCGSID   0x7416 /* Return the session ID of FD */

Definition at line 79 of file ioctls.h.

#define TIOCGSOFTCAR   0x5481

Definition at line 92 of file ioctls.h.

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

Definition at line 46 of file ioctls.h.

#define TIOCINQ   FIONREAD

Definition at line 64 of file ioctls.h.

#define TIOCLINUX   0x5483

Definition at line 94 of file ioctls.h.

#define TIOCMBIC   0x741c /* bic modem bits */

Definition at line 34 of file ioctls.h.

#define TIOCMBIS   0x741b /* bis modem bits */

Definition at line 33 of file ioctls.h.

#define TIOCMGET   0x741d /* get all modem bits */

Definition at line 32 of file ioctls.h.

#define TIOCMIWAIT   0x5491 /* wait for a change on serial input line(s) */

Definition at line 107 of file ioctls.h.

#define TIOCMSET   0x741a /* set all modem bits */

Definition at line 35 of file ioctls.h.

#define TIOCNOTTY   0x5471 /* void tty association */

Definition at line 47 of file ioctls.h.

#define TIOCNXCL   0x740e /* reset exclusive use of tty */

Definition at line 29 of file ioctls.h.

#define TIOCOUTQ   0x7472 /* output queue size */

Definition at line 30 of file ioctls.h.

#define TIOCPKT   0x5470 /* pty: set/clear packet mode */

Definition at line 36 of file ioctls.h.

#define TIOCPKT_DATA   0x00 /* data packet */

Definition at line 37 of file ioctls.h.

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

Definition at line 43 of file ioctls.h.

#define TIOCPKT_FLUSHREAD   0x01 /* flush packet */

Definition at line 38 of file ioctls.h.

#define TIOCPKT_FLUSHWRITE   0x02 /* flush packet */

Definition at line 39 of file ioctls.h.

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

Definition at line 44 of file ioctls.h.

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

Definition at line 42 of file ioctls.h.

#define TIOCPKT_START   0x08 /* start output */

Definition at line 41 of file ioctls.h.

#define TIOCPKT_STOP   0x04 /* stop output */

Definition at line 40 of file ioctls.h.

#define TIOCSBRK   0x5427 /* BSD compatibility */

Definition at line 77 of file ioctls.h.

#define TIOCSCTTY   0x5480 /* become controlling tty */

Definition at line 91 of file ioctls.h.

#define TIOCSERCONFIG   0x5488

Definition at line 98 of file ioctls.h.

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

Definition at line 104 of file ioctls.h.

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

Definition at line 105 of file ioctls.h.

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

Definition at line 103 of file ioctls.h.

#define TIOCSERGWILD   0x5489

Definition at line 99 of file ioctls.h.

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

Definition at line 106 of file ioctls.h.

#define TIOCSERSWILD   0x548a

Definition at line 100 of file ioctls.h.

#define TIOCSETD   0x7401

Definition at line 48 of file ioctls.h.

#define TIOCSETN   0x740a /* TIOCSETP wo flush */

Definition at line 68 of file ioctls.h.

#define TIOCSETP   0x7409

Definition at line 67 of file ioctls.h.

#define TIOCSIG   _IOW('T', 0x36, int) /* Generate signal on Pty slave */

Definition at line 87 of file ioctls.h.

#define TIOCSLCKTRMIOS   0x548c

Definition at line 102 of file ioctls.h.

#define TIOCSLTC   0x7475 /* set special local chars */

Definition at line 58 of file ioctls.h.

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

Definition at line 59 of file ioctls.h.

#define TIOCSPTLCK   _IOW('T', 0x31, int) /* Lock/unlock Pty */

Definition at line 85 of file ioctls.h.

#define TIOCSSERIAL   0x5485

Definition at line 96 of file ioctls.h.

#define TIOCSSOFTCAR   0x5482

Definition at line 93 of file ioctls.h.

#define TIOCSTI   0x5472 /* simulate terminal input */

Definition at line 31 of file ioctls.h.

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

Definition at line 45 of file ioctls.h.

#define TIOCVHANGUP   0x5437

Definition at line 88 of file ioctls.h.