pthread_exc_set_status_np(3) — Subroutines
NAME
pthread_exc_set_status_np − (Macro) Imports a system-defined error status into a DECthreads address exception object
SYNOPSIS
#include <pthread_exception.h>
void pthread_exc_set_status_np(
EXCEPTION ∗exception,
unsigned long code );
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
STANDARDS
None
PARAMETERS
exception
DECthreads address exception object into which the specified status code is imported.
codeSystem-specific status code to be imported.
DESCRIPTION
This routine associates a system-specific status value with the specified DECthreads address exception object. This transforms the address exception object into a DECthreads status exception object.
The exception argument must already have been initialized with the DECthreads exception package’s EXCEPTION_INIT macro.
Use this routine to associate any system-specific status value with the specified DECthreads address exception object. Note that any exception objects set to the same status value are considered equivalent by DECthreads.
RETURN VALUES
None
ERRORS
None
SEE ALSO
Functions: pthread_exc_get_status_np(3)
Manuals: Guide to DECthreads and Programmer’s Guide