[libc-commits] [libc] [libc] Add `ctime_s` (PR #110676)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Tue Jan 7 10:34:08 PST 2025
================
@@ -37,6 +37,14 @@ functions:
arguments:
- type: const time_t *
- type: char *
+ - name: ctime_s
+ standard:
+ - stdc
+ return_type: int
----------------
nickdesaulniers wrote:
`ctime_s` returns an `errno_t`; similar to what you've done for `rsize_t` (here and in the implementation itself).
https://github.com/llvm/llvm-project/pull/110676
More information about the libc-commits
mailing list