assertions and debuggers

Karl Heuer karl at haddock.ima.isc.com
Sat Sep 22 17:14:57 AEST 1990


In article <18373:Sep2203:32:0790 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
>[assert() calls exit() rather than abort() on a Sun 4]

So it does; how strange.  This violates every standard I've heard of for
assert().

Another nonstandard property of that implementation is that you need <stdio.h>
as well as <assert.h>, which restriction is not mentioned by the man page.

Karl W. Z. Heuer (karl at kelp.ima.isc.com or ima!kelp!karl), The Walking Lint



More information about the Comp.lang.c mailing list