summaryrefslogtreecommitdiffstats
path: root/build/has/timegm.c
blob: 6e2d155440fb9b41a1d1b1dc7835e3910c81b48e (plain)
1
2
3
4
5
6
7
8
9
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <time.h>

int main(void) {
	struct tm tm = {0};
	return (int)timegm(&tm);
}