fpathconf man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

pathconf(3)							   pathconf(3)

       pathconf, fpathconf - get configurable pathname variables (POSIX)

       #include <unistd.h>

       long pathconf(path, name)
       char *path;
       int name;

       long fpathconf(fildes, name)
       int fildes, name;

       The and functions provide a method for the application to determine the
       current value of a configurable limit or option that is associated with
       a file or directory.

       For  the	 path  argument points to the pathname of a file or directory.
       For the fildes argument is an open file descriptor.

       The name argument represents the variable to  be	 queried  relative  to
       that  file  or directory. The following table lists the variables which
       may be queried and the corresponding value for the name	argument.  The
       values for the name argument are defined in the <unistd.h> header file.
       Variable			   name Value

       LINK_MAX			   _PC_LINK_MAX
       NAME_MAX			   _PC_NAME_MAX
       PATH_MAX			   _PC_PATH_MAX
       PIPE_BUF			   _PC_PIPE_BUF

Return Values
       Upon  successful completion, the and functions return the current vari‐
       able value for the file or directory.

       If name is an invalid value, and return -1 and errno is set to indicate
       the reason. If the variable corresponding to name is not defined on the
       system, and return -1 without changing the value of errno.

       The and functions fail if the following occurs:

       [EINVAL]	      The value of the name argument is invalid.

See Also


List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net