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>2005-02-20 16:28:23 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-02-20 16:28:23 +0300
commit4944ca2f090de13e5afbde071def7449b25dcfd5 (patch)
tree3b5bb55b18a0b6ae32a6cfa4e797be9fbaf0ff97 /winsup/cygwin/wincap.h
parent2b09be25a3929c8c6d7e23e1abb4756187c5036b (diff)
* autoload.cc (FindFirstVolumeA): Add.
(FindNextVolumeA): Add. (FindVolumeClose): Add. (GetVolumePathNamesForVolumeNameA): Add. * fhandler.h (class fhandler_base): Declare new method fsync. * fhandler.cc (fhandler_base::fsync): New method. * syscalls.cc (fsync): Move functionality into fhandler method fsync. Just call this method from here. (sync_worker): New static function. (sync): Fill with life for NT systems. * wincap.h (wincaps::has_guid_volumes): New element. * wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r--winsup/cygwin/wincap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h
index 2e5df1500..c6c54b0c1 100644
--- a/winsup/cygwin/wincap.h
+++ b/winsup/cygwin/wincap.h
@@ -57,6 +57,7 @@ struct wincaps
unsigned has_ioctl_storage_get_media_types_ex : 1;
unsigned start_proc_suspended : 1;
unsigned has_extended_priority_class : 1;
+ unsigned has_guid_volumes : 1;
};
class wincapc
@@ -118,6 +119,7 @@ public:
bool IMPLEMENT (has_ioctl_storage_get_media_types_ex)
bool IMPLEMENT (start_proc_suspended)
bool IMPLEMENT (has_extended_priority_class)
+ bool IMPLEMENT (has_guid_volumes)
#undef IMPLEMENT
};