LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
osal_stdio_fake_provider.c
Go to the documentation of this file.
1
2
4
6{
7 static const osal_stdio_ops_t FAKE_STDIO_OPS = {
8 .stdin = fake_stdio_stdin,
9 .stdout = fake_stdio_stdout,
10 .stderr = fake_stdio_stderr,
11 .read = fake_stdio_read,
12 .write = fake_stdio_write,
13 .flush = fake_stdio_flush,
14 .error = fake_stdio_error,
15 .eof = fake_stdio_eof,
16 .clearerr = fake_stdio_clearerr,
17 };
18 return &FAKE_STDIO_OPS;
19}
const osal_stdio_ops_t * osal_stdio_test_fake_ops(void)
OSAL_STDIO *(* stdin)(void)