[libc-commits] [libc] [libc][c11] implement ctime (PR #107285)

Зишан Мирза via libc-commits libc-commits at lists.llvm.org
Thu Sep 5 04:18:38 PDT 2024


================
@@ -145,6 +148,50 @@ LIBC_INLINE char *asctime(const struct tm *timeptr, char *buffer,
   return buffer;
 }
 
+LIBC_INLINE char *ctime(const time_t *t_ptr, char *buffer,
----------------
zimirza wrote:

Thank you for the feedback. I have refactored this. I just need to do some testing before marking this pull request "ready for review".

https://github.com/llvm/llvm-project/pull/107285


More information about the libc-commits mailing list