Document the exit() function.

Refs #5846