I still don't quite get this.

As far as I understand, scanning stops at the "r" and the "e" is pushed back.
I fail to see where the standard commands that the number before the "ergs" 
is discarded.
What would people expect from strtol("100foo", &p, 10)?
I expect 100 to be returned and p to point to "foo", which is what happens.

Reply via email to