mlibc port: sys_setitimer stub

This commit is contained in:
Matheus
2024-04-20 21:24:52 -03:00
parent 6cdd34b561
commit bdcabcb66f
+7 -2
View File
@@ -188,10 +188,10 @@ index 0000000..e5b087a
+
diff --git mlibc-workdir/sysdeps/astral/generic/generic.cpp mlibc-workdir/sysdeps/astral/generic/generic.cpp
new file mode 100644
index 0000000..3d53e6b
index 0000000..40e434f
--- /dev/null
+++ mlibc-workdir/sysdeps/astral/generic/generic.cpp
@@ -0,0 +1,594 @@
@@ -0,0 +1,599 @@
+#include <bits/ensure.h>
+#include <mlibc/debug.hpp>
+#include <mlibc/all-sysdeps.hpp>
@@ -310,6 +310,11 @@ index 0000000..3d53e6b
+ return 0;
+ }
+
+ int sys_setitimer(int which, const struct itimerval *new_value, struct itimerval *old_value) {
+ // TODO unstub
+ return ENOSYS;
+ }
+
+ int sys_sigprocmask(int how, const sigset_t *__restrict set,
+ sigset_t *__restrict retrieve) {
+ mlibc::infoLogger() << "mlibc: sigprocmask is a stub" << frg::endlog;