Bad software engineering. Their internal routines return negative value to indicate failure, but to the caller they translate it to true/false.
Bad software engineering. Their internal routines return negative value to indicate failure, but to the caller they translate it to true/false.