* fhandler_serial.cc (fhandler_serial::ioctl): Implement TIOCSBRK and TIOCCBRK.

* include/sys/termios.h: Define TIOCSBRK and TIOCCBRK.
This commit is contained in:
Christopher Faylor
2004-03-09 02:51:26 +00:00
parent d8672e9343
commit 58e9df0f91
3 changed files with 22 additions and 0 deletions

View File

@ -23,6 +23,8 @@ Other UNIX ioctl requests has been omited because
effects of their work one can achive by standard
POSIX commands */
#define TIOCSBRK 0x5427
#define TIOCCBRK 0x5428
#define TIOCM_DTR 0x002
#define TIOCM_RTS 0x004