Code

rely on what the function returns. errno is only for informatio not for detection...