gobj_get_exit_code()

gobj_get_exit_code()#

Returns the current exit code of the Yuno, which indicates the reason for termination.

This code is set using gobj_set_exit_code().

Prototype

PUBLIC int gobj_get_exit_code(void);

Return Value

An integer value representing the exit code:

  • 0: Indicates successful termination.

  • Non-zero values: Indicate an error or specific termination condition.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples