buff_delete()

Delete bytes from the circular buffer

Synopsis:

int buff_delete( buffer_t *bptr, 
                 char *dptr,
                 int n );

Description:

This function removes n bytes from the circular buffer bptr and places them in dptr (pointer to data block).

Returns:

The number of bytes removed from the buffer bptr.

Classification:

QNX

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

See also:

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