[libc-commits] [flang] [clang] [libcxx] [lldb] [clang-tools-extra] [llvm] [compiler-rt] [libc] [flang] FDATE extension implementation: get date and time in ctime format (PR #71222)

Peter Klausler via libc-commits libc-commits at lists.llvm.org
Wed Jan 3 08:43:57 PST 2024


================
@@ -22,6 +22,9 @@ extern "C" {
 // CALL FLUSH(n) antedates the Fortran 2003 FLUSH statement.
 void FORTRAN_PROCEDURE_NAME(flush)(const int &unit);
 
+// GNU extension subroutine FDATE
+void FORTRAN_PROCEDURE_NAME(fdate)(std::byte *string, std::int64_t length);
----------------
klausler wrote:

Why `std::byte` here instead of the usual `char`?

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


More information about the libc-commits mailing list