Mono Class Library: Mono.Unix.UnixMarshal Overview | Members

Mono.Unix.UnixMarshal.GetErrorDescription Method

Gets a description for the error code errno. [Edit]

[System.CLSCompliant(false)]
public static string GetErrorDescription (Mono.Unix.Native.Errno errno)

See Also

Mono.Unix.Native.Stdlib.strerror
Mono.Unix.Native.Syscall.strerror_r

Parameters

errno
A Mono.Unix.Native.Errno containing the error code to get the description for. [Edit]

Returns

A string containing a description of the specified error code errno. [Edit]

Remarks

If errno isn't a valid error number or isn't supported by the operating system, then the string "** Unknown error code: errno**" is returned. [Edit]

Requirements

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