Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/libc++/include/ctime

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libc++/include/ctgmath ('k') | third_party/libc++/include/cwchar » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // -*- C++ -*-
2 //===---------------------------- ctime -----------------------------------===//
3 //
4 // The LLVM Compiler Infrastructure
5 //
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10
11 #ifndef _LIBCPP_CTIME
12 #define _LIBCPP_CTIME
13
14 /*
15 ctime synopsis
16
17 Macros:
18
19 NULL
20 CLOCKS_PER_SEC
21
22 namespace std
23 {
24
25 Types:
26
27 clock_t
28 size_t
29 time_t
30 tm
31
32 clock_t clock();
33 double difftime(time_t time1, time_t time0);
34 time_t mktime(tm* timeptr);
35 time_t time(time_t* timer);
36 char* asctime(const tm* timeptr);
37 char* ctime(const time_t* timer);
38 tm* gmtime(const time_t* timer);
39 tm* localtime(const time_t* timer);
40 size_t strftime(char* restrict s, size_t maxsize, const char* restrict format,
41 const tm* restrict timeptr);
42
43 } // std
44
45 */
46
47 #include <__config>
48 #include <time.h>
49
50 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
51 #pragma GCC system_header
52 #endif
53
54 _LIBCPP_BEGIN_NAMESPACE_STD
55
56 using ::clock_t;
57 using ::size_t;
58 using ::time_t;
59 using ::tm;
60 using ::clock;
61 using ::difftime;
62 using ::mktime;
63 using ::time;
64 using ::asctime;
65 using ::ctime;
66 using ::gmtime;
67 using ::localtime;
68 using ::strftime;
69
70 _LIBCPP_END_NAMESPACE_STD
71
72 #endif // _LIBCPP_CTIME
OLDNEW
« no previous file with comments | « third_party/libc++/include/ctgmath ('k') | third_party/libc++/include/cwchar » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698