5.1.2 Execution environments

Previous Table of Contents "New C Standard" commentary

149 Two execution environments are defined: freestanding and hosted.

150 In both cases, program startup occurs when a designated C function is called by the execution environment.

151 All objects with static storage duration shall be initialized (set to their initial values) before program startup.

152 The manner and timing of such initialization are otherwise unspecified.

153 Program termination returns control to the execution environment.

154 Forward references: storage durations of objects (6.2.4), initialization (6.7.8).

Next

Created at: 2008-01-30 02:39:39 The text from WG14/N1256 is copyright © ISO