libc/lib_strptime:change code format & add notes

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao
2022-04-11 15:44:59 +08:00
committed by Xiang Xiao
parent 96ea9b71ed
commit e6f77aeb9a
3 changed files with 446 additions and 232 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ FAR struct tm *localtime_r(FAR const time_t *timep, FAR struct tm *result);
size_t strftime(FAR char *s, size_t max, FAR const char *format,
FAR const struct tm *tm) strftimelike(3);
FAR char *strptime(FAR const char *s, FAR const char *format,
FAR struct tm *tm);
FAR struct tm *tm);
FAR char *asctime(FAR const struct tm *tp);
FAR char *asctime_r(FAR const struct tm *tp, FAR char *buf);