[uClibc]RE: Could someone provide a complete function list for uClibC
Chen Qi-A18263
A18263 at motorola.com
Thu Jan 23 13:29:04 UTC 2003
Hi, Erik:
Here I have build uClibc 0.9.15,
with "nm", I find that every symbol in libc.a is start with "_", or "__".
Is this version 0.9.15 souce code feature? or if it is cause by compiler problem?
Thanks and Best Regards.
ChenQi(v)
-----Original Message-----
From: Erik Andersen [mailto:andersen at codepoet.org]
Sent: Tuesday, January 21, 2003 12:05 PM
To: Chen Qi-A18263
Cc: uclibc at uclibc.org
Subject: Re: Could someone provide a complete function list for uClibC
On Tue Jan 21, 2003 at 11:55:39AM +0800, Chen Qi-A18263 wrote:
> Hi, Erik:
> Thanks for you help.
> some further questions bases on you list:
> 1. There are some functions in the list, such as "svc_exit", "xdr_union", but I can not find them in the glibc man page, nor can I found them in SUS ver. 3.
> So what's the meaning of these functions? do I need to add them in the to-be-test list for uClibc?
Generally, entering the unknown funtion into "google" will turn
up results rather quickly.
> 2. There are some function that defined as "mandatory" for various standards/implementation such as "wait", but not show in the list, instead it has "wait3", "wait4" "__libc_wait"... , So I just ignore all of them?
In this case, uClibc has a weak symbol "wait" that by default
points to __libc_wait, but can be overridden (for example by
the pthreads library). So I suppose you should also add the weak
symbols to your list (nm shows them as type "W").
> 3. if the function start with "_" "__" will eventually be removed from later version of libC? then I will just ignore them.
Things that start with "_" and "__" and are internal use only
symbols, so you can safely ignore them.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list