read errno judge