Return Values
Return values are error codes, which are defined in the enumeration type KvsipResult and show the execution status of a library function.
There is no buffer to store the final error status. The caller needs to determine whether to check the error code when the function returns a value.
Table 1 describes the error codes.
Value |
Description |
|---|---|
0 |
KVSIP_STS_NO_ERR: No error occurs. |
≥ 1 |
A common error occurs, for example, a null pointer or a size error occurs. |
A non-zero error code does not indicate that the function execution is not complete. Determine the situation according to the function processing logic.
Parent topic: Naming Rules