summaryrefslogblamecommitdiff
path: root/src/unistd/pipe2.c
blob: 83282bb9c918976cc2203680ae75ad7da4e37c09 (plain) (tree)
1
2
3
4
5
6
7
8







                                           
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

int pipe2(int fd[2], int flg)
{
	return syscall(SYS_pipe2, fd, flg);
}