[riot-commits] [RIOT-OS/RIOT] 13e16f: cpu/native: make use of stdio_read() / stdio_write()

benpicco noreply at github.com
Wed Sep 22 20:47:57 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 13e16fa34f04f4a87115eb5eabdcb2acf2bccc6b
      https://github.com/RIOT-OS/RIOT/commit/13e16fa34f04f4a87115eb5eabdcb2acf2bccc6b
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M cpu/native/syscalls.c

  Log Message:
  -----------
  cpu/native: make use of stdio_read() / stdio_write()

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.


  Commit: cc3df3ec85590e68c7153d74233a08bb25e9d50f
      https://github.com/RIOT-OS/RIOT/commit/cc3df3ec85590e68c7153d74233a08bb25e9d50f
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M cpu/native/syscalls.c

  Log Message:
  -----------
  Merge pull request #16822 from benpicco/cpu/native-stdio

cpu/native: make use of stdio_read() / stdio_write()


Compare: https://github.com/RIOT-OS/RIOT/compare/c1e4a28c9ba0...cc3df3ec8559


More information about the commits mailing list