mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
Add a Program::GetPid() method.
llvm-svn: 76341
This commit is contained in:
parent
583e23d726
commit
1c0854b913
@ -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…
Reference in New Issue
Block a user