blob: f747bc0b20b9e649cf3273397465654b0001376a (
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_atimespec.tv_sec;
unsigned int c = sb.st_ctimespec.tv_sec;
unsigned int m = sb.st_mtimespec.tv_sec;
return a + c + m;
}
|