Subject: Re: in-kernel workaround for PR 14746
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Todd Vierling <>
List: tech-net
Date: 12/03/2001 08:41:00
On Sun, 2 Dec 2001, der Mouse wrote:

: Is struct assignment even _supposed_ to work?

AFAIK, it's part of C90, and perhaps earlier standards.  Struct assignment
is used (implicitly) in div(3) and ldiv(3); the respective return values are
typedefs to structs.

However, I believe it is constrained to both the source and destination
being valid structs (where a misaligned block of memory may not be a valid

-- Todd Vierling <>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --