replace sys_errlist with errno.h