summaryrefslogtreecommitdiff
path: root/utils/fs/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/fs/fs.h')
-rw-r--r--utils/fs/fs.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/utils/fs/fs.h b/utils/fs/fs.h
index ab2eded2a1..3931e6e03e 100644
--- a/utils/fs/fs.h
+++ b/utils/fs/fs.h
@@ -1,6 +1,6 @@
/* -----------------------------------------------------------------------------
*
- * (c) Tamar Christina 2018
+ * (c) Tamar Christina 2018-2019
*
* Windows I/O routines for file opening.
*
@@ -25,11 +25,18 @@
#if defined(_WIN32)
#include <wchar.h>
-
+wchar_t* FS(create_device_name) (const wchar_t*);
+int FS(translate_mode) (const wchar_t*);
int FS(swopen) (const wchar_t* filename, int oflag,
int shflag, int pmode);
+int FS(sopen) (const char* filename, int oflag,
+ int shflag, int pmode);
FILE *FS(fwopen) (const wchar_t* filename, const wchar_t* mode);
FILE *FS(fopen) (const char* filename, const char* mode);
+int FS(_stat) (const char *path, struct _stat *buffer);
+int FS(_stat64) (const char *path, struct __stat64 *buffer);
+int FS(_wstat) (const wchar_t *path, struct _stat *buffer);
+int FS(_wstat64) (const wchar_t *path, struct __stat64 *buffer);
#else
FILE *FS(fopen) (const char* filename, const char* mode);