aboutsummaryrefslogtreecommitdiff
path: root/examples/hello_world/src/main.zig
blob: d45eea1c01d16e38fb7107cf40ecb2a712b106ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-FileCopyrightText: 2024 Himbeer <himbeer@disroot.org>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

const srvre_sys = @import("srvre_sys");
const os = srvre_sys.os;

usingnamespace srvre_sys;

pub fn main() void {
    const s = "Hello from U-mode init\r\n";
    _ = os.consoleWrite(s) catch unreachable;
}