2002-10-31 15:34:14

by Bloch, Jack

[permalink] [raw]
Subject:

I am looking at some sample driver code which shows the usage of some
unsigned integers 1UL, 2UL, 4UL, 16UL, 64UL, 128UL and 256UL. I need to
know what these are defined as. Please excuse my ignorance.

Please CC me directly on any responses.

Jack Bloch
Siemens ICN
phone (561) 923-6550
e-mail [email protected]


2002-10-31 17:55:53

by Tom Bradley

[permalink] [raw]
Subject: Re: your mail

They are just regular values. The UL tells the compiler to format the
number as an unsgned long.


On Thu, 31 Oct 2002, Bloch, Jack wrote:

> I am looking at some sample driver code which shows the usage of some
> unsigned integers 1UL, 2UL, 4UL, 16UL, 64UL, 128UL and 256UL. I need to
> know what these are defined as. Please excuse my ignorance.
>
> Please CC me directly on any responses.
>
> Jack Bloch
> Siemens ICN
> phone (561) 923-6550
> e-mail [email protected]
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>