In article <1920 at paris.ics.uci.edu> nagel at blanche.ics.uci.edu (Mark Nagel) writes: -... it would be nice to have something like this be part of the -standard C library so that one could check validity of things like -atoi, etc. You can use sscanf() to validate input format.