UNIX.COM Recommends OpenPhone:   A Modern Skype Replacement — Free 14-Day Trial

debian man page for vcount

Query: vcount

OS: debian

Section: 9

Links: debian man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

VCOUNT(9)						   BSD Kernel Developer's Manual						 VCOUNT(9)

NAME
vcount, count_dev -- get total number of references to a device
SYNOPSIS
#include <sys/param.h> #include <sys/time.h> #include <sys/conf.h> #include <sys/vnode.h> int vcount(struct vnode *vp); int count_dev(dev_t dev);
DESCRIPTION
vcount() is used to get the number of references to a particular device. It allows for the fact that multiple vnodes may reference the same device. count_dev() does the same thing as vcount(), but takes a dev_t rather than a struct vnode pointer as an argument.
RETURN VALUES
vcount() and count_dev() both return the number of references to the device.
SEE ALSO
VFS(9), vnode(9)
AUTHORS
This manual page was written by Andrew Stevenson.
BSD
February 6, 2001 BSD
Related Man Pages
vfs_vget(9) - debian
vput(9) - debian
vop_link(9) - freebsd
vop_link(9) - minix
vop_link(9) - osx
Similar Topics in the Unix Linux Community
Working with individual blocks of text using awk
Making case insensitive in awk
Getting awk Output as number instead of String
Concatenate column values when header is Matching from multiple files