__libc_xxx functions: what are they?

2008-12-08 Thread Denys Vlasenko
Hi, We have the following aliases witj __libc prefix: # grep -rh $'[ \t]__libc_[a-z_0-9]*;$' . | sort | uniq | grep __typeof extern __typeof(accept) __libc_accept; extern __typeof(close) __libc_close; extern __typeof(connect) __libc_connect; extern __typeof(creat) __libc_creat; extern __typeof(cr

Re: __libc_xxx functions: what are they?

2008-12-08 Thread Carmelo Amoroso
Denys Vlasenko wrote: > Hi, > > We have the following aliases witj __libc prefix: > > # grep -rh $'[ \t]__libc_[a-z_0-9]*;$' . | sort | uniq | grep __typeof > extern __typeof(accept) __libc_accept; > extern __typeof(close) __libc_close; > extern __typeof(connect) __libc_connect; > extern __typeof

Re: __libc_xxx functions: what are they?

2008-12-09 Thread Bernhard Reutner-Fischer
On Tue, Dec 09, 2008 at 08:37:50AM +0100, Carmelo Amoroso wrote: >Denys Vlasenko wrote: >> Hi, >> >> We have the following aliases witj __libc prefix: >> >> # grep -rh $'[ \t]__libc_[a-z_0-9]*;$' . | sort | uniq | grep __typeof >> I do not see any explanation what are these? >> >> I do see that

Re: __libc_xxx functions: what are they?

2008-12-10 Thread Denys Vlasenko
On Tuesday 09 December 2008 10:01, Bernhard Reutner-Fischer wrote: > >> I do not see any explanation what are these? > >> > >> I do see that some of them are used from libpthread, but > >> many are not (__libc_accept, __libc_getdomainname...). > >> > >> One purpose I might imagine if to make sure