aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-05-09 16:54:59 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2009-05-10 18:37:35 +1000
commite3448f1634fa986967b08f58752424480347217c (patch)
tree9fb9f0ebfc862fe8b8e1ba76ec80fbc726e2e855 /include
parentd5aaacda5a4b6cbea654c0d0cca3c901b8dda3d3 (diff)
downloadbusybox-w32-e3448f1634fa986967b08f58752424480347217c.tar.gz
busybox-w32-e3448f1634fa986967b08f58752424480347217c.tar.bz2
busybox-w32-e3448f1634fa986967b08f58752424480347217c.zip
Introduce FEATURE_CYGWIN_TTY
This feature allows terminal-aware applications to access Cygwin-based terminal emulator, like rxvt, by allowing access to termios structure managed by Cygwin. The way this works is really intrusive. It examines Cygwin's (unofficial) shared information to find out termios data and manipulate directly on that (without locking, for now). Different Cygwin versions may change share info layout. This patch only supports cygwin-1.7.0-46. Support for other versions can be added later.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index b39d94a33..500308947 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -191,6 +191,9 @@ int mingw_getpagesize(void);
191#define getpagesize mingw_getpagesize 191#define getpagesize mingw_getpagesize
192#endif 192#endif
193 193
194int mingw_isatty(int fd);
195#define isatty(fd) mingw_isatty(fd)
196
194/* Use mingw_lstat() instead of lstat()/stat() and 197/* Use mingw_lstat() instead of lstat()/stat() and
195 * mingw_fstat() instead of fstat() on Windows. 198 * mingw_fstat() instead of fstat() on Windows.
196 */ 199 */