pipe2.c 133 字节
Newer Older
R
Rich Felker 已提交
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);
}