bind9/lib/isc/win32/stdtime.c

29 lines
650 B
C
Raw Normal View History

1999-09-23 14:34:27 -04:00
/*
* Copyright (C) 1999-2001, 2004, 2007, 2013, 2016 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/.
1999-09-23 14:34:27 -04:00
*/
2007-06-19 19:47:24 -04:00
/* $Id: stdtime.c,v 1.12 2007/06/19 23:47:19 tbox Exp $ */
2001-07-06 01:08:39 -04:00
#include <config.h>
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
}