Unix and Linux Discussions Tagged with feature |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
11,246 |
What is on Your Mind? |
|
|
|
31 |
15,846 |
What is on Your Mind? |
|
|
|
5 |
5,186 |
Shell Programming and Scripting |
|
|
|
3 |
2,802 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,839 |
Ubuntu |
|
|
|
0 |
2,924 |
OS X Support RSS |
|
|
|
1 |
12,522 |
Solaris |
|
|
|
3 |
14,747 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
1,553 |
UNIX and Linux RSS News |
|
|
|
0 |
2,484 |
UNIX and Linux RSS News |
|
|
|
0 |
1,785 |
Oracle Updates (RSS) |
|
|
|
0 |
2,443 |
UNIX and Linux RSS News |
|
|
|
0 |
1,014 |
Software Releases - RSS News |
|
|
|
0 |
1,071 |
Software Releases - RSS News |
|
|
|
0 |
874 |
Software Releases - RSS News |
|
|
|
2 |
2,770 |
HP-UX |
|
|
|
0 |
4,036 |
Windows & DOS: Issues & Discussions |
|
|
|
0 |
1,513 |
UNIX and Linux RSS News |
|
|
|
0 |
998 |
Software Releases - RSS News |
|
|
|
0 |
1,205 |
Software Releases - RSS News |
|
|
|
5 |
3,717 |
UNIX for Advanced & Expert Users |
|
|
|
10 |
6,537 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
7,852 |
Cybersecurity |
|
|
|
9 |
13,956 |
HP-UX |
|
|
|
2 |
4,039 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
7,518 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
40,417 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,185 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,591 |
Programming |
|
|
|
2 |
3,098 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
7 |
6,313 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
13,411 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
78,970 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,799 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,649 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
7,670 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,981 |
UNIX for Dummies Questions & Answers |
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)