diff options
Diffstat (limited to 'fw/fe310/bsp/gloss/sys_lstat.c')
-rw-r--r-- | fw/fe310/bsp/gloss/sys_lstat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fw/fe310/bsp/gloss/sys_lstat.c b/fw/fe310/bsp/gloss/sys_lstat.c new file mode 100644 index 0000000..97a4585 --- /dev/null +++ b/fw/fe310/bsp/gloss/sys_lstat.c @@ -0,0 +1,8 @@ +#include <errno.h> +#include <sys/stat.h> + +int _lstat(const char *file, struct stat *st) +{ + errno = ENOSYS; + return -1; +} |