core.stdc.time

D header file for C99.

This module contains bindings to selected types and functions from the standard C header <_time.h>. Note that this is not automatically generated, and may omit some types/functions from the original C header.

Public Imports

core.sys.posix.sys.types
public import core.sys.posix.sys.types : time_t, clock_t;

Members

Aliases

clock_t
alias clock_t = c_long
time_t
alias time_t = c_long

Functions

_strdate
char* _strdate(return scope char* s)
_strtime
char* _strtime(return scope char* s)
_tzset
void _tzset()
asctime
char* asctime(const scope tm* timeptr)
ctime
char* ctime(const scope time_t* timer)
difftime
double difftime(time_t time1, time_t time0)
gmtime
tm* gmtime(const scope time_t* timer)
localtime
tm* localtime(const scope time_t* timer)
mktime
time_t mktime(scope tm* timeptr)
strftime
size_t strftime(scope char* s, size_t maxsize, const scope char* format, const scope tm* timeptr)
time
time_t time(scope time_t* timer)
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()
tzset
void tzset()

Static variables

tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;
tzname
const(char)*[2] tzname;

Structs

tm
struct tm
tm
struct tm

Variables

CLOCKS_PER_SEC
enum clock_t CLOCKS_PER_SEC;

Meta

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)

Standards

ISO/IEC 9899:1999 (E)

Authors

Sean Kelly, Alex Rønne Petersen

Suggestion Box / Bug Report