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

  man pages->OpenBSD man pages -> vfinddev (9)              
Title
Content
Arch
Section
 

VFINDDEV(9)

Contents


NAME    [Toc]    [Back]

     vfinddev - lookup a vnode by device number

SYNOPSIS    [Toc]    [Back]

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

     int
     vfinddev(dev_t dev, enum vtype type, struct vnode **vpp);

DESCRIPTION    [Toc]    [Back]

     The vfinddev() function returns a pointer to  the  vnode  of
the device represented
 by the device number dev and of type type in vpp.

RETURN VALUES    [Toc]    [Back]

     vfinddev() will return 1 if a corresponding vnode was found,
0 otherwise.

SEE ALSO    [Toc]    [Back]

      
      
     vnode(9)

HISTORY    [Toc]    [Back]

     This man page was originally written for OpenBSD.

OpenBSD     3.6                        February     18,      2002
[ Back ]
 Similar pages
Name OS Title
ncsize HP-UX number of Directory Name Lookup Cache (DNLC) entries
dnlc_hash_locks HP-UX number of locks for the Directory Name Lookup Cache (DNLC)
cdevvp OpenBSD create a vnode for a device
bdevvp OpenBSD create a vnode for a device
getdevvp OpenBSD create a vnode for a device
VFS_VGET FreeBSD convert an inode number to a vnode
devclass_get_device FreeBSD translate unit number to device
device_get_unit FreeBSD access the unit number of a device
vcount OpenBSD get total number of references to a device
vcount FreeBSD get total number of references to a device
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service