aboutsummaryrefslogtreecommitdiff
path: root/src/termios/tcsendbreak.c
blob: 2a50d0053f742062a6c03edf65181eebc3576b47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif