ChibiOS/HAL 9.0.0
|
Null streams code. More...
Go to the source code of this file.
Functions | |
static size_t | writes (void *ip, const uint8_t *bp, size_t n) |
static size_t | reads (void *ip, uint8_t *bp, size_t n) |
static msg_t | put (void *ip, uint8_t b) |
static msg_t | get (void *ip) |
static msg_t | unget (void *ip, uint8_t b) |
void | nullObjectInit (NullStream *nsp) |
Null stream object initialization. |
Variables | |
static const struct NullStreamVMT | vmt = {(size_t)0, writes, reads, put, get, unget} |
Null streams code.
Definition in file nullstreams.c.