blob: b6df0a23a302431b079f5a02d49fd7bb6422e5b4 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#include <termios.h>
2#include <sys/ioctl.h>
3
4int tcsendbreak(int fd, int dur)
5{
6 /* nonzero duration is implementation-defined, so ignore it */
7 return ioctl(fd, TCSBRK, 0);
8}