|
QP/C
|
QS_getBlock() implementation. More...
#include "qs_pkg.h"Go to the source code of this file.
Functions | |
| uint8_t const * | QS_getBlock (uint16_t *pNbytes) |
| Block-oriented interface to the QS data buffer. | |
QS_getBlock() implementation.
Definition in file qs_blk.c.
| uint8_t const* QS_getBlock | ( | uint16_t * | pNbytes | ) |
Block-oriented interface to the QS data buffer.
This function delivers a contiguous block of data from the QS data buffer. The function returns the pointer to the beginning of the block, and writes the number of bytes in the block to the location pointed to by pNbytes. The argument pNbytes is also used as input to provide the maximum size of the data block that the caller can accept.
If no bytes are available in the QS buffer when the function is called, the function returns a NULL pointer and sets the value pointed to by pNbytes to zero.
Definition at line 38 of file qs_blk.c.
References QS_end_, QS_PTR_AT_, QS_tail_, and QS_used_.
1.7.6.1