summaryrefslogtreecommitdiff
path: root/src/stat/fchmodat.c
blob: f4f22b2c7f4f271c2402fd5a8ebb250dbc7858e9 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/stat.h>
#include "syscall.h"

int fchmodat(int fd, const char *path, mode_t mode, int flag)
{
	return syscall4(__NR_fchmodat, fd, (long)path, mode, flag);
}