gobj_set_exit_code()#
Sets the exit code for the process, which will be returned when the program terminates.
Prototype
void gobj_set_exit_code(int exit_code);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The exit code to be set for the process. |
Return Value
This function does not return a value.
Notes
The exit code set by this function can be retrieved using gobj_get_exit_code().
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples