brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · e990fba Raw
145 lines · plain
1# There is no difference between input and output speeds on Linux.2# However, since POSIX requires separate functions for setting and getting3# of the input and output speeds, we use different entrypoints wiht the4# same getter/setter logic.5add_entrypoint_object(6  cfgetispeed7  SRCS8    cfgetispeed.cpp9  HDRS10    ../cfgetispeed.h11  DEPENDS12    libc.include.termios13)14 15add_entrypoint_object(16  cfsetispeed17  SRCS18    cfsetispeed.cpp19  HDRS20    ../cfsetispeed.h21  DEPENDS22    libc.include.termios23    libc.src.errno.errno24)25 26add_entrypoint_object(27  cfgetospeed28  SRCS29    cfgetospeed.cpp30  HDRS31    ../cfgetospeed.h32  DEPENDS33    libc.include.termios34)35 36add_entrypoint_object(37  cfsetospeed38  SRCS39    cfsetospeed.cpp40  HDRS41    ../cfsetospeed.h42  DEPENDS43    libc.include.termios44    libc.src.errno.errno45)46 47add_entrypoint_object(48  tcgetsid49  SRCS50    tcgetsid.cpp51  HDRS52    ../tcgetsid.h53  DEPENDS54    libc.include.sys_syscall55    libc.include.termios56    libc.src.__support.OSUtil.osutil57    libc.src.errno.errno58)59 60add_entrypoint_object(61  tcdrain62  SRCS63    tcdrain.cpp64  HDRS65    ../tcdrain.h66  DEPENDS67    libc.include.sys_syscall68    libc.include.termios69    libc.src.__support.OSUtil.osutil70    libc.src.errno.errno71)72 73add_entrypoint_object(74  tcflush75  SRCS76    tcflush.cpp77  HDRS78    ../tcflush.h79  DEPENDS80    libc.include.sys_syscall81    libc.include.termios82    libc.src.__support.OSUtil.osutil83    libc.src.errno.errno84)85 86add_entrypoint_object(87  tcflow88  SRCS89    tcflow.cpp90  HDRS91    ../tcflow.h92  DEPENDS93    libc.include.sys_syscall94    libc.include.termios95    libc.src.__support.OSUtil.osutil96    libc.src.errno.errno97)98 99add_entrypoint_object(100  tcsendbreak101  SRCS102    tcsendbreak.cpp103  HDRS104    ../tcsendbreak.h105  DEPENDS106    libc.include.sys_syscall107    libc.include.termios108    libc.src.__support.OSUtil.osutil109    libc.src.errno.errno110)111 112add_header_library(113  kernel_termios114  HDRS115    kernel_termios.h116)117 118add_entrypoint_object(119  tcgetattr120  SRCS121    tcgetattr.cpp122  HDRS123    ../tcgetattr.h124  DEPENDS125    .kernel_termios126    libc.include.sys_syscall127    libc.include.termios128    libc.src.__support.OSUtil.osutil129    libc.src.errno.errno130)131 132add_entrypoint_object(133  tcsetattr134  SRCS135    tcsetattr.cpp136  HDRS137    ../tcsetattr.h138  DEPENDS139    .kernel_termios140    libc.include.sys_syscall141    libc.include.termios142    libc.src.__support.OSUtil.osutil143    libc.src.errno.errno144)145