Warning: This file is not a C or C++ file. It does not have highlighting.
1 | //===-- include/flang/Runtime/command.h -------------------------*- C++ -*-===// |
---|---|
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef FORTRAN_RUNTIME_EXECUTE_H_ |
10 | #define FORTRAN_RUNTIME_EXECUTE_H_ |
11 | |
12 | #include "flang/Runtime/entry-names.h" |
13 | |
14 | namespace Fortran::runtime { |
15 | class Descriptor; |
16 | |
17 | extern "C" { |
18 | |
19 | // 16.9.83 EXECUTE_COMMAND_LINE |
20 | // Execute a command line. |
21 | // Returns a EXITSTAT, CMDSTAT, and CMDMSG as described in the standard. |
22 | void RTNAME(ExecuteCommandLine)(const Descriptor &command, bool wait = true, |
23 | const Descriptor *exitstat = nullptr, const Descriptor *cmdstat = nullptr, |
24 | const Descriptor *cmdmsg = nullptr, const char *sourceFile = nullptr, |
25 | int line = 0); |
26 | } |
27 | } // namespace Fortran::runtime |
28 | |
29 | #endif // FORTRAN_RUNTIME_EXECUTE_H_ |
30 |
Warning: This file is not a C or C++ file. It does not have highlighting.