projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
getservbyport_r: fix out-of-bounds buffer read
[musl]
/
compat
/
time32
/
utime_time32.c
1
#include "time32.h"
2
#include <time.h>
3
#include <utime.h>
4
5
struct utimbuf32 {
6
time32_t actime;
7
time32_t modtime;
8
};
9
10
int __utime_time32(const char *path, const struct utimbuf32 *times32)
11
{
12
return utime(path, !times32 ? 0 : (&(struct utimbuf){
13
.actime = times32->actime, .modtime = times32->modtime}));
14
}