Go to main content

man pages section 4: Device and Network Interfaces

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Get_Environment (4)

Name

Get_Environment - get a tool's environment

Synopsis

Get_Environment(in string variable,
out string value
[...]);

Description

Desktop Services Message Set                                Get_Environment(4)



NAME
       Get_Environment - get a tool's environment

SYNOPSIS
       Get_Environment(in string variable,
                       out string value
                       [...]);

DESCRIPTION
       The Get_Environment request reports the value of the indicated environ-
       ment variable(s).

       The variable argument is the name of the environment variable to get.

       The value argument is the value of the  environment  variable.   If  no
       value  (in  other words, (char *)0) is returned for this argument, then
       the variable was not present in the handler's environment.  This condi-
       tion  is  not  an  error.   If  an empty string (in other words, "") is
       returned for this argument, then the variable was present in  the  han-
       dler's environment, but had a null value.

APPLICATION USAGE
       The  ttdt_session_join(3),  function  can  be used to register for, and
       transparently process, the Get_Environment request.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/tooltalk |
       +---------------+------------------+
       |Stability      | Committed        |
       +---------------+------------------+

SEE ALSO
       ttdt_session_join(3); Set_Environment request.




ToolTalk 1.3                     1 March 1996               Get_Environment(4)