aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dtable.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-16 01:27:31 +0000
committerChristopher Faylor <me@cgf.cx>2003-01-16 01:27:31 +0000
commitc2c7dd8ad0d21bf88372e37859792e005fca6853 (patch)
tree2ca7c07b726c8d35aed39c8c6e6d812ef506dfc2 /winsup/cygwin/dtable.h
parentd039826c6f4d44d4ff89d1cca2657673af3f9c00 (diff)
downloadnewlib-c2c7dd8ad0d21bf88372e37859792e005fca6853.zip
newlib-c2c7dd8ad0d21bf88372e37859792e005fca6853.tar.gz
newlib-c2c7dd8ad0d21bf88372e37859792e005fca6853.tar.bz2
merge from trunk
Diffstat (limited to 'winsup/cygwin/dtable.h')
-rw-r--r--winsup/cygwin/dtable.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/winsup/cygwin/dtable.h b/winsup/cygwin/dtable.h
index 6e382a6..07c976e 100644
--- a/winsup/cygwin/dtable.h
+++ b/winsup/cygwin/dtable.h
@@ -14,6 +14,8 @@ details. */
#include "thread.h"
class suffix_info;
+class fhandler_fifo;
+
class dtable
{
fhandler_base **fds;
@@ -48,10 +50,10 @@ public:
void fixup_before_exec (DWORD win_proc_id);
void fixup_before_fork (DWORD win_proc_id);
void fixup_after_fork (HANDLE);
- fhandler_base *build_fhandler (int fd, DWORD dev, const char *unix_name,
- const char *win32_name = NULL, int unit = -1);
- fhandler_base *build_fhandler (int fd, DWORD dev, char *unix_name = NULL,
- const char *win32_name = NULL, int unit = -1);
+ fhandler_base *build_fhandler (int fd, const device& dev, const char *unix_name,
+ const char *win32_name = NULL);
+ fhandler_base *build_fhandler (int fd, const device& dev, char *unix_name = NULL,
+ const char *win32_name = NULL);
fhandler_base *build_fhandler_from_name (int fd, const char *name, HANDLE h,
path_conv& pc,
unsigned opts = PC_SYM_FOLLOW,
@@ -80,6 +82,7 @@ public:
void get_debugger_info ();
void set_file_pointers_for_exec ();
bool in_vfork_cleanup () {return fds_on_hold == fds;}
+ fhandler_fifo *find_fifo (ATOM);
};
void dtable_init (void);