Distinguish between kernel and user space

view full story

http://www.linuxquestions.org – Hi, I have defined a header file for ioctls macros definitions. I am including it in both, my user space application as well as in my device driver. Now there are some macros that I want to be visible only in device drive and some only in user space application. Is there any set of macros defined in linux for such purpose? Thanks in advance Ravi Gupta (HowTos)