buff_append()

Append bytes to circular buffer

Synopsis:

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

Description:

This function appends n bytes from dptr (pointer to data block) to 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_create(), buff_delete(), buff_flush(), buff_getc(), buff_putc(), buff_waiting()