Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tt_feature_enabled(3) [hpux man page]

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)

Check Out this Related Man Page

tt_spec_type(library call)												tt_spec_type(library call)

NAME
tt_spec_type -- return the name of the object type SYNOPSIS
#include <Tt/tt_c.h> char *tt_spec_type( const char *objid); DESCRIPTION
The tt_spec_type function returns the name of the object type. The objid argument is the identifier of the object involved in this operation. RETURN VALUE
Upon successful completion, the tt_spec_type function returns the type of this object. The application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned pointer: TT_OK The operation completed successfully. TT_ERR_DBAVAIL The ToolTalk service could not access the ToolTalk database needed for this operation. TT_ERR_DBEXIST The ToolTalk service could not access the specified ToolTalk database in the expected place. TT_ERR_NOMP The ttsession(1) process is not running and the ToolTalk service cannot restart it. TT_ERR_OBJID The objid passed to the ToolTalk service does not reference an existing object spec. APPLICATION USAGE
The application should use tt_free(3) to free any data stored in the address returned by the ToolTalk API. SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_ptr_error(3), tt_free(3). tt_spec_type(library call)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

does anybody know what the bcb feature is in EMC?

does anybody know what the bcb feature is in EMC? (5 Replies)
Discussion started by: jigarlakhani
5 Replies

2. UNIX for Dummies Questions & Answers

Umask Issues

I am having a major issue with our server... In our web application, we have a feature by which a client can upload a file and submit the page... This was a feature which was working fine till recently...we changed the server and I guess some settings changed. Now it keeps throwing an apache... (3 Replies)
Discussion started by: chimpu
3 Replies

3. News, Links, Events and Announcements

Similar Threads - a new vB3 feature for UNIX.COM

Note the new feature on UNIX.COM, many thread at the bottom of the page have a new feature: Similiar Threads Here is an example on one of Perderabo's posts: https://www.unix.com/showthread.php?t=16337 Kudos to the vB folks for this built-in feature!! Neo (0 Replies)
Discussion started by: Neo
0 Replies

4. Programming

multithreading on OSX

Hi all, I have a query about multithreading. What I would like to do is, at the start of my main update() function, start a couple of threads in parallel, once they are all complete carry on with my main update function. void update() { thread1->update(); // fluid solver ... (3 Replies)
Discussion started by: memoid
3 Replies

5. Programming

Video call feature

Hello, I currently have an own application in Csharp. Now I wish to add video call feature to it. For this purpose I decided to try an SDK, the one I use is called Ozeki SIP SDK according to page 93 on voip-sip-sdk.com Maybe someone has already came across this solution and could provide me... (0 Replies)
Discussion started by: Ewood
0 Replies

6. Red Hat

/etc/rc2.d/ check if kerberos server is enabled in the log or not

Hi, I tried to execute a command to check if Kerberos server is enabled Printer Daemon is enabled GUI Login is enabled, do advise how I check from the logs below on how to check whether the commands are valid or not? ls -all /etc/rc2.d/ total 8 drwxr-xr-x. 2 root root... (2 Replies)
Discussion started by: alvinoo
2 Replies