Query: tt_error
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
tt_error(library call) tt_error(library call)NAMEtt_error -- capture ToolTalk function errorsSYNOPSIS#include <Tt/tt_c.h> void tt_error( const char *funcname, Tt_status status);DESCRIPTIONThe tt_error function is a publicly-known null function. It is called by the ToolTalk library just before it returns from any ToolTalk API call that has a status other than TT_OK. The caller passes the name of the function that is about to return and the function's status code. You can use this function to set a dbx breakpoint to quickly catch and trace back any ToolTalk errors. You can also interpose this func- tion, for example, to log ToolTalk errors to stderr.ARGUMENTSfuncname Specifies the name of the function. status Specifies the function's return status value.RETURN VALUENone.APPLICATION USAGEThe following code example shows how an application might interpose this function to log ToolTalk errors to stderr: void tt_error(const char *funcname, Tt_status status) { fprintf(stderr, "ToolTalk function %s returned %s.0, funcname, tt_status_message(status)); }SEE ALSOTt/tt_c.h - Tttt_c(5) tt_error(library call)
Related Man Pages |
---|
tt_feature_enabled(3) - hpux |
tt_spec_create(3) - hpux |
tt_spec_file(3) - hpux |
tt_spec_prop_set(3) - hpux |
tt_spec_type_set(3) - hpux |
Similar Topics in the Unix Linux Community |
---|
login error after sys-unconfig, errno = 13 |
Gcc for OpenSolaris |
Python Request Persistent |
Uncompress several tar.gz files inside several folders |
Node.js and mysql - ER_ACCESS_DENIED_ERROR |