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>2011-08-12 16:31:08 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-08-12 16:31:08 +0400
commit1f08558f14e45382f5f5b137c45aae3bb79b067c (patch)
tree2770d3ea3f7fb2e3566fd85800fdb62a980b71cd /winsup/cygwin/fhandler.h
parent6e2c582323d667fec9b1859757515f932c6f8db2 (diff)
* fhandler.h (fhandler_proc::opendir): Declare.
(fhandler_proc::closedir): Declare. * fhandler_proc.cc (fhandler_proc::opendir): New method. Fetch list of active processes here once to avoid potential duplicates. (fhandler_proc::closedir): New method.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index b8c3f20bb..3cbcba91d 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1440,6 +1440,8 @@ class fhandler_proc: public fhandler_virtual
public:
fhandler_proc ();
virtual_ftype_t exists();
+ DIR *opendir (int fd) __attribute__ ((regparm (2)));
+ int closedir (DIR *);
int readdir (DIR *, dirent *) __attribute__ ((regparm (3)));
static fh_devices get_proc_fhandler (const char *path);