Get a character from the circular buffer
int buff_getc( buffer_t *bptr );
This function retrieves a character from the circular buffer bptr, removing it from the buffer in the process.
The character currently at the head of the circular buffer bptr, or -1 if the buffer is empty.
QNX
Safety: | |
---|---|
Interrupt handler | Not applicable |
Signal handler | Not applicable |
Thread | Not applicable |
buff_append(), buff_create(), buff_delete(), buff_flush(), buff_putc(), buff_waiting()