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

Mono.Unix.Native.Stdlib.strerror Method

Get error message string for 'errnum'. [Edit]

[System.CLSCompliant(false)]
public static string strerror (Errno errnum)

Parameters

errnum
Error number to get a message for. [Edit]

Returns

A string describing errnum. [Edit]

Remarks

The strerror() function accepts an error number argument errnum and returns a pointer to the corresponding message string.

If the error number is not recognized, these functions return an error message string containing "Unknown error: " followed by the error number in decimal.

[Edit]

Requirements

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