- This wiki is out of date, use the continuation of this wiki instead
 
Fputs
From FenixWiki
(Difference between revisions)
												
			
			| Revision as of 13:55, 26 June 2007 (edit) Sandman (Talk | contribs) ← Previous diff  | 
				Current revision (13:55, 26 June 2007) (edit) (undo) Sandman (Talk | contribs)  | 
			
Current revision
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.
