On Fri, Mar 30, 2001 at 09:54:20AM -0500, Lord Isildur wrote:
> which all begs the question... what is the point of an array of size 
> zero? it's just memory. you want a name that youre not spending any space 
> on storing? cook up a macro or something..

You can then read in a block of memory from a file or socket, cast the
buffer to that data type and have the header and data all accessable 
via the same structure while leaving the sizeof(struct foo) equal
to the header's size.

jf
-- 
John Franklin
[EMAIL PROTECTED]
ICBM: N37 12'54", W80 27'14" Z+2100'

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to