tt_feature_enabled man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

tt_feature_enabled(3)	      ToolTalk Functions	 tt_feature_enabled(3)

NAME
       tt_feature_enabled  - Query the ToolTalk library to see if a particular
       feature has been enabled previously

SYNOPSIS
       #include <Tt/tt_c.h>
       Tt_status tt_feature_enabled ( Tt_feature feature );

DESCRIPTION
       The tt_feature_enabled() call queries the ToolTalk service  to  see  if
       the indicated feature has previously been enabled.

       The  feature  argument  is  a  value indicating a particular feature in
       which the calling code is interested.

RETURN VALUE
       Upon successful completion, the tt_feature_enabled()  function  returns
       the status of the operation as one of the following Tt_status values:

       TT_OK The operation completed successfully.

       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_MULTITHREADED);
		 }

SEE ALSO
       tt_c(5), tt_feature_required(3)

ToolTalk 1.3			 1 March 1996		 tt_feature_enabled(3)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net