1 /* 2 * Copyright (c) 2024 Synopsys 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef LIB_LIBC_ARCMWDT_INCLUDE_TIME_H_ 8 #define LIB_LIBC_ARCMWDT_INCLUDE_TIME_H_ 9 10 #include_next <time.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 extern char *asctime_r(const struct tm *tp, char *buf); 17 extern char *ctime_r(const time_t *clock, char *buf); 18 extern struct tm *gmtime_r(const time_t *timep, struct tm *result); 19 extern struct tm *localtime_r(const time_t *timer, struct tm *result); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif /* LIB_LIBC_ARCMWDT_INCLUDE_TIME_H_ */ 26