An open API service indexing awesome lists of open source software.

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.

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.