Enumeration
unistat
Status code.
Since v1.0
enum unistat {
...
}
Constants 🔗
UNI_OK | Success status. |
UNI_DONE | Successful completion of an operation. |
UNI_NO_MEMORY | Indicates a failure to dynamically allocate memory. |
UNI_NO_SPACE | Indicates the destination buffer is too small. |
UNI_BAD_ENCODING | Indicates a malformed character sequence was encountered. |
UNI_BAD_OPERATION | Indicates a function call with invalid inputs. |
UNI_FEATURE_DISABLED | Indicates the requested operation cannot be performed because the feature is disabled. |
UNI_MALFUNCTION | Indicates a defect with the implementation. |
Discussion 🔗
Most functions in the Unicorn library return an element of this enumeration. Of the elements, only UNI_OK and UNI_DONE represent a success status whereas the others represent failures.