Skip to content

process return_code

Alairion edited this page May 8, 2021 · 2 revisions

nes::process::return_code

Functions

(1) return_code_type return_code() const noexcept;
  1. Returns the return code of the process. The return code is stored after a call to kill or join, so this function only returns a copy of it, and can be called multiple times.

Parameters

None.

Return value

  1. Returns the return code of the process if kill or join have been called, otherwise returns return_code_type{}.

Complexity

  1. Constant.

Exceptions

  1. Does not throw.
Clone this wiki locally