Xref: news2.mv.net comp.os.msdos.djgpp:4382 From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: libm Date: Wed, 29 May 1996 15:56:10 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 24 Message-ID: <31AC658A.41C6@LSTM.Ruhr-UNI-Bochum.De> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In order to check libm for bugs, I got somhow stuck in the jungle of signal(SIGFPE,my_handler) and matherr(). According to my (pretty old) C docs, matherr() is an ANSI function, that can be redeclared in my own program. With TC2.0 this works quite OK, djgpp and AIX cc do not handle that. So, how can I find out from the signal handler which function caused the the signal with which args? -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************