From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8e27e4a84db160957c8fbd111c178e0d@plan9.bell-labs.com> Date: Fri, 22 Oct 2004 13:29:25 -0400 From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] am I nuts? does 8c support packed structs? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: f41fed5a-eacd-11e9-9e20-41e7f4b1d025 On Fri Oct 22 13:21:11 EDT 2004, rminnich@lanl.gov wrote: > ... > "How do you create TCP headers without packed structs?" is one question I > got. I guess Plan 9 is quite possibly the "here's how" except of course > everyone did this before packed structs (or even gcc, or even before C > compilers that aligned structs and struct members for that matter -- was > there a C compiler before gcc? one wonders. The mind boggles). > > Unless there's another 8c pragma I have not heard of, I'll stuck to > marshalling data by hand. > > ron Next you'll tell me they use bitfields in packed structs.