C process control: Difference between revisions

Content deleted Content added
Cydebot (talk | contribs)
m Robot - Speedily moving category C Standard Library to Category:C standard library per CFDS.
Overview of functions: point to a C reference
Line 15:
|-
! rowspan=4 | Terminating <br>a program
| {{anchor|abort}}<code>[http://en.cppreference.com/w/cpp/utilityc/program/abort abort]</code>
| causes abnormal program termination (without cleaning up)
|-
| {{anchor|exit}}<code>[http://en.cppreference.com/w/cpp/utilityc/program/exit exit]</code>
| causes normal program termination with cleaning up
|-
| {{anchor|_Exit}}<code>[http://en.cppreference.com/w/cpp/utilityc/program/_Exit _Exit]</code>
| causes normal program termination without cleaning up ([[C99]])
|-
| {{anchor|atexit}}<code>[http://en.cppreference.com/w/cpp/utilityc/program/atexit atexit]</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/cpp/utilityc/program/getenv getenv]</code>
| accesses the list of the environment variables
|-
| {{anchor|system}}<code>[http://en.cppreference.com/w/cpp/utilityc/program/system system]</code>
| calls the host environment's command processor
|}