mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Add a Program::GetPid() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76341 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3140619c63
commit
9dc87305db
@ -42,6 +42,9 @@ namespace sys {
|
||||
Program() : Pid_(0)
|
||||
{}
|
||||
|
||||
/// Return process ID of this program.
|
||||
unsigned GetPid() { return Pid_; }
|
||||
|
||||
/// This function executes the program using the \p arguments provided. The
|
||||
/// invoked program will inherit the stdin, stdout, and stderr file
|
||||
/// descriptors, the environment and other configuration settings of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user