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
Set_Environment(special file) Set_Environment(special file)

Set_Environment — set a tool's environment

Set_Environment(in string variable,

in string value
[...]);

The Set_Environment request replaces the value of the indicated environment variable(s).

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

The value argument is the value of the environment variable. If this argument is unset (in other words, has a value of (char *)0), then the variable should be removed from the environment. It is not an error for the variable not to have existed in the first place.

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

The Set_Environment request can be sent as in the following example:

Tt_message msg = tttk_message_create(0, TT_REQUEST, TT_SESSION,

the_recipient_procid, TTDT_SET_ENVIRONMENT,
my_callback); tt_message_arg_add(msg, TT_IN, Tttk_string, "PATH"); tt_message_arg_add(msg, TT_IN, Tttk_string, "/bin:/usr/ucb"); tt_message_send(msg);

Set_Environment can also be sent as a multicast notice, as an edict to all tools in the scope of the message. The consequences of doing so can be severe and unexpected.

tt_message_arg_add(3), tt_message_send(3), ttdt_session_join(3); Get_Environment request.


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

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