Does localtime_r(...) use pthread library (LinuxThreads or NPTL)?

Mike Frysinger vapier@gentoo.org
Sat Aug 19 14:53:00 GMT 2006


On Tuesday 15 August 2006 06:55, Bo Xie wrote:
> But I don't know what "weak_alias
> (__localtime_r, localtime_r)" means.

read the include/libc-symbols.h file ... then read about weak symbols in ELF

basically it means when you call localtime_r(), you really call 
__localtime_r()
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060819/35f814f5/attachment.sig>


More information about the Libc-alpha mailing list