diff options
| author | Aditya Naik | 2020-08-03 14:42:06 -0400 |
|---|---|---|
| committer | Aditya Naik | 2020-08-03 14:42:06 -0400 |
| commit | 11a52e4e88bcad1e6bddcf02f78e1cc5eaaec508 (patch) | |
| tree | d7f725c30e618994a0650607ede73ab3efc72c67 /src/stream_stdio.c | |
| parent | 81b3f3d5336eab67e8eb21bb4011e552f3895a4e (diff) | |
RTOS skeleton with (UNIX) POSIX calls. Reorg of stream files
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; -} |
