From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3D34F280.CD984120@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <6333e0a01e113662f55923372089278a@plan9.bell-labs.com> Subject: Re: [9fans] useful language extension, or no? Date: Wed, 17 Jul 2002 08:58:40 +0000 Topicbox-Message-UUID: cf0f4de2-eaca-11e9-9e20-41e7f4b1d025 presotto@plan9.bell-labs.com wrote: > #define sa_len sa_union.sa_generic.sa_len2 A lot of that kind of thing was due to changing an interface to be more general but wanting to avoid having to edit existing code that was written before the data type changed. This kind of thing dates back to 7th Edition Unix time functions, where the &l in the 7th Edition function interface corresponds to 6th Edition's pointer to an array of two ints.