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
- Re: Question regarding the array of size 0. Peter Seebach
- Re: Question regarding the array of size 0. John Franklin
- Re: Question regarding the array of size 0. Peter Seebach
- Re: Question regarding the array of size 0. Johan Danielsson
- Re: Question regarding the array of size 0. Julian Elischer
- Re: Question regarding the array of size 0. Todd Whitesel
- Re: Question regarding the array of size 0... Peter Seebach
- Re: Question regarding the array of si... Alfred Perlstein
- Re: Question regarding the array ... Harti Brandt
- Re: Question regarding the ar... Lord Isildur
- Re: Question regarding the ar... John Franklin
- Re: Question regarding the ar... Lord Isildur
- Re: Question regarding the ar... John Franklin
- Re: Question regarding the ar... Benny Prijono
- Re: Question regarding the ar... John Gregor
- Re: Question regarding the ar... Greg A. Woods
- Re: Question regarding the ar... Drew Eckhardt
- Re: Question regarding the ar... Frederick Bruckman
- Re: Question regarding the ar... Peter Seebach
- Re: Question regarding the array ... Peter Seebach
- Re: Question regarding the array of size 0. Johan Danielsson