Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix,net.lang.c Subject: Re: Portablity using structures and malloc - Help Message-ID: <907@umcp-cs.UUCP> Date: Fri, 19-Jul-85 03:39:05 EDT Article-I.D.: umcp-cs.907 Posted: Fri Jul 19 03:39:05 1985 Date-Received: Sat, 20-Jul-85 12:33:32 EDT References: <81@drux1.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 10 Xref: watmath net.unix:5085 net.lang.c:5679 The answer is simple: malloc has been written by someone who knows the hardware alignment constraints of the machine, and it returns a pointer that is aligned for *any* use. (If malloc has been written by someone who does NOT know the hardware alignment constraints, complain.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland