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.
|ch||The character to be written. |
|handle||The handle of the file where the character is to be written. |
- The character written to the file.