VOP_PATHCONF(9) | Kernel Developer's Manual | VOP_PATHCONF(9) |
VOP_PATHCONF
—
return POSIX pathconf information
#include
<sys/param.h>
#include <sys/vnode.h>
#include <sys/unistd.h>
int
VOP_PATHCONF
(struct
vnode *vp, int
name, int
*retval);
The arguments are:
The value of name specifies what should be returned:
_PC_LINK_MAX
_PC_NAME_MAX
_PC_PATH_MAX
_PC_PIPE_BUF
_PC_CHOWN_RESTRICTED
_PC_NO_TRUNC
KERN_NAME_MAX
are truncated.If name is recognized,
*retval is set to the specified value and zero is
returned, otherwise EINVAL
is returned.
This manual page was written by Doug Rabson.
July 24, 1996 | Debian |