mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
Features: - Implemented terminal app based on BreezyBox - Implemented shell based on BreezyBox - Added font-module with fixed-width fonts Improvements: - Improved application standard-output and error-output routing, including dynamically loaded applications. - Updated shared icons and Material Symbols mappings. - Other improvements & fixes
13 lines
507 B
C++
13 lines
507 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
|
|
// Deliberately not linked against app-module: printf()'s dynamic symbol resolution must reach
|
|
// Tactility's own override in the loading process, exactly like a real loaded app's would.
|
|
extern "C" int32_t main(int, char*[]) {
|
|
printf("hello from dlopen'd app\n");
|
|
// %s, not a literal: a literal fprintf compiles to fwrite(), which bypasses the wrap.
|
|
fprintf(stderr, "%s\n", "oops from dlopen'd app");
|
|
return 0;
|
|
}
|