European
Southern
Observatory

ESO — Reaching New Heights in Astronomy

Countries taking part in the ESO

VLT Software Documentation

tcsEnvName.3

Manpage of tcsEnvName

tcsEnvName

Section: C Library Functions (3)
Updated: 2012-04-23 10:08
Index Return to man pages list
 

NAME

tcsEnvName - Retrieve the "official" TCS environment name.

 

SYNOPSIS


const char* tcsEnvName();

 

DESCRIPTION


Retrieve the "official" TCS environment name.
This is the environment where all TCS processes are assumed to be
running.
The default value is the current environment in which the process
is running.
If the environment variable TCS_ENVNAME is set, it is used in place
of the default.

This function can be safely called only after ccsInit() has
been executed.

A standard TCS application, handling command line arguments via
the tcsMAIN_HANDLER(4) class should call this function
only after having called the Init() method of tcsMAIN_HANDLER(4)

A proper error handling makes sure that these rules are applied

This is a convenience function calling the static method:
                   tcsBASE::EnvName()

 

ENVIRONMENT


  TCS_ENVNAME specifies the root point of the TCS database branch,
              if it is not the default.

 

RETURN VALUES


In case of error the function return NULL

 

CAUTIONS


This function can be safely called only after ccsInit() has
been executed.

A standard TCS application, handling command line arguments via
the tcsMAIN_HANDLER(4) class should call this function
only after having called the Init() method of tcsMAIN_HANDLER(4)

A proper error handling makes sure that these rules are applied

 

SEE ALSO


tcsBASE(4) tcsMAIN_HANDLER(4)



 

Index

NAME
SYNOPSIS
DESCRIPTION
ENVIRONMENT
RETURN VALUES
CAUTIONS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:08:47 GMT, April 23, 2012
Generated on Mon Apr 23 10:12:33 2012 for INTROOT API by doxygen 1.6.3