minix/lib/posix/_tcsendbreak.c
2005-04-21 14:53:53 +00:00

13 lines
261 B
C
Executable file

/* tcsendbreak() - send a break Author: Kees J. Bot
* 13 Jan 1994
*/
#define tcsendbreak _tcsendbreak
#define ioctl _ioctl
#include <termios.h>
#include <sys/ioctl.h>
int tcsendbreak(int fd, int duration)
{
return(ioctl(fd, TCSBRK, &duration));
}