buff_flush()

Clear the circular buffer

Synopsis:

int buff_flush( buffer_t *bptr );

Description:

This function clears the circular buffer bptr.

Returns:

EOK.

Classification:

QNX

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

See also:

buff_append(), buff_create(), buff_delete(), buff_getc(), buff_putc(), buff_waiting()