22.2 Environment
Implementation-Defined Behavior for Environment is covered in section G.3.2 of the ANSI C Standard.
What library facilities are available to a freestanding program? (ISO 5.1.2.1)
All of the facilities of the standard C library are available, provided that a small set of functions is customized for the environment, as described in the “Run Time Libraries” section.
Describe program termination in a freestanding environment. (ISO 5.1.2.1)
If the function main returns or the function exit is called, a
HALT
instruction is executed in an infinite loop. This behavior is
customizable.
Describe the arguments (parameters) passed to the function
main
? (ISO 5.1.2.2.1)
No parameters are passed to main
.
Which of the following is a valid interactive device: (ISO 5.1.2.3)
Asynchronous terminal No
Paired display and keyboard No
Inter program connection No
Other, please describe? None