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

#include <syscall.h> // for __syscall_4, syscall
#include <time.h>    // for timespec

int utimensat(int fd, const char *path, const struct timespec times[2],
	      int flag)
{
	return syscall(utimensat, fd, path, times, flag);
}