Mono Class Library: Mono.Unix.Native.Syscall Overview | Members

Mono.Unix.Native.Syscall.WEXITSTATUS Method

Returns the exit status of the process. [Edit]

public static int WEXITSTATUS (int status)

Parameters

status
The process status, as obtained through Syscall.wait or Syscall.waitpid. [Edit]

Returns

The exit status of a process. [Edit]

Remarks

This can only be called if Syscall.WIFEXITED has returned true. [Edit]

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0