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



#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);
}