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

Mono.Unix.Native.Stdlib.feof Method

Test end-of-file indicator for the FILE stream.

public static int feof (IntPtr stream)

Parameters

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

Returns

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

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().

Requirements

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