blob: 65f1d5b039999f3caecb13d6a4a859795e9de1f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <libc.h>
#include <termios.h>
#include <syscall.h>
#include <asm-generic/ioctls.h>
int tcsendbreak(int fildes, int __unused duration)
{
// IEEE Std 1003.1-2024
// If duration is not 0, it shall send zero-valued
// bits for an implementation-defined period of time.
return syscall(ioctl, fildes, TCSBRK, 0);
}
|