1*000a3f0aSЗишан Мирза //===-- Implementation header of ctime_r ------------------------*- C++ -*-===// 2*000a3f0aSЗишан Мирза // 3*000a3f0aSЗишан Мирза // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*000a3f0aSЗишан Мирза // See https://llvm.org/LICENSE.txt for license information. 5*000a3f0aSЗишан Мирза // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*000a3f0aSЗишан Мирза // 7*000a3f0aSЗишан Мирза //===----------------------------------------------------------------------===// 8*000a3f0aSЗишан Мирза 9*000a3f0aSЗишан Мирза #ifndef LLVM_LIBC_SRC_TIME_CTIME_R_H 10*000a3f0aSЗишан Мирза #define LLVM_LIBC_SRC_TIME_CTIME_R_H 11*000a3f0aSЗишан Мирза 12*000a3f0aSЗишан Мирза #include "hdr/types/time_t.h" 13*000a3f0aSЗишан Мирза #include "src/__support/macros/config.h" 14*000a3f0aSЗишан Мирза 15*000a3f0aSЗишан Мирза namespace LIBC_NAMESPACE_DECL { 16*000a3f0aSЗишан Мирза 17*000a3f0aSЗишан Мирза char *ctime_r(const time_t *t_ptr, char *buffer); 18*000a3f0aSЗишан Мирза 19*000a3f0aSЗишан Мирза } // namespace LIBC_NAMESPACE_DECL 20*000a3f0aSЗишан Мирза 21*000a3f0aSЗишан Мирза #endif // LLVM_LIBC_SRC_TIME_CTIME_R_H 22