![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| exiting from script | arghya_owen | Shell Programming and Scripting | 1 | 06-02-2008 03:36 AM |
| Else Loop Exiting Early | GregWold | Shell Programming and Scripting | 8 | 03-20-2008 11:29 AM |
| SFTP not exiting when run from cron | msabhilash | SUN Solaris | 2 | 12-02-2007 04:48 PM |
| Script Not Exiting??? | lesstjm | Shell Programming and Scripting | 1 | 07-11-2007 08:58 AM |
| *Out of memory, exiting | big123456 | Shell Programming and Scripting | 1 | 08-22-2005 02:26 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
exit(0);
|
|
#3
|
|||
|
|||
|
thanks
thanks alot
|
|
#4
|
|||
|
|||
|
return; may also suffice; (if its main(), then you needn't give 0 after return)
|
|||
| Google The UNIX and Linux Forums |