Talk:Exit (system call)

Missing
This article still needs a few things:


 * Back-links from other related articles. I've added back-links to most of the articles referenced in this article.


 * A short clean example, similar to that in the fork article.


 * Mention of operating systems that do not allow a process to specify an exit status.


 * Discussion of how systems other than Unix/DOS/MacOS (e.g., embedded systems) handle program termination.

- Loadmaster 16:43, 18 August 2006 (UTC)

not OS
This article needs to be renamed, as exit is a (operating)system call, not an operating system. Ren  ✉  01:20, 14 June 2009 (UTC)


 * Then the title for Fork (operating system) should also be changed for consistency. — Loadmaster (talk) 14:38, 14 September 2010 (UTC)

problem with Pascal example
The example code for Pascal does not compile as written (at least not with, nor any other compliant compiler). The syntax for using  to exit the main program back to the OS is specifically different. Perhaps the best documentation for the proper use can be found in the Free Pascal docs or in the Irie Pascal docs. I recommend the code in the Pascal example be changed to

-Jiminy pop (talk) 18:09, 11 September 2019 (UTC)

add a Fortran example
I recommend the following example be added:

With these columns, it is technically Fortran 90, although the syntax would otherwise be the same for Fortran 77. I recommend simply labelling it "Fortran."

-Jiminy pop (talk) 00:48, 13 September 2019 (UTC)