blob: df72e548bebdb18da27e1ef00c3ba285e25f5dac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <sys/types.h>
#include <unistd.h>
#include "_assert.h"
#include "_syscall.h"
int pipe(int fildes[2])
{
ASSERT_NONNULL(fildes);
SYSCALL(pipe, int, -1, fildes, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/
|