summaryrefslogtreecommitdiff
path: root/ports/posix/src/stream_stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/posix/src/stream_stdio.c')
-rw-r--r--ports/posix/src/stream_stdio.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/posix/src/stream_stdio.c b/ports/posix/src/stream_stdio.c
index ed83e7b..e9b6f09 100644
--- a/ports/posix/src/stream_stdio.c
+++ b/ports/posix/src/stream_stdio.c
@@ -1,6 +1,19 @@
#include <stdio.h>
+#include <stdlib.h>
#include "stream_stdio.h"
#include "stream.h"
+#include "main.h"
+
+int stdio_init(void **vptr, void *sptr)
+{
+ /* TODO */
+ /* p_stream_t *stream = (p_stream_t*)sptr; */
+ /* int num_files = BUS_DEVICE_LIMIT; */
+ /* int x; */
+ /* char fname_base[] = "devio_", fname[10]; */
+
+ return 0;
+}
int stdio_read(uint8_t* buf, size_t count, void **vptr, void *sptr)
{