search for: ffc4105

Displaying 1 result from an estimated 1 matches for "ffc4105".

2009 Mar 05
1
[PATCH 4/5] COM32: add trivial stat() function
...add trivial stat() function; uses open(), fstat() then close() or opendir(), closedir(). Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- Not the most elegant thing in the world but it's been working for me. diff --git a/com32/include/sys/stat.h b/com32/include/sys/stat.h index ffc4105..2a06a68 100644 --- a/com32/include/sys/stat.h +++ b/com32/include/sys/stat.h @@ -49,4 +49,6 @@ struct stat { /* Only fstat() supported */ int fstat(int, struct stat *); +int stat(const char *, struct stat *); + #endif /* _SYS_STAT_H */ diff --git a/com32/lib/Makefile b/com32/lib/Makefile index...