diff options
Diffstat (limited to 'lib/mlibc/options/glibc/generic/glibc-signal.cpp')
-rw-r--r-- | lib/mlibc/options/glibc/generic/glibc-signal.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/mlibc/options/glibc/generic/glibc-signal.cpp b/lib/mlibc/options/glibc/generic/glibc-signal.cpp deleted file mode 100644 index 41bc455..0000000 --- a/lib/mlibc/options/glibc/generic/glibc-signal.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include <errno.h> -#include <signal.h> -#include <bits/ensure.h> -#include <mlibc/debug.hpp> -#include <mlibc/glibc-sysdeps.hpp> - -int tgkill(int tgid, int tid, int sig) { - MLIBC_CHECK_OR_ENOSYS(mlibc::sys_tgkill, -1); - if(int e = mlibc::sys_tgkill(tgid, tid, sig); e) { - errno = e; - return -1; - } - return 0; -} |