feat: add is_terminal_attached syscall

This commit is contained in:
2026-08-27 18:11:21 +02:00
parent 8afadb44cb
commit c8264b92a9
11 changed files with 46 additions and 3 deletions
+1
View File
@@ -240,6 +240,7 @@ namespace montauk::abi {
static constexpr uint64_t SYS_SPAWN_ENV = 173;
static constexpr uint64_t SYS_LOG_WRITE = 176; // (logMessage) -> 0
static constexpr uint64_t SYS_TERMINAL_ATTACHED = 177; // () -> 1 when connected to a userspace terminal
// Tunable parameters (for SYS_SDR_SETPARAM / SYS_SDR_GETPARAM).
static constexpr int SDR_PARAM_FREQ = 0; // center frequency, Hz