On Tue, Jan 29, 2013 at 9:52 AM, Mulyadi Santosa <mulyadi.sant...@gmail.com>wrote:
> On Tue, Jan 29, 2013 at 3:13 AM, horseriver <horseriv...@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 > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > 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?
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies