delorie.com/djgpp/doc/libc/libc_148.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <signal.h> void __djgpp_traceback_exit(int signo); |
This function is a signal handler which will print a traceback and abort
the program. It is called by default by the DJGPP signal-handling code
when any signal except SIGQUIT
is raised (SIGQUIT
is by
default discarded).
You can use this function to get the Unix behavior of aborting the
program on SIGQUIT
(see the example below).
When this function is called directly, pass the signal number as its signo argument.
ANSI/ISO C | No |
POSIX | No |
signal(SIGQUIT, __djgpp_traceback_exit); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |