strtox_main.c

Todo’s

Only if endptr != NULL - but do we really want *another* parameter?

Earlier version was missing tolower() here but was not caught by tests

This is ugly, but keeps caller from negating the error value