[fdio] Refactor remoteio.c

This CL cleans up the internals of remoteio.c now that the rest of the
world is more rational. Specifically, many functions now call the C
bindings for fuchsia.io directly instead of calling through several
layers of wraper functions that previously abstracted over RIO and FIDL.

This refactoring also lets us be more consistent about the errors we
generate for invalid paths because the logic is centralized in a
|validate_path| function.

Change-Id: Id86d41db54d367d6cb5d5678033bbbf89a3e39eb
5 files changed
tree: 61c3d08b54065522b02fc3455ab3bcd915ea0752
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. garnet/
  7. peridot/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. zircon/
  13. .clang-format
  14. .dir-locals.el
  15. .gitattributes
  16. .gitignore
  17. .gn
  18. AUTHORS
  19. CODE_OF_CONDUCT.md
  20. CONTRIBUTING.md
  21. LICENSE
  22. OWNERS
  23. PATENTS
  24. README.md
  25. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.