1227825Stheraven// -*- C++ -*-
2227825Stheraven//===---------------------------- ctime -----------------------------------===//
3227825Stheraven//
4227825Stheraven//                     The LLVM Compiler Infrastructure
5227825Stheraven//
6227825Stheraven// This file is dual licensed under the MIT and the University of Illinois Open
7227825Stheraven// Source Licenses. See LICENSE.TXT for details.
8227825Stheraven//
9227825Stheraven//===----------------------------------------------------------------------===//
10227825Stheraven
11227825Stheraven#ifndef _LIBCPP_CTIME
12227825Stheraven#define _LIBCPP_CTIME
13227825Stheraven
14227825Stheraven/*
15227825Stheraven    ctime synopsis
16227825Stheraven
17227825StheravenMacros:
18227825Stheraven
19227825Stheraven    NULL
20227825Stheraven    CLOCKS_PER_SEC
21227825Stheraven
22227825Stheravennamespace std
23227825Stheraven{
24227825Stheraven
25227825StheravenTypes:
26227825Stheraven
27227825Stheraven    clock_t
28227825Stheraven    size_t
29227825Stheraven    time_t
30227825Stheraven    tm
31227825Stheraven
32227825Stheravenclock_t clock();
33227825Stheravendouble difftime(time_t time1, time_t time0);
34227825Stheraventime_t mktime(tm* timeptr);
35227825Stheraventime_t time(time_t* timer);
36227825Stheravenchar* asctime(const tm* timeptr);
37227825Stheravenchar* ctime(const time_t* timer);
38227825Stheraventm*    gmtime(const time_t* timer);
39227825Stheraventm* localtime(const time_t* timer);
40227825Stheravensize_t strftime(char* restrict s, size_t maxsize, const char* restrict format,
41227825Stheraven                const tm* restrict timeptr);
42227825Stheraven
43227825Stheraven}  // std
44227825Stheraven
45227825Stheraven*/
46227825Stheraven
47227825Stheraven#include <__config>
48227825Stheraven#include <time.h>
49227825Stheraven
50227825Stheraven#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
51227825Stheraven#pragma GCC system_header
52227825Stheraven#endif
53227825Stheraven
54227825Stheraven_LIBCPP_BEGIN_NAMESPACE_STD
55227825Stheraven
56227825Stheravenusing ::clock_t;
57227825Stheravenusing ::size_t;
58227825Stheravenusing ::time_t;
59227825Stheravenusing ::tm;
60227825Stheravenusing ::clock;
61227825Stheravenusing ::difftime;
62227825Stheravenusing ::mktime;
63227825Stheravenusing ::time;
64227825Stheravenusing ::asctime;
65227825Stheravenusing ::ctime;
66227825Stheravenusing ::gmtime;
67227825Stheravenusing ::localtime;
68227825Stheravenusing ::strftime;
69227825Stheraven
70227825Stheraven_LIBCPP_END_NAMESPACE_STD
71227825Stheraven
72227825Stheraven#endif  // _LIBCPP_CTIME
73