summaryrefslogtreecommitdiff
path: root/lib/libc/stat/fchmodat.c
blob: ae5e882f854f3917f656b9db3345a543e2ff0979 (plain)
1
2
3
4
5
6
7
8
9
10


#include <sys/stat.h>  // for fchmodat
#include <sys/types.h> // for mode_t
#include <syscall.h>   // for __syscall_4, syscall

int fchmodat(int fd, const char *path, mode_t mode, int flag)
{
	return syscall(fchmodat2, fd, path, mode, flag);
}