Hi Stephane,
return in C simply returns from the current subroutine, just like
return in Perl.
I think you're refering to using return in the main() subroutine which
sends a result code to the process's parent and terminates the C prog.
In this case, you would need to use:
exit 0;
Gary
On Thursday 03 May 2001 10:41 am, Stéphane JEAN BAPTISTE wrote:
> > What's the equivalent command for "return 0" in C/C++.
> This command allow you to stop your program immediately.
>
> tks
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000