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

Mono.Unix.Native.Stdlib.ferror Method

Tests the error indicator for the FILE stream.

public static int ferror (IntPtr stream)

Parameters

stream
The FILE stream on which to test the error indicator.

Returns

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

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.

Requirements

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