summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-18 00:16:45 +0900
committer諏訪子 <suwako@076.moe>2024-06-18 00:16:45 +0900
commit11c97887ef28e9b073d9abf1c2da70cd01491c9e (patch)
tree41c7b4d79d99733b879f6c63c8c731484022fc7e /main.c
parent3d418e666955695052d25e32c6b2f296b7af6859 (diff)
メモリ
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/main.c b/main.c
index 5280995..12b2809 100644
--- a/main.c
+++ b/main.c
@@ -8,6 +8,7 @@
#if defined(__linux__)
#include "src/distro.h"
#endif
+#include "src/memory.h"
const char *sofname = "farfetch";
const char *version = "0.0.1";
@@ -26,16 +27,20 @@ int main() {
display_os_arch();
printf("\n");
- printf("Host: ");
- display_host_model();
- printf("\n");
-
#if defined(__linux__)
printf("Distro: ");
display_distro();
printf("\n");
#endif
+ printf("Host: ");
+ display_host_model();
+ printf("\n");
+
+ printf("Memory: ");
+ display_memory();
+ printf("\n");
+
// TODO:
// * ロゴ
// * カーネル(LinuxとIllumosのみ)
@@ -47,7 +52,6 @@ int main() {
// * 端末
// * CPU
// * GPU
- // * メモリー
// * ストレージ
return 0;
}