Files
semi-libc/src/linux/pipe2.c
T
Rich Felker 42f0e965c4 add pipe2 syscall
based on patch by orc and Isaac Dunham, with some details fixed.
2012-07-23 16:32:49 -04:00

9 lines
133 B
C

#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
int pipe2(int fd[2], int flg)
{
return syscall(SYS_pipe2, fd, flg);
}