![]() |
![]() |
![]() |
![]() |
Create a circular buffer
struct buffer *buff_create( unsigned size,
unsigned rsize );
This function creates a circular buffer made up of size number of rsize records.
A pointer to an initialized buffer handle, or NULL if memory for the buffer data couldn't be allocated.
![]() |
All the other buff_*() functions take as their first argument the handle returned by the successful execution of buff_create(). |
QNX
| Safety: | |
|---|---|
| Interrupt handler | Not applicable |
| Signal handler | Not applicable |
| Thread | Not applicable |
buff_append(), buff_delete(), buff_flush(), buff_getc(), buff_putc(), buff_waiting()
![]() |
![]() |
![]() |
![]() |