summaryrefslogtreecommitdiff
path: root/libc-test/src
diff options
context:
space:
mode:
authorMartin Kröning <mkroening@posteo.net>2021-07-28 23:05:29 +0200
committerMartin Kröning <mkroening@posteo.net>2021-07-29 23:03:25 +0200
commit8af1a48e9b2657b79da7c6dceb41205880a3eaca (patch)
tree04c413efe8873d02cd537d85b4e4397a3a6e56e8 /libc-test/src
parenta7794832a61a43c089df2e3d886c00f38c2d7d87 (diff)
downloadrust-libc-8af1a48e9b2657b79da7c6dceb41205880a3eaca.tar.gz
Add tests for SIGRTMAX and SIGRTMIN
Diffstat (limited to 'libc-test/src')
-rw-r--r--libc-test/src/sigrt.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc-test/src/sigrt.c b/libc-test/src/sigrt.c
new file mode 100644
index 0000000000..6140e7a8ba
--- /dev/null
+++ b/libc-test/src/sigrt.c
@@ -0,0 +1,9 @@
+#include <signal.h>
+
+int sigrtmax() {
+ return SIGRTMAX;
+}
+
+int sigrtmin() {
+ return SIGRTMIN;
+}