smol-gilbraltar/nolibc/include/sys/stat.h

21 lines
339 B
C
Raw Normal View History

2024-12-20 22:45:12 +00:00
#ifndef _SYS_STAT_H
#define _SYS_STAT_H
#include <sys/types.h>
struct stat {
int st_mode;
int st_size;
};
#define S_IFDIR 0
#define S_IFMT 0
#define S_IFREG 0
#define S_ISREG(x) (0)
#define S_IRUSR 0
#define S_IWUSR 0
int stat(const char *, struct stat *);
int mkdir(const char *, mode_t);
int fstat(int, struct stat *);
#endif