INtime SDK Help
Environment variables
INtime SDK v6 > About INtime > INtime Kernel > Environment variables

Each loaded process starts with an identical set of environment variables. Modifying a process environment affects only that process. Environments are not currently inherited on process creation.

On INtime for Windows, the environment is determined by the contents of the "Node Management->Advanced->CLIB" section and the value of certain Windows environment variables if they exist.

On INtime Distributed RTOS, the environment is determined by the [CLIB] section of the rtconfig.sys file.

Common environment variables

INTIME
The root path of the INTIME installion
TEMP
The path to the temporary working directory
TZ
POSIX format time zone string
NODECFG
The path to configuration files for this node

INtime for Windows additional variables

USERNAME
Windows user name
USERPROFILE
The path to the Windows user profile

INtime Distributed RTOS additional variables

PATH
The search path for loading RSLs

Legacy Network stack variables

DEFHOSTNAME
The default host name for this network node
HOSTSFILE
The path to the 'hosts' file
NETWORKSFILE
The path to the 'networks' file
PROTOSFILE
The path to the 'protocols' file
SERVICESFILE
The path to the 'services' file
INTIMEVEMACADDR
The MAC address for the legacy virtual ethernet adapter driver

Environment system calls

To . . . Use this system call . . .
Return the value of an environment variable by name GetRtEnvironmentVariable
Return the value of an environment variable by its index GetRtEnvironmentVariableByIndex
Create a new environment cariable or modify an existing one PutRtEnvironmentVariable
Remove an environment variable from the current process DeleteRtEnvironmentVariable