summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-11-09 03:17:40 +0000
committerChristopher Faylor <me@cgf.cx>2002-11-09 03:17:40 +0000
commit49f7ea16756dd7f341edeecd2dee45083ab38945 (patch)
tree3d3116eba6dca08f137092f6e7d59ca200757ca4 /winsup/cygwin/fhandler.h
parent7c4f9b9a05214fcfb692147a1883e52d2d2de1df (diff)
downloadcygnal-49f7ea16756dd7f341edeecd2dee45083ab38945.tar.gz
cygnal-49f7ea16756dd7f341edeecd2dee45083ab38945.tar.bz2
cygnal-49f7ea16756dd7f341edeecd2dee45083ab38945.zip
* fhandler.h (class fhandler_pipe): New ioctl() method.
* pipe.cc (fhandler_pipe::ioctl): New.
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 273475110..0e4267013 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -459,6 +459,7 @@ class fhandler_pipe: public fhandler_base
int close ();
void create_guard (SECURITY_ATTRIBUTES *sa) {guard = CreateMutex (sa, FALSE, NULL);}
int dup (fhandler_base *child);
+ int ioctl (unsigned int cmd, void *);
void fixup_after_fork (HANDLE);
bool hit_eof ();
void set_eof () {broken_pipe = true;}