Returns configurable pathname variables.
#include <unistd.h> long fpathconf ( int fildes, int name);
(IN) Specifies an open file descriptor.
(IN) Specifies a pathname variable to be queried in the file specified by the fildes parameter. For a list of supported variables, see Path Configuration Variables
If successful, returns the value of the variable specified by the name parameter. Otherwise, returns -1 and sets errno to one of the following:
The fpathconf function can return -1 without setting a value in errno if the value of any of the name flags is unspecified.