Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Example

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());