native

fputs

Syntax

native fputs(file, const text[], bool:null_term = false);

Description

Writes a line of text to a text file.

Parameters

file Handle to the file
text String to write
null_term True to append NULL terminator, false otherwise

Return

0 on success, -1 otherwise