[riot-notifications] [RIOT-OS/RIOT] cpu/native: make use of stdio_read() / stdio_write() (#16822)
notifications at github.com
Tue Sep 7 16:35:54 CEST 2021
The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.
### Contribution description
On `native` the functions stdio_read() / stdio_write() were not used.
Those functions are intended for alternative stdio implementations.
As a result, no alternative stdio could be used on `native`.
To fix this, call the functions in `_native_read()` / `_native_write()` when dealing with stdio fds.
### Testing procedure
`native` applications should work as before.
But now alternative stdio implementations are possible.
### Issues/PRs references
needed for #16723 to work on `native`
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* cpu/native: make use of stdio_read() / stdio_write()
-- File Changes --
M cpu/native/stdio_native/stdio_native.c (16)
M cpu/native/syscalls.c (44)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications