File:  [MW Coherent from dump] / coherent / f / usr / man / KERNEL / bwrite
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

bbwwrriittee() -- Block-Device Routine

#iinncclluuddee <ssyyss/bbuuff.hh>
vvooiidd
bbwwrriittee(_b_p, _f_l_a_g)
BBUUFF *_b_p;

bbwwrriittee writes out the buffer pointed to by _b_p. If _f_l_a_g is set, the write is
synchronous,  and bbwwrriittee()  will not  return until  the I/O  has completed;
otherwise, it is asynchronous and bbwwrriittee() returns immediately.

A device driver  must first lock the buffer gate  before it calls bbwwrriittee();
otherwise, the buffer may be modified while it is being written.

_S_e_e _A_l_s_o
bblloocckk-ddeevviiccee rroouuttiinneess

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.