NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define putc (   _ch,
  _handle 
)    fputc(_ch, _handle)

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_putc.nxc.