exit() ...

1999-03-05 Thread j . demessemaeker
I've seen a lot of source code lately. My idea the best way to learn a language ... I've noticed that exit() can take a parameter. I've seen exit(0), exit(1), exit(2) and even exit(10). What does the parameter mean ? I can't find any table with its possible values

Re: exit() ...

1999-03-05 Thread James
On Fri, 5 Mar 1999 [EMAIL PROTECTED] wrote: # I've seen a lot of source code lately. My idea the best way to learn a # language ... # # I've noticed that exit() can take a parameter. I've seen exit(0), exit(1), # exit(2) and even exit(10). What does the parameter mean ? I can't find any # table

RE: exit() ...

1999-03-05 Thread Mullen, Patrick
I've noticed that exit() can take a parameter. I've seen exit(0), exit(1), exit(2) and even exit(10). What does the parameter mean ? I can't find any table with its possible values ... exit() can have any value you want. By convention, exit(0) (same as exit()) means your program

RE: exit() ...

1999-03-05 Thread Mullen, Patrick
Hm. Sure about this, Patrick? Gee. Thanks for the wonderfully informative flame. Your message gives absolutely no indication of what you're questioning, but yes, I am sure that exit(int) returns a value to the calling program. By convention exit() called with a non-zero parameter

Re: exit system call

1998-04-23 Thread Glynn Clements
Lai wrote: i would like to know whether there is any system call that can stop the prosess but not terminate the program. What's the difference? in the function below (part of the ping program)the program will terminate with the exit call but i would like just the current ping process