bind9/lib/isc/win32/stdtime.c

28 lines
651 B
C
Raw Normal View History

1999-09-23 14:34:27 -04:00
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
1999-09-23 14:34:27 -04:00
*/
#include <time.h>
#include <isc/assertions.h>
#include <isc/stdtime.h>
2001-07-06 01:08:39 -04:00
#include <isc/util.h>
1999-09-23 14:34:27 -04:00
void
2000-01-04 15:21:03 -05:00
isc_stdtime_get(isc_stdtime_t *t) {
1999-09-23 14:34:27 -04:00
/*
* Set 't' to the number of seconds past 00:00:00 UTC, January 1, 1970.
*/
REQUIRE(t != NULL);
(void)_time32(t);
1999-09-23 14:34:27 -04:00
}