[feature] set errno appropriately