Content deleted Content added
|
|
==Overview of functions==
The program control functions are defined in the <ttcode>stdlib.h</ttcode> header (<ttcode>cstdlib</ttcode> header in C++).
; Terminating a program
*<ttcode>{{man|sh|abort|SUS||inline}}</ttcode> - causes abnormal program termination (without cleaning up)
*<ttcode>{{man|sh|exit|SUS||inline}}</ttcode> - causes normal program termination with cleaning up
*<ttcode>{{man|sh|_Exit|SUS||inline}}</ttcode> - causes normal program termination without cleaning up
*<ttcode>{{man|sh|atexit|SUS||inline}}</ttcode> - registers a function to be called on exit() invocation
; Communicating with the environment
*<ttcode>{{man|sh|getenv|SUS||inline}}</ttcode> - accesses the list of the environment variables
*<ttcode>{{man|sh|system|SUS||inline}}</ttcode> - calls the host environment's command processor
==References==
|