summaryrefslogtreecommitdiff
path: root/lib/libc/syslog
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
commitfc00c656c96528112d05cf0edf8631bd5eaea446 (patch)
treea6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /lib/libc/syslog
Add build system scaffolding and libc headers
Diffstat (limited to 'lib/libc/syslog')
-rw-r--r--lib/libc/syslog/closelog.c7
-rw-r--r--lib/libc/syslog/openlog.c7
-rw-r--r--lib/libc/syslog/setlogmask.c7
-rw-r--r--lib/libc/syslog/syslog.c7
4 files changed, 28 insertions, 0 deletions
diff --git a/lib/libc/syslog/closelog.c b/lib/libc/syslog/closelog.c
new file mode 100644
index 00000000..df9b5a49
--- /dev/null
+++ b/lib/libc/syslog/closelog.c
@@ -0,0 +1,7 @@
+#include <syslog.h>
+
+void closelog(void)
+{
+ // TODO
+ return;
+}
diff --git a/lib/libc/syslog/openlog.c b/lib/libc/syslog/openlog.c
new file mode 100644
index 00000000..84c4797f
--- /dev/null
+++ b/lib/libc/syslog/openlog.c
@@ -0,0 +1,7 @@
+#include <syslog.h>
+
+int setlogmask(int maskpri)
+{
+ // TODO
+ return 0;
+}
diff --git a/lib/libc/syslog/setlogmask.c b/lib/libc/syslog/setlogmask.c
new file mode 100644
index 00000000..84c4797f
--- /dev/null
+++ b/lib/libc/syslog/setlogmask.c
@@ -0,0 +1,7 @@
+#include <syslog.h>
+
+int setlogmask(int maskpri)
+{
+ // TODO
+ return 0;
+}
diff --git a/lib/libc/syslog/syslog.c b/lib/libc/syslog/syslog.c
new file mode 100644
index 00000000..a9a41fbb
--- /dev/null
+++ b/lib/libc/syslog/syslog.c
@@ -0,0 +1,7 @@
+#include <syslog.h>
+
+void syslog(int priority, const char *message, ... /* arguments */)
+{
+ // TODO
+ return;
+}