VFINDDEV(9) OpenBSD Kernel Manual VFINDDEV(9)NAMEvfinddev - 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 VALUESvfinddev() will return 1 if a corresponding vnode was found, 0 otherwise.
SEE ALSOvnode(9)HISTORY
This man page was originally written for OpenBSD.
OpenBSD 4.9 September 19, 2010 OpenBSD 4.9