use of EXPORT_SYMBOL()
mpcadel at gmail.com
Tue Jan 29 02:58:23 EST 2013
On Tue, Jan 29, 2013 at 9:52 AM, Mulyadi Santosa
<mulyadi.santosa at gmail.com>wrote:
> 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++.
> Mulyadi Santosa
> Freelance Linux trainer and consultant
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
And you're allowed to use it in Kernel modules too? I mean I can expose a
function in a kernel module that I am building by using EXPORT_SYMBOL?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies