1 #include <termios.h> 2 #include <sys/ioctl.h> 3 tcsendbreak(int fd,int dur)4 int tcsendbreak(int fd, int dur) 5 { 6 /* nonzero duration is implementation-defined, so ignore it */ 7 return ioctl(fd, TCSBRK, 0); 8 } 9