vfinddev - lookup a vnode by device number
#include <sys/param.h>
#include <sys/vnode.h>
int
vfinddev(dev_t dev, enum vtype type, struct vnode **vpp);
The vfinddev() function returns a pointer to the vnode of
the device represented
by the device number dev and of type type in vpp.
vfinddev() will return 1 if a corresponding vnode was found,
0 otherwise.
vnode(9)
This man page was originally written for OpenBSD.
OpenBSD 3.6 February 18, 2002
[ Back ] |