ioctls.h revision abd626117cfd366faa16a5d0ac4621f608a5c887
1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19#ifndef __ASM_IOCTLS_H 20#define __ASM_IOCTLS_H 21#include <asm/ioctl.h> 22#define TCGETA 0x5401 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define TCSETA 0x5402 25#define TCSETAW 0x5403 26#define TCSETAF 0x5404 27#define TCSBRK 0x5405 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define TCXONC 0x5406 30#define TCFLSH 0x5407 31#define TCGETS 0x540d 32#define TCSETS 0x540e 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34#define TCSETSW 0x540f 35#define TCSETSF 0x5410 36#define TIOCEXCL 0x740d 37#define TIOCNXCL 0x740e 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39#define TIOCOUTQ 0x7472 40#define TIOCSTI 0x5472 41#define TIOCMGET 0x741d 42#define TIOCMBIS 0x741b 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44#define TIOCMBIC 0x741c 45#define TIOCMSET 0x741a 46#define TIOCPKT 0x5470 47#define TIOCPKT_DATA 0x00 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49#define TIOCPKT_FLUSHREAD 0x01 50#define TIOCPKT_FLUSHWRITE 0x02 51#define TIOCPKT_STOP 0x04 52#define TIOCPKT_START 0x08 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54#define TIOCPKT_NOSTOP 0x10 55#define TIOCPKT_DOSTOP 0x20 56#define TIOCPKT_IOCTL 0x40 57#define TIOCSWINSZ _IOW('t', 103, struct winsize) 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59#define TIOCGWINSZ _IOR('t', 104, struct winsize) 60#define TIOCNOTTY 0x5471 61#define TIOCSETD 0x7401 62#define TIOCGETD 0x7400 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64#define FIOCLEX 0x6601 65#define FIONCLEX 0x6602 66#define FIOASYNC 0x667d 67#define FIONBIO 0x667e 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69#define FIOQSIZE 0x667f 70#define TIOCGLTC 0x7474 71#define TIOCSLTC 0x7475 72#define TIOCSPGRP _IOW('t', 118, int) 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74#define TIOCGPGRP _IOR('t', 119, int) 75#define TIOCCONS _IOW('t', 120, int) 76#define FIONREAD 0x467f 77#define TIOCINQ FIONREAD 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79#define TIOCGETP 0x7408 80#define TIOCSETP 0x7409 81#define TIOCSETN 0x740a 82#define TIOCSBRK 0x5427 83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84#define TIOCCBRK 0x5428 85#define TIOCGSID 0x7416 86#define TCGETS2 _IOR('T', 0x2A, struct termios2) 87#define TCSETS2 _IOW('T', 0x2B, struct termios2) 88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89#define TCSETSW2 _IOW('T', 0x2C, struct termios2) 90#define TCSETSF2 _IOW('T', 0x2D, struct termios2) 91#define TIOCGPTN _IOR('T', 0x30, unsigned int) 92#define TIOCSPTLCK _IOW('T', 0x31, int) 93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94#define TIOCGDEV _IOR('T', 0x32, unsigned int) 95#define TIOCSIG _IOW('T', 0x36, int) 96#define TIOCVHANGUP 0x5437 97#define TIOCGPKT _IOR('T', 0x38, int) 98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99#define TIOCGPTLCK _IOR('T', 0x39, int) 100#define TIOCGEXCL _IOR('T', 0x40, int) 101#define TIOCSCTTY 0x5480 102#define TIOCGSOFTCAR 0x5481 103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104#define TIOCSSOFTCAR 0x5482 105#define TIOCLINUX 0x5483 106#define TIOCGSERIAL 0x5484 107#define TIOCSSERIAL 0x5485 108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109#define TCSBRKP 0x5486 110#define TIOCSERCONFIG 0x5488 111#define TIOCSERGWILD 0x5489 112#define TIOCSERSWILD 0x548a 113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114#define TIOCGLCKTRMIOS 0x548b 115#define TIOCSLCKTRMIOS 0x548c 116#define TIOCSERGSTRUCT 0x548d 117#define TIOCSERGETLSR 0x548e 118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119#define TIOCSERGETMULTI 0x548f 120#define TIOCSERSETMULTI 0x5490 121#define TIOCMIWAIT 0x5491 122#define TIOCGICOUNT 0x5492 123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124#endif 125