VMS Help  —  POSIX Threads, PTHREAD routines, pthread_exc_set_status_np
    (Macro) Imports a system-defined error status into a Threads
    Library address exception object.

1  –  C Binding

    #include <pthread_exception.h>

    void
    pthread_exc_set_status_np (
             EXCEPTION    *exception,
             unsigned long   code);

2  –  Arguments

 exception

    Threads Library address exception object into which the specified
    status code is imported.

 code

    System-specific status code to be imported.

3  –  Description

    This routine associates a system-specific status value with the
    specified address exception object. This transforms the address
    exception object into a status exception object.

    The exception argument must already have been initialized with
    the exception package's EXCEPTION_INIT macro.

    Use this routine to associate any system-specific status value
    with the specified address exception object. 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()
Close Help