summaryrefslogtreecommitdiff
path: root/os/src/fstat.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-28 00:35:56 -0800
committerPixel <pixel@nobis-crew.org>2011-01-28 00:35:56 -0800
commitc8a010ba85e8325fdbf7468ef49744ff1f09f213 (patch)
treeaf7ef6d67d0cf47faef0c8bc339aeb75cedc139d /os/src/fstat.c
parentf3906ecc2cacaf75efa1e54f453ff723cddd3d66 (diff)
Adding a few more 'syscalls' to our libc.
Diffstat (limited to 'os/src/fstat.c')
-rw-r--r--os/src/fstat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/src/fstat.c b/os/src/fstat.c
new file mode 100644
index 0000000..a756206
--- /dev/null
+++ b/os/src/fstat.c
@@ -0,0 +1,8 @@
+#include <reent.h>
+#include <sys/stat.h>
+#include "osdebug.h"
+
+int _fstat_r(struct _reent * ptr, int fildes, struct stat * buf) {
+ DBGOUT("_fstat_r(%p, %d, %p)\r\n", ptr, fildes, buf);
+ return 0;
+}