Contents

buf_setvnode

Set the vnode associated with a buffer.

Declaration

void buf_setvnode(buf_t bp, vnode_t vp);

Parameters

  • bp:

    Buffer whose vnode to set.

  • vp:

    The vnode to attach to the buffer.

Return Value

void.

Discussion

This call need not be used on traditional buffers; it is for use with iobufs.

See Also

Buffers