Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!bywater!arnor!ibm.com!gah From: gah@ibm.com (Gary Hoffman) Newsgroups: comp.lang.c Subject: Re: Error Handling Message-ID: <1990Oct1.164524.1063@arnor.uucp> Date: 1 Oct 90 16:45:24 GMT References: <46.27049C42@rochgte.FIDONET.ORG> Sender: news@arnor.uucp (NNTP News Poster) Reply-To: gah@ibm.com (Gary Hoffman) Organization: IBM T.J. Watson Research Center Lines: 13 This was something I have been building a library for .. ain't portable! I can call a procedure after setting up with my version of setjmp() and then I can hit the button wherever and return to that point. In this way I have centralized error handling. It is handy in that the setup is multi-level. Actually I've been trying to reproduce the function built into another language I use and it has proved difficult. Performance that results from this is very good since the exceptions are infrequent. Nice in that folls user, compiler, and system exceptions into one handler with return codes. -- g