> errno is for syscalls. errno is standard C, there are non-syscall library functions that do, and are required to, set errno, for example strtol(3) and friends. $ grep -rlFw errno /usr/share/man/man3 | wc -l 754 (Yes, some/most may set errno due to system calls failing, but certainly not all of them)