The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
exiting from script arghya_owen Shell Programming and Scripting 1 06-02-2008 06:36 AM
Else Loop Exiting Early GregWold Shell Programming and Scripting 8 03-20-2008 02:29 PM
SFTP not exiting when run from cron msabhilash SUN Solaris 2 12-02-2007 07:48 PM
Script Not Exiting??? lesstjm Shell Programming and Scripting 1 07-11-2007 11:58 AM
*Out of memory, exiting big123456 Shell Programming and Scripting 1 08-22-2005 05:26 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-17-2002
ruffenator ruffenator is offline
Registered User
  
 

Join Date: Jan 2002
Location: uk
Posts: 23
exiting in c

how can i exit in a c program i have tried
system ("exit");

but this doesnt seem to work
just wondered if you could help.
  #2 (permalink)  
Old 04-17-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
exit(0);
  #3 (permalink)  
Old 04-17-2002
ruffenator ruffenator is offline
Registered User
  
 

Join Date: Jan 2002
Location: uk
Posts: 23
thanks

thanks alot
  #4 (permalink)  
Old 04-28-2002
manish manish is offline
Registered User
  
 

Join Date: Apr 2002
Posts: 13
return; may also suffice; (if its main(), then you needn't give 0 after return)
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0