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

Mono.Unix.Native.Stdlib.clearerr Method

Clear FILE stream status. [Edit]

public static int clearerr (IntPtr stream)

Parameters

stream
The FILE stream to clear end-of-file and error indicators on. [Edit]

Returns

The clearerr() function returns the value 0 if successful; otherwise the value -1 is returned and Stdlib.GetLastError indicates the error. [Edit]

Remarks

Clears the end-of-file and error indicators for the stream pointed to by stream. [Edit]

Requirements

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