aboutsummaryrefslogtreecommitdiff
path: root/apps/init.c
blob: ba3e15a090acb3b09ea0ca92e52c92009d265491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// MIT License, Copyright (c) 2020 Marvin Borner

#include <def.h>
#include <print.h>
#include <sys.h>

int main(int argc, char **argv)
{
	printf("ARGC: %d\n", argc);
	printf("[%s loaded]\n", argv[0]);

	int wm = exec("/wm", "wm", argv[1], NULL);
	return wm;
}