Hello, I am using fprintf() to output some data to a file. This file is located on an SD card.
As I realised, fprintf() never returns an error. I tried to completely remove the SD card from the system, and fprintf happily succeeds, returning the number of bytes that it would have written, if the write was successful. By checking the call trace, I see that the problem lies within vsprintf_internal(). It calls stream_putc() but no error checking is done there. Shouldn't this be considered a bug?