Synopsis
#include <ctl_api.h>
unsigned ctl_byte_queue_receive_nb(CTL_BYTE_QUEUE_t *m,
                                   unsigned char *byte);
Description

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.

Portability

ctl_byte_queue_receive_nb is provided in every implementation of the CrossWorks tasking library.

See Also

Byte queues