Contents

buf_callback

Get the function set to be called when I/O on a buffer completes.

Declaration

void * buf_callback(buf_t bp);

Parameters

  • bp:

    Buffer whose callback to get.

Return Value

0 for success, or errors from filesystem or device layers.

Discussion

A function returned by buf_callback was originally set with buf_setcallback().

See Also

Buffers