firstname.lastname@example.org (Alan Cox) writes:
> I havent submitted that to Linus. As someone pointed out the guarantee is
> not true for a struct either..
Quote from ISO/IEC 9899:1999, section 6.2.5:
| -- A structure type describes a sequentially allocated
| nonempty set of member objects (and, in certain
| circumstances, an incomplete array), each of which has
| an optionally specified name and possibly distinct
And in section 220.127.116.11:
| [#5] As discussed in 6.2.5, a structure is a type consisting
| of a sequence of members, whose storage is allocated in an
| ordered sequence, and a union is a type consisting of a
| sequence of members whose storage overlap.
C is horrible, but it's not THAT horrible.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:06 EST