mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 19:05:07 +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.
9 lines
224 B
C++
9 lines
224 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
// ESP-IDF doesn't provide getuid(). Tactility has no user accounts, so everything runs as root.
|
|
extern "C" uid_t getuid() {
|
|
return 0;
|
|
}
|