Re: question regarding SYSCALL macros

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

 



Hi :)

On Thu, Apr 28, 2011 at 17:16, Sudheer Divakaran
<inbox1.sudheer@xxxxxxxxx> wrote:
> [Question]
> Note the comma between the variable types and names in the original
> definition  (e.g., "struct timeval __user *, tv" instead of "struct
> timeval __user *tv").
>
> What is is the reason behind separating variable types and variable
> names using 'comma' and latter removing the comma character using
> _SC_DECLx macros?

IMHO, that is done for separating type declaration and the variable
name itself. In other word, modularity...


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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