2 //===---------------------------- ctime -----------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
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);
50 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
51 #pragma GCC system_header
54 _LIBCPP_BEGIN_NAMESPACE_STD
64 #ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
72 _LIBCPP_END_NAMESPACE_STD
74 #endif // _LIBCPP_CTIME