15 #include <core/stat.h> 20 #define S_ACCPERM (S_IRWXU | S_IRWXG | S_IRWXO) 36 int stat(
const char *pathname,
struct stat *buf);
Wrapper for kernel types.h header.
int mkdir(const char *pathname, mode_t mode)
Create directory at file system.
int stat(const char *pathname, struct stat *buf)
Get file status of a given path name.
unsigned int mode_t
Definition: types.h:41
int fstat(int fd, struct stat *buf)
Get file status of a given file descriptor (system call)