hpux man page for tt_feature_enabled

Query: tt_feature_enabled

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

tt_feature_enabled(library call)										  tt_feature_enabled(library call)

NAME
tt_feature_enabled -- determine if a particular feature has been enabled in this process
SYNOPSIS
#include <Tt/tt_c.h> Tt_status tt_feature_enabled( Tt_feature feature);
DESCRIPTION
The tt_feature_enabled function queries the ToolTalk service to see if the specified feature has previously been enabled. This allows a library that "wraps around" ToolTalk for sending and receiving messages to determine if multithreaded execution has been enabled by the main program, and to modify its behavior accordingly.
ARGUMENTS
feature Specifies the feature whose enabled status is to be checked.
RETURN VALUE
Upon completion, the tt_feature_enabled function returns the status of the operation as one of the following Tt_status values: TT_OK The feature has been enabled previously. TT_WRN_NOT_ENABLED The feature has not yet been enabled TT_ERR_UNIMP The version of the ToolTalk library linked with the calling code does not support the indicated feature.
APPLICATION USAGE
A library using ToolTalk could check to see if the calling application had previously turned on ToolTalk's multithreading feature with the following code: Tt_status ttstat; ttstat = tt_feature_enabled(TT_FEATURE_MULTITHREADED); if (ttstat != TT_OK) { ttstat = tt_feature_required(TT_FEATURE_MULTITHREADING); }
SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_feature_required(3) tt_feature_enabled(library call)
Related Man Pages
tt_feature_enabled(3) - hpux
tt_spec_file(3) - hpux
tt_spec_prop_add(3) - hpux
tt_spec_prop_set(3) - hpux
tt_thread_session_set(3) - hpux
Similar Topics in the Unix Linux Community
does anybody know what the bcb feature is in EMC?
Umask Issues
Similar Threads - a new vB3 feature for UNIX.COM
KOffice 2.0 beta hints at improved capabilities
/etc/rc2.d/ check if kerberos server is enabled in the log or not