summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/linux/vhangup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/linux/vhangup.c b/src/linux/vhangup.c
new file mode 100644
index 00000000..02030715
--- /dev/null
+++ b/src/linux/vhangup.c
@@ -0,0 +1,8 @@
+#define _GNU_SOURCE
+#include <unistd.h>
+#include "syscall.h"
+
+int vhangup(void)
+{
+ return syscall(SYS_vhangup);
+}