From: Stephen Shirley (diamond at domain csn.ul.ie)
Date: Wed 10 May 2000 - 18:31:12 IST
On Wed, 10 May 2000, Paul Jakma wrote:
>
> the : operator, right? don't remember exactly how it works, but something
> like:
>
> struct foo {
> int var : 0;
> char bar : NULL;
> } foobar;
>
> it used in a few places in the linux source.
>
AFAIK the : operator limits
the number of bits the variable
can hold -
int steve : 4;
steve can store an value up to 16 etc.
Steve
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:06 GMT