fgets

Syntax

native fgets(file, buffer[], maxlength);

Usage

file
Handle to the file.
buffer
String buffer to hold the line
maxlength
Maximum size of string buffer

Description

Reads a line from a text file.

Return

Total number of characters written on success, 0 otherwise