diff options
Diffstat (limited to 'src/stream_stdio.c')
| -rw-r--r-- | src/stream_stdio.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/stream_stdio.c b/src/stream_stdio.c deleted file mode 100644 index efa4b13..0000000 --- a/src/stream_stdio.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <stdio.h> -#include "stream_stdio.h" -#include "stream.h" - -int stdio_read(uint8_t* buf, size_t count, void **vptr, void *sptr) -{ - int x; - for (x = 0; x < count; x++) { - scanf("%c", &buf[x]); - } - return 0; -} - -int stdio_write(uint8_t* buf, size_t count, void **vptr, void *sptr) -{ - printf("%s\n", buf); - return 0; -} |
