R
Ramprasad A Padmanabhan
If I have defined my main function as int
Then does it make a difference I end main by return(0) or exit(0)
Because I noticed that When My cgi program ended with exit(0) the
program ended immediately else It would take
long to exit long after return(0) was called
Can anyone explain why this happens
( I am using apache on linux redhat 7.2)
Thanks
Ram
ram at netcore.co.in
Then does it make a difference I end main by return(0) or exit(0)
Because I noticed that When My cgi program ended with exit(0) the
program ended immediately else It would take
long to exit long after return(0) was called
Can anyone explain why this happens
( I am using apache on linux redhat 7.2)
Thanks
Ram
ram at netcore.co.in