Improve strtounum
Fix many style bugs Better variable naming Use C99 'restrict' were apropriate Fix potential errno race
Submitted by: bde