NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int fputs ( string  str,
byte  handle 
)
inline

Write string to file.

Writes the string to the file specified by the handle. The null terminating character at the end of the string is not written to the file. If there are no errors, a non-negative value is returned. If an error occurs, EOF is returned.

Parameters
strThe string of characters to be written.
handleThe handle of the file where the string is to be written.
Returns
The number of characters written to the file.
Examples:
ex_fopen.nxc, and ex_fputs.nxc.