VMS Help  —  POSIX Threads, PTHREAD routines, pthread_exc_report_np
    Produces a message that reports what a specified Threads Library
    status exception object represents.

1  –  C Binding

    #include <pthread_exception.h>

    void
    pthread_exc_report_np (
             EXCEPTION    *exception);

2  –  Arguments

 exception

    Threads Library exception object that has been set with a status
    value.

3  –  Description

    This routine produces a text message on the stderr device
    (Tru64 UNIX systems) or SYS$ERROR device (OpenVMS systems) that
    describes the exception whose exception object is specified in
    the exception argument.

    In a program that uses status exceptions, use this routine within
    a CATCH or CATCH_ALL code block to produce the message associated
    with a caught exception. Note that any exception objects set to
    the same status value are considered equivalent by the Threads
    Library.

4  –  Return Values

    None

5  –  Associated Routines

       pthread_exc_get_status_np()
       pthread_exc_set_status_np()
Close Help