add: errno function has been added.