blob: d687ab05e2755760822e56d0765fb0acbca739ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
#include <sys/stat.h>
int main(void) {
struct stat sb = {0};
unsigned int a = sb.st_atim.tv_sec;
unsigned int c = sb.st_ctim.tv_sec;
unsigned int m = sb.st_mtim.tv_sec;
return a + c + m;
}
|