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

Mono.Unix.Native.Stdlib.fgets Method

Read a line from a FILE stream.

public static System.Text.StringBuilder fgets (System.Text.StringBuilder sb, IntPtr stream)

Parameters

sb
Where to store the next line of text from stream.
stream
The FILE stream to read a line from.

Returns

See the Stdlib.fgets(System.Text.StringBuilder, int, IntPtr) documentation.

Remarks

Identical to calling fgets(sb, sb.Capacity, stream). See the Stdlib.fgets(System.Text.StringBuilder, int, IntPtr) documentation.

Requirements

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