GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
tt_feature_required(library call) tt_feature_required(library call)

tt_feature_required — declare a feature to be required by the calling program.

#include &<Tt/tt_c.h>
Tt_status tt_feature_required(
Tt_feature feature);

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.

Specifies the feature to be required.

Upon completion, the tt_feature_required function returns the status of the operation as one of the following Tt_status values:

The feature is available and has been enabled.
The tt_feature_required call must be made prior to other calls that have already been made to the ToolTalk API.
The version of the ToolTalk library linked with the calling code does not support the indicated feature.

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();

Tt/tt_c.h - Tttt_c(5), tt_feature_enabled(3), tt_open(3), ttdt_open(3)


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.