Content deleted Content added
→Overview of functions: some linebreaks |
Shorten Short description per WP:SDSHORT |
||
(21 intermediate revisions by 18 users not shown) | |||
Line 1:
{{Short description|Functions of the C standard software library}}
{{C Standard Library}}
'''C process control''' refers to a group of functions in the [[C standard library|standard library]] of the [[C programming language]] implementing basic process control operations.<ref>{{cite book|last=Crawford|first=Tony|
==Overview of functions==
Line 12 ⟶ 14:
! Description
|-
! rowspan=
| {{anchor|abort}}<code>[http://en.cppreference.com/w/
| causes abnormal program termination (without cleaning up)
|-
| {{anchor|exit}}<code>[http://en.cppreference.com/w/
| causes normal program termination with cleaning up
|-
| {{anchor|_Exit}}<code>[http://en.cppreference.com/w/
| causes normal program termination without cleaning up ([[C99]])
|-
| {{anchor|atexit}}<code>[http://en.cppreference.com/w/
| registers a function to be called on exit() invocation
|-
| {{anchor|quick_exit}}<code>[http://en.cppreference.com/w/c/program/quick_exit quick_exit]</code>
| causes normal program termination without cleaning up, but with IO buffers flushed ([[C11 (C standard revision)|C11]])
|-
| {{anchor|quick_exit}}<code>[http://en.cppreference.com/w/c/program/at_quick_exit at_quick_exit]</code>
| registers a function to be called on quick_exit() invocation
|-
! rowspan=2 | Communicating with<br>the environment
| {{anchor|getenv}}<code>[http://en.cppreference.com/w/
| accesses the list of the environment variables
|-
| {{anchor|system}}<code>[http://en.cppreference.com/w/
| calls the host environment's command processor
|}
Line 37 ⟶ 45:
==External links==
{{wikibooks
{{clear}}
[[Category:C Standard Library]]▼
▲{{use dmy dates|January 2012}}
|