Unix and Linux Discussions Tagged with feature |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
11,208 |
What is on Your Mind? |
|
|
|
31 |
15,756 |
What is on Your Mind? |
|
|
|
5 |
5,173 |
Shell Programming and Scripting |
|
|
|
3 |
2,794 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,809 |
Ubuntu |
|
|
|
0 |
2,923 |
OS X Support RSS |
|
|
|
1 |
12,474 |
Solaris |
|
|
|
3 |
14,742 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
1,552 |
UNIX and Linux RSS News |
|
|
|
0 |
2,483 |
UNIX and Linux RSS News |
|
|
|
0 |
1,784 |
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 |
873 |
Software Releases - RSS News |
|
|
|
2 |
2,769 |
HP-UX |
|
|
|
0 |
4,032 |
Windows & DOS: Issues & Discussions |
|
|
|
0 |
1,512 |
UNIX and Linux RSS News |
|
|
|
0 |
998 |
Software Releases - RSS News |
|
|
|
0 |
1,204 |
Software Releases - RSS News |
|
|
|
5 |
3,714 |
UNIX for Advanced & Expert Users |
|
|
|
10 |
6,510 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
7,848 |
Cybersecurity |
|
|
|
9 |
13,943 |
HP-UX |
|
|
|
2 |
4,033 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
7,503 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
40,407 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,177 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,571 |
Programming |
|
|
|
2 |
3,097 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
7 |
6,299 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
13,393 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
78,951 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,777 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,627 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
7,652 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,958 |
UNIX for Dummies Questions & Answers |
tt_feature_required(library call) tt_feature_required(library call)
NAME
tt_feature_required -- declare a feature to be required by the calling program.
SYNOPSIS
#include <Tt/tt_c.h>
Tt_status tt_feature_required(
Tt_feature feature);
DESCRIPTION
The tt_feature_required function declares a feature to be required by the calling code. If the feature is available, tt_feature_required
enables it.
If the feature requires the ToolTalk service to perform some initialization (for example, TT_FEATURE_MULTITHREADED), the initialization is
performed in this call. Some features (such as TT_FEATURE_MULTITHREADED) require this call to be made before calling tt_open.
ARGUMENTS
feature Specifies the feature to be required.
RETURN VALUE
Upon completion, the tt_feature_required function returns the status of the operation as one of the following Tt_status values:
TT_OK The feature is available and has been enabled.
TT_ERR_TOOLATE
The tt_feature_required call must be made prior to other calls that have already been made to the ToolTalk API.
TT_ERR_UNIMP
The version of the ToolTalk library linked with the calling code does not support the indicated feature.
APPLICATION USAGE
To use the ToolTalk library in a multithreaded environment, an application would declare multithreading to be required before a call to
tt_open or ttdt_open:
Tt_status ttstat;
ttstat = tt_feature_required(TT_FEATURE_MULTITHREADED);
tt_open();
SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_feature_enabled(3), tt_open(3), ttdt_open(3)
tt_feature_required(library call)