summaryrefslogtreecommitdiff
path: root/src/signal
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2023-11-14 12:12:10 -0500
committerJakob Kaivo <jkk@ung.org>2023-11-14 12:12:10 -0500
commit920746cbb5d18d8aef284d3fe71a57cd52509117 (patch)
tree11b4436a58c077f36b1236f0c702af00c763e3f6 /src/signal
parentf23336fbc3148105c42eebfa44a22d1164828108 (diff)
disable all functions; will strategically reenable them as tested
Diffstat (limited to 'src/signal')
-rw-r--r--src/signal/bsd_signal.c5
-rw-r--r--src/signal/kill.c5
-rw-r--r--src/signal/killpg.c5
-rw-r--r--src/signal/raise.c5
-rw-r--r--src/signal/sigaction.c5
-rw-r--r--src/signal/sigaddset.c5
-rw-r--r--src/signal/sigaltstack.c5
-rw-r--r--src/signal/sigdelset.c5
-rw-r--r--src/signal/sigemptyset.c5
-rw-r--r--src/signal/sigfillset.c5
-rw-r--r--src/signal/sighold.c5
-rw-r--r--src/signal/sigignore.c5
-rw-r--r--src/signal/siginterrupt.c5
-rw-r--r--src/signal/sigismember.c5
-rw-r--r--src/signal/sigmask.c5
-rw-r--r--src/signal/signal.c5
-rw-r--r--src/signal/sigpause.c5
-rw-r--r--src/signal/sigpending.c5
-rw-r--r--src/signal/sigprocmask.c5
-rw-r--r--src/signal/sigqueue.c5
-rw-r--r--src/signal/sigrelse.c5
-rw-r--r--src/signal/sigset.c5
-rw-r--r--src/signal/sigstack.c5
-rw-r--r--src/signal/sigsuspend.c5
-rw-r--r--src/signal/sigtimedwait.c5
-rw-r--r--src/signal/sigwaitinfo.c5
26 files changed, 130 insertions, 0 deletions
diff --git a/src/signal/bsd_signal.c b/src/signal/bsd_signal.c
index 148029c0..7f87b4e1 100644
--- a/src/signal/bsd_signal.c
+++ b/src/signal/bsd_signal.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
void (*bsd_signal(int sig, void (*func)(int)))(int)
@@ -19,3 +21,6 @@ void (*bsd_signal(int sig, void (*func)(int)))(int)
/*
XOPEN(400,700)
*/
+
+
+#endif
diff --git a/src/signal/kill.c b/src/signal/kill.c
index 55b7a90a..3be1b3ad 100644
--- a/src/signal/kill.c
+++ b/src/signal/kill.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int kill(pid_t pid, int sig)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/killpg.c b/src/signal/killpg.c
index 4f56544e..fdfee360 100644
--- a/src/signal/killpg.c
+++ b/src/signal/killpg.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int killpg(pid_t pgrp, int sig)
@@ -8,3 +10,6 @@ int killpg(pid_t pgrp, int sig)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/raise.c b/src/signal/raise.c
index 08e58747..f7db89b3 100644
--- a/src/signal/raise.c
+++ b/src/signal/raise.c
@@ -1,3 +1,5 @@
+#if 0
+
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#define POSIX_FORCED
@@ -35,3 +37,6 @@ sends the signal ARGUMENT(sig) to the current program.
/*
STDC(1)
*/
+
+
+#endif
diff --git a/src/signal/sigaction.c b/src/signal/sigaction.c
index 156868c7..054f3958 100644
--- a/src/signal/sigaction.c
+++ b/src/signal/sigaction.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stddef.h>
#include <sys/types.h>
#include <signal.h>
@@ -47,3 +49,6 @@ int sigaction(int sig, const struct sigaction * restrict act, struct sigaction *
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigaddset.c b/src/signal/sigaddset.c
index 994b2c4b..217b91fe 100644
--- a/src/signal/sigaddset.c
+++ b/src/signal/sigaddset.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include <limits.h>
@@ -14,3 +16,6 @@ int sigaddset(sigset_t * set, int signo)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigaltstack.c b/src/signal/sigaltstack.c
index 068d9e38..73ab2980 100644
--- a/src/signal/sigaltstack.c
+++ b/src/signal/sigaltstack.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigaltstack(const stack_t * restrict ss, stack_t * restrict oss)
@@ -8,3 +10,6 @@ int sigaltstack(const stack_t * restrict ss, stack_t * restrict oss)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/sigdelset.c b/src/signal/sigdelset.c
index 1a15a29d..91db033e 100644
--- a/src/signal/sigdelset.c
+++ b/src/signal/sigdelset.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include <limits.h>
@@ -14,3 +16,6 @@ int sigdelset(sigset_t * set, int signo)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigemptyset.c b/src/signal/sigemptyset.c
index dae7911a..860668e7 100644
--- a/src/signal/sigemptyset.c
+++ b/src/signal/sigemptyset.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include <string.h>
@@ -10,3 +12,6 @@ int sigemptyset(sigset_t * set)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigfillset.c b/src/signal/sigfillset.c
index 4c7939eb..45acfd61 100644
--- a/src/signal/sigfillset.c
+++ b/src/signal/sigfillset.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include <string.h>
@@ -11,3 +13,6 @@ int sigfillset(sigset_t * set)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sighold.c b/src/signal/sighold.c
index 1c5b0c20..037761f4 100644
--- a/src/signal/sighold.c
+++ b/src/signal/sighold.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sighold(int sig)
@@ -8,3 +10,6 @@ int sighold(int sig)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/sigignore.c b/src/signal/sigignore.c
index f59b83c4..aef76f50 100644
--- a/src/signal/sigignore.c
+++ b/src/signal/sigignore.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigignore(int sig)
@@ -11,3 +13,6 @@ int sigignore(int sig)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/siginterrupt.c b/src/signal/siginterrupt.c
index ea325ca6..d3fc9ddd 100644
--- a/src/signal/siginterrupt.c
+++ b/src/signal/siginterrupt.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
@@ -18,3 +20,6 @@ int siginterrupt(int sig, int flag)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/sigismember.c b/src/signal/sigismember.c
index af482232..b6347ddd 100644
--- a/src/signal/sigismember.c
+++ b/src/signal/sigismember.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include <limits.h>
@@ -16,3 +18,6 @@ int sigismember(const sigset_t * set, int signo)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigmask.c b/src/signal/sigmask.c
index 030e51ab..616222ca 100644
--- a/src/signal/sigmask.c
+++ b/src/signal/sigmask.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigmask(int signum)
@@ -7,3 +9,6 @@ int sigmask(int signum)
/*
XOPEN(400,500)
*/
+
+
+#endif
diff --git a/src/signal/signal.c b/src/signal/signal.c
index 8a794a7e..57260f58 100644
--- a/src/signal/signal.c
+++ b/src/signal/signal.c
@@ -1,3 +1,5 @@
+#if 0
+
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#define POSIX_FORCED
@@ -54,3 +56,6 @@ IMPLEMENTATION(Whether signal blocking is performed when a signal occurs)
IMPLEMENTATION(Other signals corresponding to computation exceptions for which signal handlers must not return)
STDC(1)
*/
+
+
+#endif
diff --git a/src/signal/sigpause.c b/src/signal/sigpause.c
index 43ad7489..0cfdf3fb 100644
--- a/src/signal/sigpause.c
+++ b/src/signal/sigpause.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigpause(int sig)
@@ -8,3 +10,6 @@ int sigpause(int sig)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/sigpending.c b/src/signal/sigpending.c
index 3ab5d01d..163d9519 100644
--- a/src/signal/sigpending.c
+++ b/src/signal/sigpending.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int sigpending(sigset_t * set)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigprocmask.c b/src/signal/sigprocmask.c
index 63bc58b2..0df41963 100644
--- a/src/signal/sigprocmask.c
+++ b/src/signal/sigprocmask.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int sigprocmask(int how, const sigset_t * restrict set, sigset_t * restrict oset
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigqueue.c b/src/signal/sigqueue.c
index 6f4b6864..75fb44dc 100644
--- a/src/signal/sigqueue.c
+++ b/src/signal/sigqueue.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigqueue(pid_t pid, int signo, const union sigval value)
@@ -8,3 +10,6 @@ int sigqueue(pid_t pid, int signo, const union sigval value)
/*
POSIX(199309)
*/
+
+
+#endif
diff --git a/src/signal/sigrelse.c b/src/signal/sigrelse.c
index c9c76852..94418751 100644
--- a/src/signal/sigrelse.c
+++ b/src/signal/sigrelse.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigrelse(int sig)
@@ -8,3 +10,6 @@ int sigrelse(int sig)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/sigset.c b/src/signal/sigset.c
index 88dfecc3..72987408 100644
--- a/src/signal/sigset.c
+++ b/src/signal/sigset.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
void (*sigset(int sig, void (*disp)(int)))(int)
@@ -8,3 +10,6 @@ void (*sigset(int sig, void (*disp)(int)))(int)
/*
XOPEN(400)
*/
+
+
+#endif
diff --git a/src/signal/sigstack.c b/src/signal/sigstack.c
index c7ed9c5c..d9ebb92c 100644
--- a/src/signal/sigstack.c
+++ b/src/signal/sigstack.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigstack(struct sigstack *ss, struct sigstack *oss)
@@ -8,3 +10,6 @@ int sigstack(struct sigstack *ss, struct sigstack *oss)
/*
XOPEN(400,600)
*/
+
+
+#endif
diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c
index fb164d0f..4ebe0346 100644
--- a/src/signal/sigsuspend.c
+++ b/src/signal/sigsuspend.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <sys/types.h>
#include <signal.h>
#include "_syscall.h"
@@ -9,3 +11,6 @@ int sigsuspend(const sigset_t * sigmask)
/*
POSIX(1)
*/
+
+
+#endif
diff --git a/src/signal/sigtimedwait.c b/src/signal/sigtimedwait.c
index 74443089..574f850d 100644
--- a/src/signal/sigtimedwait.c
+++ b/src/signal/sigtimedwait.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigtimedwait(const sigset_t * restrict set, siginfo_t * restrict info, const struct timespec * restrict timeout)
@@ -8,3 +10,6 @@ int sigtimedwait(const sigset_t * restrict set, siginfo_t * restrict info, const
/*
POSIX(199309)
*/
+
+
+#endif
diff --git a/src/signal/sigwaitinfo.c b/src/signal/sigwaitinfo.c
index 6af01e10..de0976cf 100644
--- a/src/signal/sigwaitinfo.c
+++ b/src/signal/sigwaitinfo.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <signal.h>
int sigwaitinfo(const sigset_t * restrict set, siginfo_t * restrict info)
@@ -8,3 +10,6 @@ int sigwaitinfo(const sigset_t * restrict set, siginfo_t * restrict info)
/*
POSIX(199309)
*/
+
+
+#endif