Interesting C question

From: John Chris Wren <jcwren_at_jcwren.com>
Date: Thu Feb 7 10:45:26 2002

> --- Tothwolf <tothwolf_at_concentric.net> 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 :)
>
> 0xFEEDFACE 0xDEADBEEF
>
> -ethan

I use 0xDEADBEEF and 0xBEEFCAFE all the time. I once ran across 0xDEADBABE,
and promptly replaced that, lest a customer decide to browse the source.
Just a little too morbid. Another personal favorite is 0xe5e5e5e5 (which,
as the truly geek will remember, 0xe5 indicated a deleted file in the CP/M
directory entry).
Received on Thu Feb 07 2002 - 10:45:26 GMT

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