About Share library !

wjyasd wjy21cn@21cn.com
Mon Jan 7 00:54:00 GMT 2002


hi.

I have a question that worring me a long me .I want to  conversion newlib into share library.

I have success some of those,Such as  functions in string.h and ctype.h.

But when I conversion the function  atoi,atof,atol,strtol,strtoul…… Mistake happened.

the result is wrong ,I didn't know the cause of error.

example :

  char op1[10]="1234";
  int result;

  result = atoi(op1);  // result is 0 or 2147483647(0x7fffffff)


thanks you!

JinYu  Wu



More information about the Newlib mailing list