diff options
Diffstat (limited to 'newlib/libc/sys/rdos/stat.c')
-rwxr-xr-x | newlib/libc/sys/rdos/stat.c | 12 |
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;
+}
|