GNU.WIKI: The GNU/Linux Knowledge Base
[HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]
[0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]
VOP_PATHCONF — return POSIX pathconf information
VOP_PATHCONF(struct vnode *vp, int name, int *retval);
The arguments are:
vp The vnode to get information about.
name The type of information to return.
retval The place to return the information.
The value of name specifies what should be returned:
_PC_LINK_MAX The maximum number of links to a file.
_PC_NAME_MAX The maximum number of bytes in a file name.
_PC_PATH_MAX The maximum number of bytes in a pathname.
_PC_PIPE_BUF The maximum number of bytes which will be written
atomically to a pipe.
_PC_CHOWN_RESTRICTED Return 1 if appropriate privileges are required for
the chown(2) system call, otherwise 0.
_PC_NO_TRUNC Return 1 if file names longer than KERN_NAME_MAX
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.
All copyrights belong to their respective owners. Other content (c) 2014-2017, GNU.WIKI. Please report site errors to firstname.lastname@example.org.Page load time: 0.121 seconds. Last modified: November 09 2017 18:38:06.