[prev] 31 [next]

C Program Execution

Under Unix, a C program executes either:
  • to completion, producing results   (correct?)
  • until the program detects an error and calls exit()
  • until a run-time error halts it   (e.g. Segmentation violation)

Normal C execution environment:

[Diagram:Pic/unixproc.png]