I'm having a problem with strtoul(), it only 
returns zero which indicates an error.

Code example:
void foooo(void)
{
unsigned long int i;

i = (unsigned long int)strtoul("70000", NULL, 10); 
sprintf(debugBuffer,"%ld,%ld,%ld,%ld\r\n",
i,
atol("80000"),
strtoul("8000", NULL, 10),
strtoul("88000", NULL, 10)); 
return (0);
} 

debugBuffer = "0,0,0,858980352<cr><lf>"


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Reply via email to