summaryrefslogtreecommitdiff
path: root/lib/libc/stat/fchmod.c
blob: c7b0b0f31907da135a98b6a2e17c2c9139754154 (plain)
1
2
3
4
5
6
7
8
9
10
#include "asm/unistd_64.h" // for __NR_fchmod

#include <sys/stat.h>  // for fchmod
#include <sys/types.h> // for mode_t
#include <syscall.h>   // for __syscall_2, syscall

int fchmod(int fildes, mode_t mode)
{
	return syscall(fchmod, fildes, mode);
}