Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ iodone(K) — System V/386 Software Development System 3.2.2b

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     IODONE(K)                 UNIX System V                 IODONE(K)



     Name
          iodone - signals I/O completion

     Syntax
          int
          iodone(bp)
          struct buf * bp;

     Description
          The iodone routine completes a block driver's I/O request
          and wakes up all processes waiting completion of block I/O
          requests.  This routine is generally placed in a driver's
          interrupt routine. iodone calls brelse(K) to release the
          buffer, followed by wakeup to awaken the sleeping processes.
          iodone ORs B_DONE into b_flags.

     Parameters
          The bp argument specifies a struct buf * that addresses the
          buffer.

     Notes
          Note that this routine can be used only with block device
          drivers.

     See Also
          brelse(K), iowait(K)

                                                      (printed 7/6/89)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026