Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

buff_putc()

Place a character on the circular buffer

Synopsis:

int buff_putc( buffer_t *bptr, 
               char c );

Description:

This function places a character c on 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_waiting()