tobold.org

correct • elegant • free

△ Comp.lang.c △

◅ Memory reallocators

What is the reason so many coders don't check return values ? ▻

Book Suggestion

In article <893ogr$vm7$1@nnrp1.deja.com>,  <rawcswi@my-deja.com> wrote:
>But this is also wrong in that assert must be given an integer, not
>a pointer; i.e., assert(x != NULL).

Show me an assert macro which can tell the difference.

Tim.
--
Tim Goodwin   | "If you don't know what closures are, you probably don't
Leicester, UK | want to know what closures are." -- Larry Wall

Original headers:

From: tjg@star.le.ac.uk (Tim Goodwin)
Newsgroups: comp.lang.c
Subject: Re: Book Suggestion
Date: 25 Feb 2000 11:16:02 -0000
Message-ID: <895oa8$2v0$1@ltpcg.star.le.ac.uk>
References: <88nins$j6l$1@nnrp1.deja.com> <891gqv$5a7$1@newsg2.svr.pol.co.uk>
  <893k04$1eq$1@ltpcg.star.le.ac.uk> <893ogr$vm7$1@nnrp1.deja.com>

△ Comp.lang.c △

◅ Memory reallocators

What is the reason so many coders don't check return values ? ▻