Interesting C question

From: Brian Chase <vaxzilla_at_jarai.org>
Date: Thu Feb 7 09:19:36 2002

On Wed, 6 Feb 2002, Tothwolf wrote:
> On Wed, 6 Feb 2002, Jim Battle wrote:

> > My favorite bogus fill value/return code (because it is obvious, not
> > because it traps if executed) is 0xDEADBEEF.
>
> One I've often used is 0xDEADF00D, same meaning I suppose :)

I've heard the 0xDEADBEEF pretty commonly to initialize empty memory.

The NeXT black hardware binaries used 0xFEEDFACE as their magic number,
and I think the fat binaries (or maybe it was the Intel?) used 0xCAFEBABE.

-brian.
Received on Thu Feb 07 2002 - 09:19:36 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:34:45 BST