ringqPutBlk | basic | EMF |
Add a block of data to the ring queue.
int ringqPutBlk(ringq_t *rq, unsigned char *buf, int size);
rq | The ring queue which to add the block |
buf | Data to put on the end of the queue |
size | Length of the data buf that is incrementally added to the queue |
Will grow the queue as required.
Returns the number of bytes written to the queue.