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: 2 months 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 (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-29T01:42:12.000Z (3 months ago)
- Last Synced: 2025-07-29T03:38:33.088Z (3 months ago)
- Topics: c, cpp, wiiu, wiiu-homebrew
- Language: C++
- Homepage:
- Size: 27.3 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 `stdout-wiiu.c` or `stdout-wiiu.cpp` to your project.
To also get `stderr` support, you must also copy `stderr-wiiu.c` or `stderr-wiiu.cpp`.
There is no need to call any function. Everything is initialized and cleaned up
automatically, using GCC's `constructor`/`destructor` attributes.