home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!world!ksr!jfw
- From: jfw@ksr.com (John F. Woods)
- Newsgroups: comp.lang.c
- Subject: Re: has anybody heard of 'onexit' ?
- Message-ID: <19167@ksr.com>
- Date: 23 Nov 92 10:56:59 EST
- References: <1epdlsINNkrm@bigboote.WPI.EDU>
- Sender: news@ksr.com
- Lines: 12
-
- llew@bigwpi.WPI.EDU (Lok C. Lew Yan Voon) writes:
- >now i decided to convert all the prog into C by using f2c.
- >when i tried to compile everything, the linker complains:
- > Undefined:
- > onexit
- >does anyone know what's going on?
- >(i've no knowledge of C beyond chp one of K&R!)
-
- This is not a standard C function; probably it is part of the FORTRAN support
- that f2c assumes is present. Presumably it has similar functionality to
- atexit() (which was standardized in ANSI C), but it's hard to tell without
- seeing the source in question.
-