The function ungetc stores a character back into the data stream. The parameter iChar defines the character to store. The parameter stream is a file pointer defining the data stream to write to. The function is included in the library RL-FlashFS. The prototype is defined in the file stdio.h. The function can be invoked only once between function calls that read from the data stream. Subsequent calls to ungetc fail with an EOF return value. |