Query: biowait
OS: php
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
biowait(9F) Kernel Functions for Drivers biowait(9F)NAMEbiowait - suspend processes pending completion of block I/OSYNOPSIS#include <sys/types.h> #include <sys/buf.h> int biowait(struct buf *bp);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSbp Pointer to the buf structure describing the transfer.DESCRIPTIONDrivers allocating their own buf structures with getrbuf(9F) can use the biowait() function to suspend the current thread and wait for completion of the transfer. Drivers must call biodone(9F) when the transfer is complete to notify the thread blocked by biowait(). biodone() is usually called in the interrupt routine.RETURN VALUES0 Upon success non-zero Upon I/O failure. biowait() calls geterror(9F) to retrieve the error number which it returns.CONTEXTbiowait() can be called from user context only.SEE ALSObiodone(9F), geterror(9F), getrbuf(9F), buf(9S) Writing Device Drivers SunOS 5.10 11 Apr 1991 biowait(9F)
Related Man Pages |
---|
biowait(9f) - redhat |
biowait(9f) - centos |
biowait(9f) - php |
biowait(9f) - debian |
biowait(9f) - osf1 |
Similar Topics in the Unix Linux Community |
---|
wirelesslan Drivers |
Mother Board Drivers ...........?? |