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

Mono.Unix.Native.Stdlib.feof Method

Test end-of-file indicator for the FILE stream. [Edit]

public static int feof (IntPtr stream)

Parameters

stream
The FILE stream on which to test the end-of-file indicator. [Edit]

Returns

Returns non-zero if the end-of-stream indicator for stream is set. Otherwise, 0 is returned. [Edit]

Remarks

The function feof() tests the end-of-file indicator for the stream pointed to by stream, returning non-zero if it is set. The end-of-file indicator can only be cleared by the function Stdlib.clearerr(). [Edit]

Requirements

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