convert tcflush to ioctl
convert tcdrain to ioctl
convert tcsendbreak to ioctl