[libc-commits] [libc] [libc] Add `ctime_s` (PR #110676)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Wed Oct 2 08:08:41 PDT 2024


================
@@ -1615,6 +1615,15 @@ def StdC : StandardSpec<"stdc"> {
                   ArgSpec<CharPtr>,
               ]
           >,
+          FunctionSpec<
+              "ctime_s",
+              RetValSpec<IntType>,
+              [
+                  ArgSpec<CharPtr>,
+                  ArgSpec<SizeTType>,
+                  ArgSpec<TimeTTypePtr>,
----------------
SchrodingerZhu wrote:

Missing `const` qualifier?

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


More information about the libc-commits mailing list