[clang-tools-extra] [llvm] [flang] [clang] [flang ]GETLOG runtime and extension implementation: get login username (PR #70917)

Peter Klausler via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 27 07:59:51 PST 2023


================
@@ -9,6 +9,17 @@
 // Defines the API between compiled code and the implementations of time-related
 // intrinsic subroutines in the runtime library.
 
+// time-intrinsic.h
+#ifndef TIME_INTRINSIC_H
+#define TIME_INTRINSIC_H
+
+#include <cstddef>
+
+void copyBufferAndPad(
+    char *dest, std::size_t destChars, char *buffer, std::size_t len);
----------------
klausler wrote:

`buffer` can be `const char *`, yes?

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


More information about the cfe-commits mailing list