Mono.Unix.Native.Syscall.WEXITSTATUS Method
Returns the exit status of the process.

Syntax

public static int WEXITSTATUS (int status)

Parameters

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

Returns

The exit status of a process.

Remarks

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

Requirements

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