C process control: Difference between revisions

Content deleted Content added
Zehdeh (talk | contribs)
Overview of functions: using the much more better wikipedia internal links SUS
Undid revision 489248676 by Zehdeh (talk) SUS is not the same as C; see your talk
Line 15:
|-
! rowspan=4 | Terminating <br>a program
| {{anchor|abort}}<code>{{man|sh|[http://en.cppreference.com/w/c/program/abort|SUS||inline}} abort]</code>
| causes abnormal program termination (without cleaning up)
|-
| {{anchor|exit}}<code>{{man|sh|[http://en.cppreference.com/w/c/program/exit|SUS||inline}} exit]</code>
| causes normal program termination with cleaning up
|-
| {{anchor|_Exit}}<code>{{man|sh|[http://en.cppreference.com/w/c/program/_Exit|SUS||inline}} _Exit]</code>
| causes normal program termination without cleaning up ([[C99]])
|-
| {{anchor|atexit}}<code>{{man|sh|[http://en.cppreference.com/w/c/program/atexit|SUS||inline}} atexit]</code>
| registers a function to be called on exit() invocation
|-
! rowspan=2 | Communicating with<br>the environment
| {{anchor|getenv}}<code>{{man|sh|[http://en.cppreference.com/w/c/program/getenv|SUS||inline}} getenv]</code>
| accesses the list of the environment variables
|-
| {{anchor|system}}<code>{{man|sh|[http://en.cppreference.com/w/c/program/system|SUS||inline}} system]</code>
| calls the host environment's command processor
|}