summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-21 21:48:02 +0900
committer諏訪子 <suwako@076.moe>2024-06-21 21:48:02 +0900
commit27ae570d688aedd40c3e175b746ee900d08b81d8 (patch)
tree49e1c75c7ca54bf3f54c603016f14307fc9aef9b /main.c
parent0556b433bf6f58d837dae4b74ddea25260ca64c8 (diff)
libcの情報
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.c b/main.c
index 25e7b0f..9fefc47 100644
--- a/main.c
+++ b/main.c
@@ -16,6 +16,7 @@
#include "src/resolution.h"
#include "src/wm.h"
#include "src/shell.h"
+#include "src/libc.h"
#include "src/cpu.h"
#include "src/gpu.h"
#include "src/memory.h"
@@ -209,6 +210,13 @@ int main(int argc, char *argv[]) {
lc++;
}
+ const char *libc = display_libc();
+ if (libc) {
+ printf("%s ", LOGO[lc]);
+ printf("%slibc%s: %s\n", color, reset, libc);
+ lc++;
+ }
+
const char *cpu = display_cpu();
if (cpu) {
printf("%s ", LOGO[lc]);
@@ -236,7 +244,6 @@ int main(int argc, char *argv[]) {
}
// TODO:
- // * libc
// * 端末
// * ストレージ