Query: relay_switch_subbuf
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RELAY_SWITCH_SUBBUF(9) relay interface support RELAY_SWITCH_SUBBUF(9)NAMErelay_switch_subbuf - switch to a new sub-bufferSYNOPSISsize_t relay_switch_subbuf(struct rchan_buf * buf, size_t length);ARGUMENTSbuf channel buffer length size of current eventDESCRIPTIONReturns either the length passed in or 0 if full. Performs sub-buffer-switch tasks such as invoking callbacks, updating padding counts, waking up readers, etc.COPYRIGHTKernel Hackers Manual 3.10 June 2014 RELAY_SWITCH_SUBBUF(9)