returned all errnos except ENAMETOOLONG