vwaitforio man page on MirBSD

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

VWAITFORIO(9)		      BSD Kernel 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, int 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(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 possi-
     ble error returns.

SEE ALSO
     tsleep(9), vnode(9)

MirOS BSD #10-current	      February 26, 2001				     1
[top]

List of man pages available for MirBSD

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