*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: vwaitforio | Section: 9 | Source: OpenBSD | File: vwaitforio.9
VWAITFORIO(9) FreeBSD Kernel Developer's Manual VWAITFORIO(9) NAME vwaitforio - wait for all outstanding asynchronous writes SYNOPSIS #include <sys/types.h> #include <sys/vnode.h> int vwaitforio(struct vnode *vp, int slpflag, char *wmesg, uint64_t slptimeo); DESCRIPTION The vwaitforio() call sleeps until all asynchronous writes associated with the vnode vp finish. This is used by functions that need to make sure that the writes they initiated have completed. The vwaitforio() call sleeps at priority PRIBIO + 1. The slpflag, wmesg, and slptimeo arguments indicate flags to be passed to tsleep_nsec(9). This function must be called at splbio(9). It may be important to ensure that no other process submits asynchronous writes while a process is waiting for I/O on this vnode. Otherwise, vwaitforio() may never return. RETURN VALUES The vwaitforio() function returns 0 on success. See tsleep(9) for possible error returns. SEE ALSO tsleep(9), vnode(9) FreeBSD 14.1-RELEASE-p8 July 19, 2019 FreeBSD 14.1-RELEASE-p8

Navigation Options