[libc] Add termios.h and the implementation of functions declared in it.
authorSiva Chandra Reddy <sivachandra@google.com>
Mon, 17 Oct 2022 16:27:45 +0000 (16:27 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 18 Oct 2022 20:53:00 +0000 (20:53 +0000)
commitb2a294bcf8e6fd83efe72d6d7432affd65b2309e
tree1e2615e3b9ffdc93118d45e699431ca006aa098e
parentbcc4c909544e136ac7198d0acf6768817b702bed
[libc] Add termios.h and the implementation of functions declared in it.

Reviewed By: lntue, michaelrj

Differential Revision: https://reviews.llvm.org/D136143
43 files changed:
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/include/CMakeLists.txt
libc/include/llvm-libc-macros/CMakeLists.txt
libc/include/llvm-libc-macros/linux/CMakeLists.txt
libc/include/llvm-libc-macros/linux/termios-macros.h [new file with mode: 0644]
libc/include/llvm-libc-macros/termios-macros.h [new file with mode: 0644]
libc/include/llvm-libc-types/CMakeLists.txt
libc/include/llvm-libc-types/cc_t.h [new file with mode: 0644]
libc/include/llvm-libc-types/speed_t.h [new file with mode: 0644]
libc/include/llvm-libc-types/struct_termios.h [new file with mode: 0644]
libc/include/llvm-libc-types/tcflag_t.h [new file with mode: 0644]
libc/include/termios.h.def [new file with mode: 0644]
libc/spec/posix.td
libc/src/CMakeLists.txt
libc/src/termios/CMakeLists.txt [new file with mode: 0644]
libc/src/termios/cfgetispeed.h [new file with mode: 0644]
libc/src/termios/cfgetospeed.h [new file with mode: 0644]
libc/src/termios/cfsetispeed.h [new file with mode: 0644]
libc/src/termios/cfsetospeed.h [new file with mode: 0644]
libc/src/termios/linux/CMakeLists.txt [new file with mode: 0644]
libc/src/termios/linux/cfgetispeed.cpp [new file with mode: 0644]
libc/src/termios/linux/cfgetospeed.cpp [new file with mode: 0644]
libc/src/termios/linux/cfsetispeed.cpp [new file with mode: 0644]
libc/src/termios/linux/cfsetospeed.cpp [new file with mode: 0644]
libc/src/termios/linux/kernel_termios.h [new file with mode: 0644]
libc/src/termios/linux/tcdrain.cpp [new file with mode: 0644]
libc/src/termios/linux/tcflow.cpp [new file with mode: 0644]
libc/src/termios/linux/tcflush.cpp [new file with mode: 0644]
libc/src/termios/linux/tcgetattr.cpp [new file with mode: 0644]
libc/src/termios/linux/tcgetsid.cpp [new file with mode: 0644]
libc/src/termios/linux/tcsendbreak.cpp [new file with mode: 0644]
libc/src/termios/linux/tcsetattr.cpp [new file with mode: 0644]
libc/src/termios/tcdrain.h [new file with mode: 0644]
libc/src/termios/tcflow.h [new file with mode: 0644]
libc/src/termios/tcflush.h [new file with mode: 0644]
libc/src/termios/tcgetattr.h [new file with mode: 0644]
libc/src/termios/tcgetsid.h [new file with mode: 0644]
libc/src/termios/tcsendbreak.h [new file with mode: 0644]
libc/src/termios/tcsetattr.h [new file with mode: 0644]
libc/test/src/CMakeLists.txt
libc/test/src/termios/CMakeLists.txt [new file with mode: 0644]
libc/test/src/termios/termios_test.cpp [new file with mode: 0644]