[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Help please!!



On Mon, Mar 13, 2000 at 07:52:11PM +0530, Binand Raj S. wrote:
> Consider the following:
> 
> int main (void) {
>    exit (3);
>    return 100;
> }
> 
> Do you mean to say that this program will fetch me a return value of 100? I
> doubt it.

It will return 3, because return 100 never gets executed. The process
terminates after exit(3).

BTW, the exit(3) I mentioned in my earlier mail is exit in man page section
3. 

	-Arun