C process control: Difference between revisions

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