#include <unistd.h> int fpathconf( int filedes, int name );
path
was not a directory whan a
directory was expected.
pathconf()
gets a value for the configuration option name
for the open file descriptor filedes
.
The possible values for name are:
filedes
or
path
refer to a directory, then the value applies to the whole
directory. The corresponding macro is _POSIX_LINK_MAX.
filedes
or path
must refer to a terminal. The corresponding macro is
_POSIX_MAX_CANON
.
filedes
or
path
must refer to a terminal. The corresponding macro is
_POSIX_MAX_INPUT
.
path
or
filedes
. The process is allowed to create. The corresponding macro
is _POSIX_NAME_MAX
.
path
or
filedes
is the current working directory. The corresponding macro
is _POSIX_PATH_MAX
.
filedes
must refer to a
pipe or FIFO and path
must refer to a FIFO. The corresponding macro
is _POSIX_PIPE_BUF
.
chown()
call may not be used on this file. If
filedes
or path
refer to a directory, then this applies to all
files in that directory. The corresponding macro is
_POSIX_CHOWN_RESTRICTED
.
NONE
Copyright © 1988-2003 OAR Corporation