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