pthread_exc_set_status_np(3) Library Functions Manual pthread_exc_set_status_np(3)
NAME
pthread_exc_set_status_np - (Macro) Imports a system-defined error status into a DECthreads address exception object.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread_exception.h>
void pthread_exc_set_status_np(
EXCEPTION *exception,
unsigned long code);
STANDARDS
None
PARAMETERS
DECthreads address exception object into which the specified status code is imported. System-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
RELATED INFORMATION
Functions: pthread_exc_get_status_np(3)
Manuals: Guide to DECthreads and Programmer's Guide delim off
pthread_exc_set_status_np(3)