mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-24 03:07:16 +00:00
Stage 26
This commit is contained in:
7
cleonos/c/apps/hello_main.c
Normal file
7
cleonos/c/apps/hello_main.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <cleonos_syscall.h>
|
||||
|
||||
int cleonos_app_main(void) {
|
||||
static const char msg[] = "[USER][HELLO] Hello world from /hello.elf\n";
|
||||
(void)cleonos_sys_tty_write(msg, (u64)(sizeof(msg) - 1U));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user