8 int futimens(int fd
, const struct timespec tv
[2])
11 static const struct timespec now
[2] = { {0, UTIME_NOW
}, {0, UTIME_NOW
} };
13 if (tv
== NULL
) tv
= now
;
15 memset(&m
, 0, sizeof(m
));
16 m
.m_vfs_utimens
.fd
= fd
;
17 m
.m_vfs_utimens
.atime
= tv
[0].tv_sec
;
18 m
.m_vfs_utimens
.mtime
= tv
[1].tv_sec
;
19 m
.m_vfs_utimens
.ansec
= tv
[0].tv_nsec
;
20 m
.m_vfs_utimens
.mnsec
= tv
[1].tv_nsec
;
21 m
.m_vfs_utimens
.name
= NULL
;
22 m
.m_vfs_utimens
.flags
= 0;
24 return(_syscall(VFS_PROC_NR
, VFS_UTIMENS
, &m
));