forked from Green-Sky/tomato
simply checking the return value of fwrite() wouldn't be enough since stdio is typically buffered. and so force a flush and check for errors via ferror().
18 KiB
18 KiB