mirror of https://git.musl-libc.org/git/musl
Browse Source
request/patch by william haddonthethird, slightly modifed to add _GNU_SOURCE feature test macro so that the compiler can verify the prototype matches.rs-1.0
1 changed files with 8 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
#define _GNU_SOURCE |
||||
|
#include <unistd.h> |
||||
|
#include "syscall.h" |
||||
|
|
||||
|
int vhangup(void) |
||||
|
{ |
||||
|
return syscall(SYS_vhangup); |
||||
|
} |
||||
Loading…
Reference in new issue