setconf

Set a configuration string (QNX)

Syntax:

setconf variable_name string ...

Runs on:

QNX Neutrino

Options:

variable_name
The variable to set; see <pathconf.h>. The most useful variables are:
  • _CS_ARCHITECTURE
  • _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.

Abilities:

The setconf utility may require the following ability:

Use secpolmonitor to determine which abilities setconf is using on your specific system.

For more information on abilities, see procmgr_ability() in the C Library Reference.