This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
About Share library !
- From: wjyasd <wjy21cn at 21cn dot com>
- To: newlib at sources dot redhat dot com <newlib at sources dot redhat dot com>
- Date: Fri, 4 Jan 2002 16:56:49 +0800
- Subject: About Share library !
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