Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-08-02 13:17:15 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-08-02 13:17:15 +0400
commit723d64e6673c7871b7c26cdac005a862162cfa3e (patch)
tree7a423beade890d81b32b8a87c3f7adf30740920d /winsup/cygwin/fhandler.h
parent88c5a50f9f1982b1ae8cc16350fbc9b60502d88a (diff)
* include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.
* fhandler.h (class fhandler_serial): Declare switch_modem_lines. * fhandler_serial.cc (fhandler_serial::switch_modem_lines): New static function to set or clear DTR and/or RTS. (fhandler_serial::ioctl): Use switch_modem_lines for TIOCMSET and new TIOCMBIS and TIOCMBIC. * include/cygwin/version.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 9c0c45e20..6b698fa40 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -722,6 +722,7 @@ class fhandler_serial: public fhandler_base
int tcdrain ();
int tcflow (int);
int ioctl (unsigned int cmd, void *);
+ int switch_modem_lines (int set, int clr);
int tcsetattr (int a, const struct termios *t);
int tcgetattr (struct termios *t);
_off64_t lseek (_off64_t, int) { return 0; }