aboutsummaryrefslogtreecommitdiff
path: root/src/modules/os/os.c
diff options
context:
space:
mode:
authorAnser <rostgans@tutamail.com>2026-08-11 00:18:57 +0200
committerAnser <rostgans@tutamail.com>2026-08-11 00:18:57 +0200
commiteb6f986361713d6ce47c6d4572bb24d9f6207ddf (patch)
tree3fca62d5cad785acce36a46a660219840c959932 /src/modules/os/os.c
parent9ad584b5762433f7c99d7cc7b65ad21ebe4ff932 (diff)
TOBESQUISHED: safe in reconstruction of the codes layout and rework of information handeling also ascii art printing
Diffstat (limited to 'src/modules/os/os.c')
-rw-r--r--src/modules/os/os.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/modules/os/os.c b/src/modules/os/os.c
deleted file mode 100644
index 6059c03..0000000
--- a/src/modules/os/os.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <stdio.h>
-#include <string.h>
-#include <sys/utsname.h>
-#include "os.h"
-
-int os(void) {
-#ifdef __linux__
- struct utsname u;
-
- if (uname(&u) == 0) {
- size_t length = printf("OS: %s %s %s %s\n", u.sysname, u.release, u.version, u.machine);
- printf("line length: %ld\n", length);
- } else {
- perror("Error while accessing uname");
- return 1;
- }
-#endif
- return 0;
-}