some defines I couldnt understand '_IOC_NONE 1U'

david kol. koriandus at googlemail.com
Sat Jun 18 12:00:24 EDT 2011


Hello,

its an unsigned constant. 

david

On Sat, Jun 18, 2011 at 06:39:45PM +0300, Daniel Redway wrote:
> Hello
> 
> I dont understand what means 'U' character. I found this defines in
> asm/ioctl.h file.
> Thanks
> 
> #define _IOC_NONE 1U
> #define _IOC_READ 2U
> #define _IOC_WRITE 4U

> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




More information about the Kernelnewbies mailing list