mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 22:31:58 +00:00
add pipe2 syscall
based on patch by orc and Isaac Dunham, with some details fixed.
This commit is contained in:
8
src/linux/pipe2.c
Normal file
8
src/linux/pipe2.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#define _GNU_SOURCE
|
||||
#include <unistd.h>
|
||||
#include "syscall.h"
|
||||
|
||||
int pipe2(int fd[2], int flg)
|
||||
{
|
||||
return syscall(SYS_pipe2, fd, flg);
|
||||
}
|
Reference in New Issue
Block a user