How to determine cause for failure of fwrite in ios

216 views Asked by At

I'm trying to determine cause of an fwrite failure.

I want to handle different cases for the error:

  • No memory,
  • No permission, etc

In some platforms we can use errno to determine the error for failure.

Is there anything similar that can be used for iOS? Or can errno itself be used in iOS?

Thanks in advance

0

There are 0 answers