Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 10:02:56 -0600
From:      seebs@plethora.net (Peter Seebach)
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Todd Whitesel <toddpw@best.com>, tech-kern@netbsd.org, freebsd-hackers@freebsd.org
Subject:   Re: Question regarding the array of size 0. 
Message-ID:  <200103301602.f2UG2vK00500@guild.plethora.net>
In-Reply-To: Your message of "Thu, 29 Mar 2001 23:50:25 PST." <20010329235022.W9431@fw.wintelcom.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010329235022.W9431@fw.wintelcom.net>, Alfred Perlstein writes:
>* Peter Seebach <seebs@plethora.net> [010329 23:49] wrote:
>> The only portable solution is the new feature in C99.

>Which new feature?

C99 allows the last member of a struct to be declared as an array with no
size; this implies an object which will act like an array, but which isn't
directly bounds-checked.

-s

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103301602.f2UG2vK00500>