exit_cpx