lkml.org 
[lkml]   [1999]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Binary drivers
Andi Kleen wrote:
> C99 has a similar extension, unfortunately incompatible ( .field = instead of
> field: ). I guess adopting the gcc syntax that was in the field for years
> would have been too easy.

From the gcc-info pages (C Extensions/Labeled Elements):

Another syntax which has the same meaning is `.FIELDNAME ='., as
shown here:

struct point p = { .y = yvalue, .x = xvalue };

(I'm using egcs-2.91.66)

--
I don't like Unix. I once administered such
a box but was fired just because it crashed.
-- NT administrator

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.055 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site