libyang
libyang copied to clipboard
LY_Print_RET determines that the function execution result is too absolute based on whether errno is 0.
The value in errno is significant only when the return value of the call indicated an error ; a function that succeeds is allowed to change errno.There is a high probability that the function is successfully executed but the value of errno is not 0.
Could you please be more specific, to what code exactly are you referring to?