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

Mono.Unix.Native.Stdlib.fgets Method

Read a line from a FILE stream. [Edit]

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

Parameters

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

Returns

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

Remarks

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

Requirements

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