- This wiki is out of date, use the continuation of this wiki instead
Fputs
From FenixWiki
Contents |
[edit] Definition
INT fputs ( <INT filehandle> , <STRING line> )
Writes a line to a certain file.
[edit] Parameters
INT filehandle | - The FileHandle of the file returned by fopen(). |
[edit] Returns
INT: Number of bytes written.
0 | - There was an error. |
>0 | - Number of bytes written. |
[edit] Notes
The character '\' will be put in front of every newline character, so that fgets() reads the lines like they were written.