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

Mono.Unix.Native.Stdlib.ferror Method

Tests the error indicator for the FILE stream. [Edit]

public static int ferror (IntPtr stream)

Parameters

stream
The FILE stream on which to test the error indicator. [Edit]

Returns

Returns non-zero if the error indicator is set on stream. Otherwise, 0 is returned. [Edit]

Remarks

The function ferror() tests the error indicator for the stream pointed to by stream, returning non-zero if it is set. The error indicator can only be reset by the Stdlib.clearerr() function. [Edit]

Requirements

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