This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libc_hidden_* for public functions


On 10/04/2017 04:21 PM, Ilya Skapenko wrote:
> Hello!
> Please, help me to understand, why and when do you use macroses like
> libc_hidden_(proto, def)?
> As I understood, you use them, when using this symbol by library itself.
> But you could do it without these macroses, what's the purpose of them?
> What for do they create __GI_*function_name* alias for function?
 
https://sourceware.org/glibc/wiki/Style_and_Conventions#Double-underscore_names_for_public_API_functions

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]