zStatus zThread_ExitCode(zThread thread);
Reports the return value from a thread that has exited.
zThread.h