buff_waiting()

Determine the number of bytes stored in the circular buffer

Synopsis:

int buff_waiting( buffer_t *bptr );

Description:

This function determines the number of bytes stored in the circular buffer bptr.

Returns:

The number of bytes currently stored in the buffer bptr.

Classification:

QNX

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

See also:

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