about summary refs log tree commit diff
path: root/src/termios/tcsendbreak.c
blob: b6df0a23a302431b079f5a02d49fd7bb6422e5b4 (plain) (blame)
1
2
3
4
5
6
7
8
#include <termios.h>
#include <sys/ioctl.h>

int tcsendbreak(int fd, int dur)
{
	/* nonzero duration is implementation-defined, so ignore it */
	return ioctl(fd, TCSBRK, 0);
}