Hi,

On linux when filesystem is full, apr_file_write return 28 and windows
return 720112

I don't want to write this code:

res = apr_file_write(...);
if (res != APR_SUCCESS) {
  if (res == 28 || res == 720112) {
    /* manage fs full */
  }
}

What is the right way to do that ? Is there an APR_STATUS_IS_FSFULL()
macro for example ?

Regards,

Laurent

Note: sorry if this mailing list is only for internal Apr dev and not
related to dev using Apr in general

Reply via email to