Set a configuration string (QNX)
Syntax:
setconf variable_name string ...
Options:
- variable_name
- The variable to set; see <confname.h>.
The most useful variables are:
- _CS_ARCHITECTURE
- _CS_CONFIG_PATH
- _CS_DOMAIN
- _CS_HOSTNAME
Note:
A hostname can consist only of letters, numbers, and hyphens, and
must not start or end with a hyphen.
For more information, see
RFC 952.
If you change this configuration string, be sure you also change the
HOSTNAME environment variable.
The
hostname
utility always gives the value of the _CS_HOSTNAME
configuration string.
- _CS_HW_PROVIDER
- _CS_HW_SERIAL
- _CS_LIBPATH
- _CS_LOCALE
- _CS_MACHINE
- _CS_PATH
- _CS_RELEASE
- _CS_RESOLVE
- _CS_SRPC_DOMAIN
- _CS_SYSNAME
- _CS_TIMEZONE
- _CS_VERSION
- string
- The new value for the variable.
Description:
This utility sets a variable that's used for configuration information.
For more information, see the documentation for
getconf.