mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
mlibc port: sys_setitimer stub
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user