question regarding SYSCALL macros
mulyadi.santosa at gmail.com
Thu Apr 28 08:25:14 EDT 2011
On Thu, Apr 28, 2011 at 17:16, Sudheer Divakaran
<inbox1.sudheer at gmail.com> wrote:
> 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...
Freelance Linux trainer and consultant
More information about the Kernelnewbies