diff options
| author | zylx <[email protected]> | 2018-10-24 11:11:17 +0800 |
|---|---|---|
| committer | zylx <[email protected]> | 2018-10-24 11:11:43 +0800 |
| commit | ab5f1d49ce03e520427c7909eda16fdf5ff66ed2 (patch) | |
| tree | 6d2c6f005533eef9b22692e0a3b82ca8bd1a3680 /include/rtthread.h | |
| parent | fbaa86933dd5aeb65b36db78a210e386fb8a6732 (diff) | |
[kernel][kservice] add rt_gmtime_r api
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index fc5029a220..254da139ea 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -473,6 +473,7 @@ rt_int32_t rt_vsprintf(char *dest, const char *format, va_list arg_ptr); rt_int32_t rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args); rt_int32_t rt_sprintf(char *buf, const char *format, ...); rt_int32_t rt_snprintf(char *buf, rt_size_t size, const char *format, ...); +struct tm *rt_gmtime_r(const time_t *timep, struct tm *result); #if defined(RT_USING_DEVICE) && defined(RT_USING_CONSOLE) rt_device_t rt_console_set_device(const char *name); |
