On Fri, Nov 7, 2014, at 05:11, Dimitris Papastamos wrote: > It is generally unlikely that the string has been validated to > be an integer before getting to atoi(). With atoi() you cannot > distinguish between an invalid integer and 0. > > Generally speaking, it should never be used.
What if you don't care?