The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: exit(0) versus exit(1)
JNRCORPS
Newbie
Rank: 1



UID 207
Digest Posts 0
Credits 0
Posts 35
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 20, 2007 10:33 AM  Profile | P.M. 
exit(0) versus exit(1)



exit(0) versus exit(1)



what is the difference between using exit(0) and exit(1) to exit a program? which should i use?


Top
karan265
Newbie
Rank: 1



UID 214
Digest Posts 0
Credits 0
Posts 78
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 20, 2007 10:33 AM  Profile | P.M. 
thanks for the tips.
Top
 

 

All times are GMT, the time now is Mar 13, 2010 01:25 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.005181 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP