> Also, please don't omit the negative value check.Is it appropriate to treat non-zero values as error codes there generally?Regards,Markus