use of EXPORT_SYMBOL()

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue Jan 29 02:52:32 EST 2013


On Tue, Jan 29, 2013 at 3:13 AM, horseriver <horserivers at gmail.com> wrote:
> hi:)
>
>    In kernel code ,what is the use of EXPORT_SYMBOL()?
>    Does it export a function to user application ,
>    so this function can be used in user application ?

So it can be used by kernel modules.

Think of it like "public" keyword in C++.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list