The following code fragment demonstrates how to obtain the most recent error status code for its own thread.
if (!mtaEnqueueStart(&nq, from_adr, 0, 0)) printf("Error returned: %d\n", mtaErrno());