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 'libgloss/m32r/fstat.c')
-rw-r--r--libgloss/m32r/fstat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgloss/m32r/fstat.c b/libgloss/m32r/fstat.c
new file mode 100644
index 000000000..1f91828cf
--- /dev/null
+++ b/libgloss/m32r/fstat.c
@@ -0,0 +1,11 @@
+#include <sys/types.h>
+#include <sys/stat.h>
+#include "syscall.h"
+#include "eit.h"
+
+int
+_fstat (int file, struct stat *st)
+{
+ st->st_mode = S_IFCHR;
+ return 0;
+}