Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mimsy!oddjob!gargoyle!ihnp4!inuxc!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.sys.ibm.pc Subject: How do you make Turbo C not load extra stuff? Message-ID: <952@bsu-cs.UUCP> Date: Mon, 10-Aug-87 15:36:12 EDT Article-I.D.: bsu-cs.952 Posted: Mon Aug 10 15:36:12 1987 Date-Received: Tue, 11-Aug-87 06:23:49 EDT Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 9 Summary: Trying to eliminate atexit() and _atexittab from code Programs compiled with Borland's Turbo C that use standard I/O seem to always include the atexit() function, and also _atexittab, which is presumably a table of function pointers used by atexit(). How does one suppress the loading of these? I've tried eliminating all calls to exit(), even edited out the call to it from the start-up code, yet atexit() and _atexittab are is there. -- Rahul Dhesi UUCP: {ihnp4,seismo}!{iuvax,pur-ee}!bsu-cs!dhesi