The pthread_exc_get_status_np() function can be used to retrieve the system status value from a status exception, for example, after an exception is caught. If the exception object specified is a status exception, pthread_exc_get_status_np() sets the status value argument and returns 0; otherwise, it returns EINVAL and does not set the status value argument.