add obsolete futimesat()

this function is obsolete, however it's available as a syscall
and as such qemu userspace emulation tries to forward it to the
host kernel.
This commit is contained in:
rofl0r 2012-12-06 19:29:38 +01:00
commit 7aec71c411
2 changed files with 10 additions and 0 deletions

9
src/stat/futimesat.c Normal file
View file

@ -0,0 +1,9 @@
#include <sys/time.h>
#include "syscall.h"
#ifdef SYS_futimesat
int futimesat(int dirfd, const char *pathname, const struct timeval times[2])
{
return syscall(SYS_futimesat, dirfd, pathname, times);
}
#endif