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:
Diffstat (limited to 'newlib/libc/sys/rdos/stat.c')
-rwxr-xr-xnewlib/libc/sys/rdos/stat.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/libc/sys/rdos/stat.c b/newlib/libc/sys/rdos/stat.c
new file mode 100755
index 000000000..f1683b63a
--- /dev/null
+++ b/newlib/libc/sys/rdos/stat.c
@@ -0,0 +1,12 @@
+#include "config.h"
+#include <_ansi.h>
+#include <_syslist.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+
+int stat(const char *file, struct stat *st)
+{
+ errno = ENOSYS;
+ return -1;
+}