I am trying to write to a file using fputs() but when the disk is full, EOF is not returned. Despite this, errno is set to ENOSPC (28) as expected. Has anyone encountered this problem before, as I need to know there is an error when writing to the file before I can handle what type of error it is?
Thanks, lzdanny.
Thanks, lzdanny.