From 27ae570d688aedd40c3e175b746ee900d08b81d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 21 Jun 2024 21:48:02 +0900 Subject: =?UTF-8?q?libc=E3=81=AE=E6=83=85=E5=A0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'main.c') 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 // * 端末 // * ストレージ -- cgit v1.2.3