vclean man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

VCLEAN(9)		     OpenBSD Kernel Manual		     VCLEAN(9)

NAME
     vclean - disassociate the underlying file system from a vnode

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

     void
     vclean(struct vnode *vp, int flags, struct proc *p);

DESCRIPTION
     The vclean() function clears any VM and buffer data associated with the
     vnode vp and reclaims it from the underlying file system.

     Its arguments are:

     vp		The vnode to be cleaned.

     flags	The flags indicating how the vnode should be handled.

		DOCLOSE	     If this flag is set, vclean() will call
			     vinvalbuf(9) on the vnode.	 If the vnode is
			     active, it will be closed and inactivated in the
			     underlying file system.

     p		The process responsible for this call.

     On exit, the v_tag field of the vnode will be set to VT_NON, and if the
     vnode was active, it will be placed on the vnode free list.

SEE ALSO
     vinvalbuf(9), vnode(9)

HISTORY
     This man page was originally written for OpenBSD.

OpenBSD 4.9		      September 19, 2010		   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net