Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getconf(1) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pathconf(1)

sysconf(3C)

pathconf(2)

limits(4)



GETCONF(1)                                                          GETCONF(1)



NAME
     getconf - get configuration variables (XPG4)

SYNOPSIS
     getconf system_var

     getconf path_var path_name

DESCRIPTION
     getconf provides a method to determine the current values of certain
     configurable system limits, options and parameters.

     If the system_var argument is given, getconf(1) will print the value of
     each requested system parameter, one per line.

     If the path_var and pathname arguments are given, getconf(1) will print
     the value of the requested variable specified by the path_var argument
     for the path specified by the pathname operand.

STDOUT
     If the specified variable is defined on the system and its value is
     described to be available, its value will be written in the following
     format:

          "%s\n", <value>

     Otherwise, if the specified variable is defined on the system, its value
     will be written in the following format:

          "%d\n", <value>

     If the specified variable is valid, but is undefined on the system,
     getconf will write using the following format:

          "undefined\n"

     If the variable name is invalid or an error occurs, nothing will be
     written to standard output.

OPERANDS
     The following operands are supported:

     path_var

               A name of a configuration variable whose value is available
               from the pathconf() function.  All of the values in the
               following table are supported in addition to others described
               in pathconf(1):

     LINKMAX            NAMEMAX              POSIXCHOWNRESTRICTED
     MAXCANON           PATHMAX              POSIXNOTRUNC
     MAXINPUT           PIPEBUF              POSIXVDISABLE



                                                                        Page 1





GETCONF(1)                                                          GETCONF(1)



     pathname

               A pathname for which the variable specified by path_var is to
               be determined.

     system_var

               A name of a configuration variable whose value is available
               from the sysconf() function.  All of the values in the
               following table are supported:

     ARGMAX             NLTEXTMAX            POSIX2CDEV
     BCBASEMAX         OPENMAX              POSIX2CVERSION
     BCDIMMAX          POSIXARGMAX        POSIX2EXPRNESTMAX
     BCSCALEMAX        POSIXCHILDMAX      POSIX2FORTDEV
     BCSTRINGMAX       POSIXJOBCONTROL    POSIX2FORTRUN
     CHARBIT            POSIXLINKMAX       POSIX2LINEMAX
     CHARMAX            POSIXMAXCANON      POSIX2LOCALEDEF
     CHARMIN            POSIXMAXINPUT      POSIX2REDUPMAX
     CHILDMAX           POSIXNAMEMAX       POSIX2SWDEV
     CLKTCK             POSIXNGROUPSMAX    POSIX2UPE
     COLLWEIGHTSMAX    POSIXOPENMAX       POSIX2VERSION
     CSPATH             POSIXPATHMAX       REDUPMAX
     EXPRNESTMAX       POSIXPIPEBUF       SCHARMAX
     INTMAX             POSIXSAVEDIDS      SCHARMIN
     LINEMAX            POSIXSTREAMMAX     SHRTMIN
     LONGMAX            POSIXTZNAMEMAX     SSIZEMAX
     LONGMIN            POSIXVERSION        STREAMMAX
     MBLENMAX          POSIX2BCBASEMAX    TZNAMEMAX
     NGROUPSMAX         POSIX2BCDIMMAX     UCHARMAX
     NLARGMAX           POSIX2BCSCALEMAX   UINTMAX
     NLLANGMAX          POSIX2BCSTRINGMAX  ULONGMAX
     NLMAX              POSIX2CHARTERM      USHRTMAX
     NLMSGMAX           POSIX2COLLWEIGHTSMAX
     NLSETMAX           POSIX2CBIND
     CHARCLASSNAMEMAX  NLTEXTMAX            XOPENVERSION
     LONGBIT            NZERO                 XOPENXCUVERSION
     NLARGMAX           TMPMAX               XOPENXPG2
     NLLANGMAX          WORDBIT              XOPENXPG3
     NLMAX              XOPENCRYPT          XOPENXPG4
     NLMSGMAX           XOPENENHI18N       NLSETMAX
     XOPENSHM          ATEXITMAX            PAGESIZE
     XOPENUNIX         IOVMAX               PAGESIZE
     KERNPOINTERS       KERNSIM

EXIT STATUS
     getconf exits with a status of greater than zero if any errors are
     encountered, otherwise it exits with status 0.







                                                                        Page 2





GETCONF(1)                                                          GETCONF(1)



SEE ALSO
     pathconf(1), sysconf(3C), pathconf(2), limits(4)





















































                                                                        Page 3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026