projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add vhangup syscall wrapper
[musl]
/
src
/
linux
/
vhangup.c
diff --git a/src/linux/vhangup.c
b/src/linux/vhangup.c
new file mode 100644
(file)
index 0000000..
0203071
--- /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);
+}