Name

relay_close_buf — close a channel buffer

Synopsis

void relay_close_buf (struct rchan_buf * buf);
 

Arguments

struct rchan_buf * buf

channel buffer

Description

Marks the buffer finalized and restores the default callbacks. The channel buffer and channel buffer data structure are then freed automatically when the last reference is given up.