native

fgets

Syntax

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

Description

Reads a line from a text file.

Parameters

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

Return

Total number of characters written on success, 0 otherwise