24.3 Environment

ISO Standard:“The name and type of the function called at program start-up in a freestanding environment (5.1.2.1).”
Implementation:int main (void);
ISO Standard:“The effect of program termination in a freestanding environment (5.1.2.1).”
Implementation:An infinite loop (branch to self) instruction will be executed.
ISO Standard:“An alternative manner in which the main function may be defined (5.1.2.2.1).”
Implementation:int main (void);
ISO Standard:“The values given to the strings pointed to by the argv argument to main (5.1.2.2.1).”
Implementation:No arguments are passed to main. Reference to argc or argv is undefined.
ISO Standard:“What constitutes an interactive device (5.1.2.3).”
Implementation:Application defined.
ISO Standard:“Signals for which the equivalent of signal(sig, SIG_IGN); is executed at program start-up (7.14.1.1).”
Implementation:Signals are application defined.
ISO Standard:“The form of the status returned to the host environment to indicate unsuccessful termination when the SIGABRT signal is raised and not caught (7.20.4.1).”
Implementation:The host environment is application defined.
ISO Standard:“The forms of the status returned to the host environment by the exit function to report successful and unsuccessful termination (7.20.4.3).”
Implementation:The host environment is application defined.
ISO Standard:“The status returned to the host environment by the exit function if the value of its argument is other than zero, EXIT_SUCCESS, or EXIT_FAILURE (7.20.4.3).”
Implementation:The host environment is application defined.
ISO Standard:“The set of environment names and the method for altering the environment list used by the getenv function (7.20.4.4).”
Implementation:The host environment is application defined.
ISO Standard:“The manner of execution of the string by the system function (7.20.4.5).”
Implementation:The host environment is application defined.