mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
New features: - SDK version 7.0.0 packages include version metadata and platform-specific application settings. - Apps gain POSIX support for file polling, terminal attributes, and standard input/output, plus additional C and POSIX functions. - Shell commands can launch installed headless apps using their registered app settings. - Apps can exit with a status code, and terminal clear commands support clearing from the cursor to the end, from the start through the cursor, or the entire display. Fixes: - SDK integration builds locate the build tool reliably and use settings for the selected platform. - ESP32 file operations handle invalid paths and existing directories more consistently.
12 lines
429 B
C++
12 lines
429 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <string>
|
|
|
|
// Deliberately not linked against app-module: exit() must resolve against Tactility's own override
|
|
// in the loading process. The live std::string makes sure ending the task with it on the stack is safe.
|
|
extern "C" int32_t main(int, char*[]) {
|
|
std::string live = "still on the stack";
|
|
exit(static_cast<int>(live.size()));
|
|
}
|