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