*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> VOP_PATHCONF (9)              
Title
Content
Arch
Section
 

VOP_PATHCONF(9)

Contents


NAME    [Toc]    [Back]

     VOP_PATHCONF -- return POSIX pathconf information

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/vnode.h>
     #include <sys/unistd.h>

     int
     VOP_PATHCONF(struct vnode *vp, int name, int *retval);

DESCRIPTION    [Toc]    [Back]

     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
			   are truncated.

RETURN VALUES    [Toc]    [Back]

     If name is recognized, *retval is set to the specified value and zero is
     returned, otherwise EINVAL is returned.

SEE ALSO    [Toc]    [Back]

      
      
     pathconf(2), vnode(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Doug Rabson.


FreeBSD 5.2.1			 July 24, 1996			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
sigpending IRIX return set of signals pending for thread (POSIX)
sigprocmask IRIX alter and return previous state of the set of blocked signals (POSIX)
pipcrm HP-UX remove a POSIX message queue or a POSIX named semaphore
glgeterror IRIX return error information
glXGetConfig Tru64 return information about GLX visuals
fmfontin IRIX return information about the overall font
glcgeterror IRIX return error information
glGetError Tru64 return error information
pmap_is_modified FreeBSD return information about physical pages
fmwhole IRIX return information about each of the characters in a font
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service