Chapter 2. Programs, Processes and Threads
One popular definition of a process is an instance of a program whose execution has started but has not yet terminated. This chapter discusses the differences between programs and processes and the ways in which the former are transformed into the latter. The chapter addresses issues of program layout, command-line arguments, program environment and exit handlers.
How a Program Becomes a Process
A program is a prepared sequence of instructions to accomplish a defined task. To write a C source ...