PATHCONF(1)                                                        PATHCONF(1)


NAME
     pathconf - get configurable pathname variables (POSIX)

SYNOPSIS
     pathconf [-p path][name...]

DESCRIPTION
     pathconf provides a shell interface to the pathconf(2) system call for
     determining the current value of a configurable limit or option
     (variable) that is associated with a file or directory.

     The name argument represents the variable to be queried.  The list of
     supported variables can be obtained by invoking pathconf without any
     arguments.  By default, the values pertain to the root file system
     (``/''), to query the values of a different file or directory, use the -p
     option.

     When invoked with a name argument, pathconf displays the system value of
     each of the requested variables, one per line.  Otherwise, it displays
     the entire set with accompanying labels.  A printed value of -1 means
     that there is no limit for name for the given path.  If an error is
     encountered from pathconf(2), the system error message is printed in
     place of the value.

     pathconf exits with a status of 1 if any errors are encountered,
     otherwise it exits with status 0.

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


                                                                        Page 1