Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!buddy.Berkeley.EDU!c60b-bu From: c60b-bu@buddy.Berkeley.EDU (Scott Drellishak) Newsgroups: comp.sys.ibm.pc Subject: Turbo C question Summary: Problems with exit, _exit Keywords: weird errors Message-ID: <13663@pasteur.Berkeley.EDU> Date: 12 May 89 07:12:11 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: c60b-bu@buddy.Berkeley.EDU.UUCP (Scott Drellishak) Followup-To: comp.sys.ibm.pc Distribution: usa Organization: University of California, Berkeley Lines: 9 I'm having a problem with Turbo C, version 2.0. When I use the exit() func- tion to get out of a program (or the _exit() function), it usually works, but sometimes it spits out some garbage characters before it does so, and sometimes it locks up solid. On one occasion, the machine rebooted itself(!). Has anyone had similar problems, or am I just doing something really wrong. exit(1) is the actual command I'm using. Scott D