Re: A question about a MACRO,EXPORT_SYMBOL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cheng long wrote:

> 1 #define EXPORT_SYMBOL(sym) \
> 2 static const char __kstrtabe_##sym[]=#sym; \
> 3 static const struct kernel_symbol_ksymtab_##sym \
> 4 = { (unsigned long)&sym, __kstrtab_##sym }
> 
> My questions are:
> 1.   What's the "#" mean in line 2?

http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Stringification.html

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux