diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 14:02:27 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 14:02:27 -0400 |
| commit | 6d8bdc65446a704d0750217efd05532fc641ea7d (patch) | |
| tree | 8ae6d698b3c9801750a8b117b3842fb369872a3a /static/openbsd/man9/vflushbuf.9 | |
| parent | 2f467bd7ff8f8db0dafa40426166491d7f57f368 (diff) | |
docs: OpenBSD Man Pages Added
Diffstat (limited to 'static/openbsd/man9/vflushbuf.9')
| -rw-r--r-- | static/openbsd/man9/vflushbuf.9 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/static/openbsd/man9/vflushbuf.9 b/static/openbsd/man9/vflushbuf.9 new file mode 100644 index 00000000..80f0492a --- /dev/null +++ b/static/openbsd/man9/vflushbuf.9 @@ -0,0 +1,33 @@ +.\" $OpenBSD: vflushbuf.9,v 1.3 2013/06/04 19:27:16 schwarze Exp $ +.\" Written by Jared Yanovich +.\" This file belongs to the public domain. +.Dd $Mdocdate: June 4 2013 $ +.Dt VFLUSHBUF 9 +.Os +.Sh NAME +.Nm vflushbuf +.Nd flush dirty vnode buffers to disk +.Sh SYNOPSIS +.In sys/param.h +.In sys/vnode.h +.Ft void +.Fn vflushbuf "struct vnode *vp" "int sync" +.Sh DESCRIPTION +The +.Fn vflushbuf +function flushes all dirty buffers associated with the vnode +.Fa vp +to the disk. +If the +.Fa sync +argument is zero, writes to the disk will be asynchronous and +.Fn vflushbuf +returns immediately; otherwise, writes will be synchronous and all +disk blocks associated with the vnode will have been properly +synchronized with the in-core buffers upon return. +.Sh SEE ALSO +.Xr vinvalbuf 9 , +.Xr vnode 9 +.Sh HISTORY +This document first appeared in +.Ox 3.7 . |
