#include <ctl_api.h> unsigned ctl_byte_queue_receive_nb(CTL_BYTE_QUEUE_t *m, unsigned char *byte);
The function ctl_byte_queue_receive_nb pops the oldest byte in the byte queue pointed at by m into the memory pointed at by byte. If no bytes are available then the function returns zero otherwise it will return one.
ctl_byte_queue_receive_nb is provided in every implementation of the CrossWorks tasking library.