Re: Whats is the operator ##

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

 



Shameem Ahamed wrote:
> Hi Friends,
> 
> I found the below macro definition in include/linux/const.h
> 
> #define _AC(X,Y) (X##Y)
> 
> 
> What exactly this means, as far as i know there is no operator by the symbol ##
> 
> Can anyone please help me ?.

it's only use in #define 
"##" means connect two string.

_AC(GPIO,1) == GPIO1 

if I am wrong. correct me. 


> 
> Regards,
> Shameem
> 
> 
> 
>       
> 
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
> 


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux