Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!ig!agate!ucbvax!hplabs!pyramid!infmx!greggy From: greggy@infmx.UUCP (greg yachuk) Newsgroups: comp.lang.c Subject: Re: Any way to catch exit()? Message-ID: <388@infmx.UUCP> Date: 29 Aug 88 19:57:43 GMT References: <8808261432.AA11635@ucbvax.Berkeley.EDU> Reply-To: greggy@infmx.UUCP (greg yachuk) Organization: Informix, Menlo Park, Ca. U.S.A. Lines: 10 Microsoft C defines a function `onexit()' which takes the address of a function that is to be executed when the program terminates normally. Up to 32 functions may be specified, which are executed in a LIFO manner. The functions may not take any parameters. The MSC 5.0 manual also states that there is a similar ANSI-standard functions named `atexit()'. I don't know anything about it. Greg Yachuk Informix Software Inc., Menlo Park, CA (415) 322-4100 {uunet,pyramid}!infmx!greggy why yes, I DID choose that login myself