question regarding SYSCALL macros

Mulyadi Santosa mulyadi.santosa at
Thu Apr 28 08:25:14 EDT 2011

Hi :)

On Thu, Apr 28, 2011 at 17:16, Sudheer Divakaran
<inbox1.sudheer at> 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...


Mulyadi Santosa
Freelance Linux trainer and consultant


More information about the Kernelnewbies mailing list