diff options
Diffstat (limited to 'libpsx/include/sys/stat.h')
| -rw-r--r-- | libpsx/include/sys/stat.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libpsx/include/sys/stat.h b/libpsx/include/sys/stat.h new file mode 100644 index 0000000..5b0d7ca --- /dev/null +++ b/libpsx/include/sys/stat.h @@ -0,0 +1,19 @@ +/** + * PSXSDK + * + * sys/stat.h + */ + +#ifndef _SYS_STAT_H +#define _SYS_STAT_H + +struct stat +{ + unsigned int st_size; + unsigned int st_blksize; + unsigned int st_blocks; +}; + +int stat(const char *path, struct stat *sb); + +#endif |
