diff options
Diffstat (limited to 'src/signal')
| -rw-r--r-- | src/signal/SIGEV_NONE.c | 5 | ||||
| -rw-r--r-- | src/signal/SIGEV_SIGNAL.c | 5 | ||||
| -rw-r--r-- | src/signal/SIGRTMAX.c | 5 | ||||
| -rw-r--r-- | src/signal/SIGRTMIN.c | 5 | ||||
| -rw-r--r-- | src/signal/SI_ASYNCIO.c | 5 | ||||
| -rw-r--r-- | src/signal/SI_MESGQ.c | 5 | ||||
| -rw-r--r-- | src/signal/SI_QUEUE.c | 5 | ||||
| -rw-r--r-- | src/signal/SI_TIMER.c | 5 | ||||
| -rw-r--r-- | src/signal/SI_USER.c | 5 | ||||
| -rw-r--r-- | src/signal/sigqueue.c | 10 | ||||
| -rw-r--r-- | src/signal/sigtimedwait.c | 10 | ||||
| -rw-r--r-- | src/signal/sigwaitinfo.c | 10 | ||||
| -rw-r--r-- | src/signal/struct_sigevent.c | 13 | ||||
| -rw-r--r-- | src/signal/union_sigval.c | 10 |
14 files changed, 98 insertions, 0 deletions
diff --git a/src/signal/SIGEV_NONE.c b/src/signal/SIGEV_NONE.c new file mode 100644 index 00000000..5dc6b7d2 --- /dev/null +++ b/src/signal/SIGEV_NONE.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SIGEV_NONE (0) +/* +POSIX(199309) +*/ diff --git a/src/signal/SIGEV_SIGNAL.c b/src/signal/SIGEV_SIGNAL.c new file mode 100644 index 00000000..aec400c4 --- /dev/null +++ b/src/signal/SIGEV_SIGNAL.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SIGEV_SIGNAL (1) +/* +POSIX(199309) +*/ diff --git a/src/signal/SIGRTMAX.c b/src/signal/SIGRTMAX.c new file mode 100644 index 00000000..8821bcf1 --- /dev/null +++ b/src/signal/SIGRTMAX.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SIGRTMAX /* maximum real time signal */ +/* +POSIX(199309) +*/ diff --git a/src/signal/SIGRTMIN.c b/src/signal/SIGRTMIN.c new file mode 100644 index 00000000..ccbd6fee --- /dev/null +++ b/src/signal/SIGRTMIN.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SIGRTMIN /* minimum real-time signal */ +/* +POSIX(199309) +*/ diff --git a/src/signal/SI_ASYNCIO.c b/src/signal/SI_ASYNCIO.c new file mode 100644 index 00000000..8c43051a --- /dev/null +++ b/src/signal/SI_ASYNCIO.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SI_ASYNCIO (14) +/* +POSIX(199309) +*/ diff --git a/src/signal/SI_MESGQ.c b/src/signal/SI_MESGQ.c new file mode 100644 index 00000000..c432db39 --- /dev/null +++ b/src/signal/SI_MESGQ.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SI_MESGQ (15) +/* +POSIX(199309) +*/ diff --git a/src/signal/SI_QUEUE.c b/src/signal/SI_QUEUE.c new file mode 100644 index 00000000..d5f7bea9 --- /dev/null +++ b/src/signal/SI_QUEUE.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SI_QUEUE (12) +/* +POSIX(199309) +*/ diff --git a/src/signal/SI_TIMER.c b/src/signal/SI_TIMER.c new file mode 100644 index 00000000..1cbc0529 --- /dev/null +++ b/src/signal/SI_TIMER.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SI_TIMER (13) +/* +POSIX(199309) +*/ diff --git a/src/signal/SI_USER.c b/src/signal/SI_USER.c new file mode 100644 index 00000000..2d39d96e --- /dev/null +++ b/src/signal/SI_USER.c @@ -0,0 +1,5 @@ +#include <signal.h> +#define SI_USER (11) +/* +POSIX(199309) +*/ diff --git a/src/signal/sigqueue.c b/src/signal/sigqueue.c new file mode 100644 index 00000000..6f4b6864 --- /dev/null +++ b/src/signal/sigqueue.c @@ -0,0 +1,10 @@ +#include <signal.h> + +int sigqueue(pid_t pid, int signo, const union sigval value) +{ + return 0; +} + +/* +POSIX(199309) +*/ diff --git a/src/signal/sigtimedwait.c b/src/signal/sigtimedwait.c new file mode 100644 index 00000000..74443089 --- /dev/null +++ b/src/signal/sigtimedwait.c @@ -0,0 +1,10 @@ +#include <signal.h> + +int sigtimedwait(const sigset_t * restrict set, siginfo_t * restrict info, const struct timespec * restrict timeout) +{ + return 0; +} + +/* +POSIX(199309) +*/ diff --git a/src/signal/sigwaitinfo.c b/src/signal/sigwaitinfo.c new file mode 100644 index 00000000..6af01e10 --- /dev/null +++ b/src/signal/sigwaitinfo.c @@ -0,0 +1,10 @@ +#include <signal.h> + +int sigwaitinfo(const sigset_t * restrict set, siginfo_t * restrict info) +{ + return 0; +} + +/* +POSIX(199309) +*/ diff --git a/src/signal/struct_sigevent.c b/src/signal/struct_sigevent.c new file mode 100644 index 00000000..ac0713f9 --- /dev/null +++ b/src/signal/struct_sigevent.c @@ -0,0 +1,13 @@ +#include <signal.h> + +struct sigevent { + int sigev_notify; + int sigev_signo; + union sigval sigev_value; + void (*sigev_notify_function)(union sigval); + pthread_attr_t *siegev_notify_attributes; +}; + +/* +POSIX(199309) +*/ diff --git a/src/signal/union_sigval.c b/src/signal/union_sigval.c new file mode 100644 index 00000000..c2f7ecb4 --- /dev/null +++ b/src/signal/union_sigval.c @@ -0,0 +1,10 @@ +#include <signal.h> + +union sigval { + int sival_int; + void *sival_ptr; +}; + +/* +POSIX(199309) +*/ |
