diff options
author | Pixel <pixel@nobis-crew.org> | 2011-02-02 08:35:38 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-02-02 08:35:38 -0800 |
commit | 3ca9b28c5b04220565c206bd73d9ebb48b64db3b (patch) | |
tree | 86ffbb085f2c255de44321c858780c77dc7583d8 /os/src/fstat.c | |
parent | 29dc401e5ba2c3f5676d426c4c1b10f1fc475fcd (diff) |
Making a sample code for the 'romfs' thingy.
Diffstat (limited to 'os/src/fstat.c')
-rw-r--r-- | os/src/fstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/src/fstat.c b/os/src/fstat.c index b10194c..a7c251f 100644 --- a/os/src/fstat.c +++ b/os/src/fstat.c @@ -3,9 +3,11 @@ #include <string.h> #include <errno.h> #include "fio.h" +#include "osdebug.h" int _fstat_r(struct _reent * reent, int fd, struct stat * buf) { off_t c; +// DBGOUT("_fstat_r(%p, %i, %p)\r\n", reent, fd, buf); memset(buf, 0, sizeof(struct stat)); if (!fio_is_open(fd)) { |