Loading
lib: libc: newlib: Fix userspace write() and read() mishap
The commit 4344e27c changed the syscall function invocation in the `write()` and `read()` functions to the direct syscall implementation function invocation by mistake. The newlib `write()` and `read()` functions must call the `z_zephyr_write_stdout()` and `z_zephyr_read_stdin()` syscall functions in order to function properly in a user mode context. Signed-off-by:Stephanos Ioannidis <root@stephanos.io>