C program control operations

C program control operations

C program control operations are a group of functions in the standard library of the C programming language implementing basic program control operations.[1][2]

Overview of functions

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

  1. ^ Crawford, Tony; Peter Prinz (December 2005). C in Nutshell. §16.11 - Process Control: O'Reilly. pp. 618. ISBN 0-596-00697-7. 
  2. ^ ISO/IEC 9899:1999 specification. p. 315, § 7.20.4 "Communication with the environment". http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf. 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Program Management — is the process of managing multiple ongoing inter dependent projects. An example would be that of designing, manufacturing and providing support infrastructure for an automobile manufacturer. This requires hundreds, or even thousands, of separate …   Wikipedia

  • Control table — This simple control table directs program flow according to the value of the single input variable. Each table entry holds a possible input value to be tested for equality (implied) and a relevant subroutine to perform in the action column. The… …   Wikipedia

  • Control — 50% of the outstanding votes plus one vote. The New York Times Financial Glossary * * * ▪ I. control con‧trol 1 [kənˈtrəʊl ǁ ˈtroʊl] noun 1. [countable] an action taken to make sure that something does not increase too much: • Devaluations were… …   Financial and business terms

  • control — 50% of the outstanding votes plus one vote. Bloomberg Financial Dictionary 1. For legal purposes, usually owning in excess of 50% of the voting rights of a company or having the right to appoint directors on the company s board with a majority of …   Financial and business terms

  • Program Evaluation and Review Technique — For other uses, see Pert (disambiguation). PERT network chart for a seven month project with five milestones (10 through 50) and six activities (A through F). The Program (or Project) Evaluation and Review Technique, commonly abbreviated PERT, is …   Wikipedia

  • Control flow diagram — Example of a so called performance seeking control flow diagram .[1] A control flow diagram (CFD) is a diagram to describe the control flow of a business process, process or program. Contr …   Wikipedia

  • Control register — A control register is a processor register which changes or controls the general behavior of a CPU or other digital device. Common tasks performed by control registers include interrupt control, switching the addressing mode, paging control, and… …   Wikipedia

  • Control system security — is the prevention of intentional or unintentional interference with the proper operation of industrial automation and control systems. These control systems manage essential services including electricity, petroleum production, water,… …   Wikipedia

  • Operations management — is an area of management concerned with overseeing, designing, and redesigning business operations in the production of goods and/or services. It involves the responsibility of ensuring that business operations are efficient in terms of using as… …   Wikipedia

  • Control logic — is a key part of a software program that controls the operations of the program. The control logic responds to commands from the user, and it also acts on its own to perform automated tasks that have been structured into the program. [1] Model of …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”