NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char fputc ( char  ch,
byte  handle 
)
inline

Write character to file.

Writes a character to the file and advances the position indicator. The character is written at the current position of the file as indicated by the internal position indicator, which is then advanced one character. If there are no errors, the same character that has been written is returned. If an error occurs, EOF is returned.

Parameters
chThe character to be written.
handleThe handle of the file where the character is to be written.
Returns
The character written to the file.
Examples:
ex_fputc.nxc.