Stdlib.h
Appearance
C standard library (libc) |
---|
General topics |
Miscellaneous headers |
C program control operations are a group of functions in the standard library of the C programming language implementing basic program control operations.[1]
Function overview
The program control functions are defined in the stdlib.h header (cstdlib header in C++).
- Terminating a program
- abort - causes abnormal program termination (without cleaning up)
- exit - causes normal program termination with cleaning up
- _Exit - causes normal program termination without cleaning up
- atexit - registers a function to be called on exit() invocation
- Communicating with the environment
- getenv - accesses the list of the environment variables
- system - calls the host environment's command processor
References
- ^ ISO/IEC 9899:1999 specification (PDF). p. 315, § 7.20.4 "Communication with the environment".
External links
The Wikibook C Programming has a page on the topic of: C Programming/C Reference