musl/src/linux/vhangup.c
Rich Felker 25c8444919 add vhangup syscall wrapper
request/patch by william haddonthethird, slightly modifed to add
_GNU_SOURCE feature test macro so that the compiler can verify the
prototype matches.
2012-06-19 15:32:13 -04:00

8 lines
114 B
C

#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
int vhangup(void)
{
return syscall(SYS_vhangup);
}