https://github.com/dkosmari/wiiu-stdout
Code to redirect stdout to the logs on Wii U homebrew.
https://github.com/dkosmari/wiiu-stdout
c cpp wiiu wiiu-homebrew
Last synced: about 1 month ago
JSON representation
Code to redirect stdout to the logs on Wii U homebrew.
- Host: GitHub
- URL: https://github.com/dkosmari/wiiu-stdout
- Owner: dkosmari
- License: apache-2.0
- Created: 2025-07-28T23:30:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-01-13T23:32:50.000Z (5 months ago)
- Last Synced: 2026-01-14T01:30:12.815Z (5 months ago)
- Topics: c, cpp, wiiu, wiiu-homebrew
- Language: C++
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.APLv2
Awesome Lists containing this project
README
# stdout/stderr glue for Wii U homebrew
This is a simple implementation of code that redirects stdout/stderr to WHBLog functions,
to be used on the Wii U.
This code is licensed under APL 2.0, LGPL 3.0+ and MIT licenses.
## Usage
Simply copy `wiiu-stdout.c` or `wiiu-stdout.cpp` to your project. Either file is fine, and
should work for both C and C++ programs.
To also get `stderr` support, you must also copy `wiiu-stderr.c` or `wiiu-stderr.cpp`.
There is no need to call any function. Everything is initialized and cleaned up
automatically, using GCC's `constructor`/`destructor` attributes.