Contents

buf_biowait

Wait for I/O on a buffer to complete.

Declaration

errno_t buf_biowait(buf_t bp);

Parameters

  • bp:

    The buffer to wait on.

Return Value

0 for a successful wait; nonzero the buffer has been marked as EINTR or had an error set on it.

Discussion

Waits for I/O on a buffer to finish, as marked by a buf_biodone() call.

See Also

Buffers