aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/pipe.h
blob: f95f3662169978d171577a693655a81c0956f849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef PIPE_H
#define PIPE_H

#include "syscalls.h"

#define PIPE_IN  1
#define PIPE_OUT 0

int pipe(int *filedes)
{
	return syscall(PIPE, filedes);
}

#endif