Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: best way to return (char *) Message-ID: <10447@smoke.BRL.MIL> Date: 25 Jun 89 04:19:12 GMT References: <1989Jun23.170749.23253@utzoo.uucp> <10345@claris.com> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <10345@claris.com> kevin@claris.com (Kevin Watts) writes: > char buffer[20]; > *(int *) buffer = 20; Of course, this fails on a word-oriented architecture when the buffer happens not to be properly aligned.