Operating systems, development tools, and professional services
for connected embedded systems

Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation

setconf

setconf

Set a configuration string (QNX)


Note: You must be logged in as root to use this utility.

Syntax:

setconf variable_name string ...

Runs on:

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.

See also:

getconf

confstr(), pathconf(), sysconf() in the Library Reference

"Configuration strings" in the Configuring Your Environment chapter of the Neutrino User's Guide