kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* some defines I couldnt understand '_IOC_NONE 1U'
@ 2011-06-18 15:39 Daniel Redway
  2011-06-18 16:00 ` david kol.
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Redway @ 2011-06-18 15:39 UTC (permalink / raw)
  To: kernelnewbies

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110618/4c8b9ead/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* some defines I couldnt understand '_IOC_NONE 1U'
  2011-06-18 15:39 some defines I couldnt understand '_IOC_NONE 1U' Daniel Redway
@ 2011-06-18 16:00 ` david kol.
  0 siblings, 0 replies; 2+ messages in thread
From: david kol. @ 2011-06-18 16:00 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-18 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-18 15:39 some defines I couldnt understand '_IOC_NONE 1U' Daniel Redway
2011-06-18 16:00 ` david kol.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).