Ratatoi is a C libary that wraps stdlib's strtol (as atoi does), but it's evil.