aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-recvmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-recvmsg.c')
-rw-r--r--test-recvmsg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-recvmsg.c b/test-recvmsg.c
new file mode 100644
index 00000000..d026c70f
--- /dev/null
+++ b/test-recvmsg.c
@@ -0,0 +1,8 @@
+#include <sys/socket.h>
+#include <stddef.h>
+
+int
+main(void)
+{
+ return recvmsg(-1, NULL, 0) != -1;
+}