Execution of a C/C++ program
Last updated
Last updated
The atexit function allows to register a function to be called at the program’s normal termination.
They are called in reverse order relative to their register.
argv is an array of strings.
argv[0] is the program reference.
env is an array of strings, each representing a variable, in the form name-value pair.
getenv returns the value of a variable name.