blob: 761d2e60da0ecda5a2af5232ee15c94acecbc966 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <Kernel/Syscall.h>
#include <errno.h>
#include <utime.h>
extern "C" {
int utime(const char* pathname, const struct utimbuf* buf)
{
int rc = syscall(SC_utime, (u32)pathname, (u32)buf);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
}
|