Function

vnode_specrdev

Return the device id of the device associated with a special file.

Declaration

dev_t vnode_specrdev(vnode_t vp);

Parameters

vp

The vnode whose device id to extract--vnode must be a special file.

Return Value

The device id.