[flang-commits] [PATCH] D118776: [flang] Add runtime interface for GET_COMMAND

Diana Picus via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Feb 3 03:40:55 PST 2022


rovka updated this revision to Diff 405568.
rovka edited the summary of this revision.
rovka added a comment.

Like this?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118776/new/

https://reviews.llvm.org/D118776

Files:
  flang/include/flang/Runtime/command.h


Index: flang/include/flang/Runtime/command.h
===================================================================
--- flang/include/flang/Runtime/command.h
+++ flang/include/flang/Runtime/command.h
@@ -23,6 +23,13 @@
 // integer kind.
 std::int32_t RTNAME(ArgumentCount)();
 
+// 16.9.82 GET_COMMAND
+// Try to get the value of the whole command. All of the parameters are
+// optional.
+// Return a STATUS as described in the standard.
+std::int32_t RTNAME(GetCommand)(const Descriptor *command = nullptr,
+    std::int64_t *length = nullptr, const Descriptor *errmsg = nullptr);
+
 // 16.9.83 GET_COMMAND_ARGUMENT
 // We're breaking up the interface into several different functions, since most
 // of the parameters are optional.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118776.405568.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220203/d4860c0f/attachment.bin>


More information about the flang-commits mailing list