Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 1995 13:49:02 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        pst@shockwave.com (Paul Traina)
Cc:        wollman@lcs.mit.edu, terry@lambert.org, ache@astral.msk.su, Kai.Vorma@hut.fi, current@freebsd.org
Subject:   Re: tail dumps core
Message-ID:  <199510102049.NAA11050@phaeton.artisoft.com>
In-Reply-To: <199510101945.MAA02622@precipice.shockwave.com> from "Paul Traina" at Oct 10, 95 12:45:13 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>   From: "Garrett A. Wollman" <wollman@lcs.mit.edu>
>   Subject: Re: tail dumps core
> 
> 
>   	memset(&i, 0, sizeof i);
>   	if (i == 0) {
>   		printf("your machine is normal\n");
>   	} else {
>   		printf("your machine is really weird, but allowed by the"
>   		       " C standard\n");
>   	}
> 
> 
> How could this possibly be allowed by the C standard?  I'm utterly
> confused.

A non-two's complement machine?

I defy you to purchase one, however.  8-).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510102049.NAA11050>