Stdio¶
Defines¶
Name | Value | Description |
---|---|---|
MIRA_IODEFS(...) |
mira_iodef_t mira_iodefs [] = { VA_ARGS } |
|
MIRA_IODEF_NONE |
{NULL, NULL, 0} | |
MIRA_IODEF_IN(_READ) |
{_READ, NULL, 0} | |
MIRA_IODEF_OUT(_WRITE) |
{NULL, _WRITE, 0} | |
MIRA_IODEF_INOUT(_READ, _WRITE) |
{_READ, _WRITE, 0} | |
MIRA_IODEF_INOUT_ID(_READ, _WRITE, _ID) |
{_READ, _WRITE, (_ID)} |
Structs¶
mira_iodef_t¶
Type | Name | Description |
---|---|---|
int(*)(int fd, uint8_t id, void *ptr, int len) |
read | |
int(*)(int fd, uint8_t id, const void *ptr, int len) |
write | |
uint8_t |
id |
Variables¶
Type | Name | Description |
---|---|---|
mira_iodef_t |
mira_iodefs |