blob: 9b4aa0c483d62229ebaa6ffc71ff7999fd8eb859 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# include <luma/main.hh>
char const * luma::kernelstr(luma::kernel_t kernel) {
char const * str = "";
switch(kernel) {
default:
str = "Unknown";
break;
case luma::kernel_t::darwinos:
str = "Dawin OS";
break;
case luma::kernel_t::dragonflybsd:
str = "DragonFly BSD";
break;
case luma::kernel_t::freebsd:
str = "FreeBSD";
break;
case luma::kernel_t::hurd:
str = "Hurd";
break;
case luma::kernel_t::linux:
str = "Linux";
break;
case luma::kernel_t::minix:
str = "MINIX";
break;
case luma::kernel_t::netbsd:
str = "NetBSD";
break;
case luma::kernel_t::openbsd:
str = "OpenBSD";
break;
}
return str;
}
|