mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 10:48:38 +00:00
RM: Old test userspace application
This commit is contained in:
parent
fb00bbac2b
commit
8ea457694d
1 changed files with 0 additions and 17 deletions
|
|
@ -1,17 +0,0 @@
|
|||
// Copyright (c) 2023-2026 Chris (boreddevnl)
|
||||
// This software is released under the GNU General Public License v3.0. See LICENSE file for details.
|
||||
// This header needs to maintain in any file it is present in, as per the GPL license terms.
|
||||
#include <stdlib.h>
|
||||
#include <syscall.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
printf("Hello from Userland ELF!\n");
|
||||
|
||||
printf("argc: %d\n", argc);
|
||||
|
||||
for (int i = 0; i < argc; i++) {
|
||||
printf("argv[%d]: %s\n", i, argv[i]);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in a new issue