RELAY_CLOSE_BUF

Section: relay interface support (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

relay_close_buf - close a channel buffer  

SYNOPSIS

void relay_close_buf(struct rchan_buf * buf);
 

ARGUMENTS

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.  

COPYRIGHT