MirOS Manual: vfinddev(9)

VFINDDEV(9)                   BSD Kernel Manual                    VFINDDEV(9)

NAME

     vfinddev - lookup a vnode by device number

SYNOPSIS

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

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

DESCRIPTION

     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

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

SEE ALSO

     vnode(9)

HISTORY

     This man page was originally written for OpenBSD.

MirOS BSD #10-current         February 18, 2002                              1

Generated on 2014-07-04 21:17:45 by $MirOS: src/scripts/roff2htm,v 1.79 2014/02/10 00:36:11 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2014 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.