Os.Waitpid(Int32, MutableInt, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
See .
[Android.Runtime.Register("waitpid", "(ILandroid/util/MutableInt;I)I", "")]
public static int Waitpid(int pid, Android.Util.MutableInt? status, int options);
[<Android.Runtime.Register("waitpid", "(ILandroid/util/MutableInt;I)I", "")>]
static member Waitpid : int * Android.Util.MutableInt * int -> int
Parameters
- pid
- Int32
The child-process selector: a positive child ID, -1 for any child, 0 for the caller's process group, or a value below -1 for process group -pid.
- status
- MutableInt
Receives the child's status when the return value is positive.
- options
- Int32
The flags that select which child state changes to report and whether to wait.
Returns
The child process ID, or 0 if WNOHANG is set and no child has a state change to report.
- Attributes
Exceptions
Remarks
Java documentation for android.system.Os.waitpid(int, android.system.Int32Ref, int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.