Index:
[thread]
[date]
[subject]
[author]
From: Steve Cheng <elmert@ipoline.com>
To : ggi-develop@eskimo.com
Date: Tue, 13 Jul 1999 11:03:44 -0400 (EDT)
Re: hacking methods to find out bugs
On Tue, 13 Jul 1999, Christoph Egger wrote:
> > void crash( int sig ) {
> > fprintf( stderr, "SIGSEGV received\n" );
I just thought of this: C library functions are NOT guaranteed to be
reentrant, and according to ANSI C signal() is the only library function
that you may call in a signal handler.
You can get away with it with GNU libc or even most Unix libcs, but it's
just something to be aware of in portable code.
--
Steve Cheng
email: steve@ggi-project.org
www: <http://shell.ipoline.com/~elmert/>
Index:
[thread]
[date]
[subject]
[author]