diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-04-02 11:08:07 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-04-02 11:08:07 +0000 |
commit | da8274643c9a765fd2aff0b5d3ee203b2f3a79d0 (patch) | |
tree | a1c25b3a979b7b2575d266770dd4c1614a001233 /winsup/cygwin/fhandler.h | |
parent | 5346e8aebbd4ecc03c8156a91174df74db6fc7db (diff) | |
download | newlib-da8274643c9a765fd2aff0b5d3ee203b2f3a79d0.zip newlib-da8274643c9a765fd2aff0b5d3ee203b2f3a79d0.tar.gz newlib-da8274643c9a765fd2aff0b5d3ee203b2f3a79d0.tar.bz2 |
* fhandler.h (fhandler_dev::open): Declare.
(fhandler_dev::close): Declare.
(fhandler_dev::fstat): Declare.
(fhandler_dev::fstatvfs): Declare.
(fhandler_cygdrive::fstatvfs): Declare.
* fhandler_dev.cc (fhandler_dev::open): New method.
(fhandler_dev::close): Ditto.
(fhandler_dev::fstat): Ditto.
(fhandler_dev::fstatvfs): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't fill
st_rdev.
(fhandler_cygdrive::fstatvfs): New method.
* path.h (path_conv::fs_got_fs): New method.
* mount.h (fs_info::got_fs): Change type to bool, make public.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 81e3356..7fb374a 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -1022,6 +1022,10 @@ class fhandler_dev: public fhandler_disk_file bool dir_exists; public: fhandler_dev (); + int open (int flags, mode_t mode); + int close (); + int __stdcall fstat (struct __stat64 *buf) __attribute__ ((regparm (2))); + int __stdcall fstatvfs (struct statvfs *buf) __attribute__ ((regparm (2))); DIR *opendir (int fd) __attribute__ ((regparm (2))); int readdir (DIR *, dirent *) __attribute__ ((regparm (3))); void rewinddir (DIR *); @@ -1063,6 +1067,7 @@ class fhandler_cygdrive: public fhandler_disk_file void rewinddir (DIR *); int closedir (DIR *); int __stdcall fstat (struct __stat64 *buf) __attribute__ ((regparm (2))); + int __stdcall fstatvfs (struct statvfs *buf) __attribute__ ((regparm (2))); fhandler_cygdrive (void *) {} |