vmbase: Add support for fputs(), stdout, stderr

Support printing to stdout and stderr from C by wrapping the
corresponding crate::console functions.

Implement fwrite() for when Clang substitutes fputs() for it, even if
both symbols are undefined in the translation unit ... See LLVM's
SimplifyLibCalls.

Bug: 256148034
Test: -
Change-Id: I9e77925f8003985ccbf1c625358cc81f7be11371
1 file changed
tree: f43b2e336fb82959dd453dc1723552b0153484c2
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vm_payload/
  20. vmbase/
  21. vmclient/
  22. zipfuse/
  23. .clang-format
  24. .gitignore
  25. Android.bp
  26. OWNERS
  27. PREUPLOAD.cfg
  28. README.md
  29. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.