diff options
author | Rob Landley <rob@landley.net> | 2015-01-01 16:28:51 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-01-01 16:28:51 -0600 |
commit | 86c747a4493b2b1aabab9b20d1c4566fddeeb2ca (patch) | |
tree | fe5254ddbb277f19724c5bacb412e677f595d919 /toys/posix/wc.c | |
parent | cf2516ab4bcf2c1d4cb571539dae794c6a40c5c6 (diff) | |
download | toybox-86c747a4493b2b1aabab9b20d1c4566fddeeb2ca.tar.gz |
strtol() doesn't return error indicator for overflow, it just sets errno. So add estrtol() (which clears errno first), and xstrtol() (which error_exit()s on overflow).
Diffstat (limited to 'toys/posix/wc.c')
0 files changed, 0 insertions, 0 deletions