Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ buff_getc

Media Vault

Software Library

Restoration Projects

Artifacts Sought

buff_getc

[Previous] [Contents] [Index] [Next]

buff_getc()

Get a character from the circular buffer

Synopsis:

int buff_getc( buffer_t *bptr );

Description:

This function retrieves a character from the circular buffer bptr, removing it from the buffer in the process.

Returns:

The character currently at the head of the circular buffer bptr, or -1 if the buffer is empty.

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_putc(), buff_waiting()


[Previous] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026