diff options
Diffstat (limited to 'include/qemu/osdep.h')
| -rw-r--r-- | include/qemu/osdep.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 720ed21a7e..de77c5c254 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -758,6 +758,13 @@ static inline void qemu_reset_optind(void) int qemu_fdatasync(int fd); /** + * qemu_close_all_open_fd: + * + * Close all open file descriptors + */ +void qemu_close_all_open_fd(void); + +/** * Sync changes made to the memory mapped file back to the backing * storage. For POSIX compliant systems this will fallback * to regular msync call. Otherwise it will trigger whole file sync |