aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/pipe.c
blob: f9fe2420e57a5ca68c6c61a38f3e54f4ac7879e7 (plain)
1
2
3
4
5
6
7
8
9
10
#include <u.h>
#define NOPLAN9DEFINES
#include <libc.h>
#include <sys/socket.h>

int
p9pipe(int fd[2])
{
	return socketpair(AF_UNIX, SOCK_STREAM, 0, fd);
}