Contents

buf_resid

Get a count of bytes which were not consumed by an I/O on a buffer.

Declaration

uint32_t buf_resid(buf_t bp);

Parameters

  • bp:

    Buffer whose outstanding count to get.

Return Value

Count of unwritten/unread bytes.

Discussion

Set when an I/O operations completes.

See Also

Buffers