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

Yi Wu via libc-commits libc-commits at lists.llvm.org
Wed Jan 3 10:01:07 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);
----------------
yi-wu-arm wrote:

its my problem, I design the test wrong, it can be `char`, I will change it in the next commit

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


More information about the libc-commits mailing list