1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
// TODO:
int fchmod(int fd, mode_t mode)
{
unimplemented();
return 0;
}
// TODO:
int mkdir(const char *path, mode_t mode)
{
unimplemented();
return 0;
}
// TODO
int chmod(const char *path, mode_t mode)
{
unimplemented();
return 0;
}
// TODO
mode_t umask(mode_t mask)
{
unimplemented("mask: %d", mask);
return 0;
}
// TODO
int fstatat(int fd, const char *restrict path, struct stat *restrict st, int flag)
{
unimplemented();
return 0;
}